mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 536097 - Copy endTag flag when copying HTML5 tokenizer state. rs=sicking.
--HG-- extra : rebase_source : a7effe977998b9fe7dd32abed804a0e3a70df079
This commit is contained in:
parent
e28f1efdf7
commit
1398345c93
@ -3871,6 +3871,7 @@ nsHtml5Tokenizer::resetToDataState()
|
||||
prevValue = -1;
|
||||
value = 0;
|
||||
seenDigits = PR_FALSE;
|
||||
endTag = PR_FALSE;
|
||||
shouldSuspend = PR_FALSE;
|
||||
initDoctypeFields();
|
||||
if (!!tagName) {
|
||||
@ -3918,6 +3919,7 @@ nsHtml5Tokenizer::loadState(nsHtml5Tokenizer* other)
|
||||
prevValue = other->prevValue;
|
||||
value = other->value;
|
||||
seenDigits = other->seenDigits;
|
||||
endTag = other->endTag;
|
||||
shouldSuspend = PR_FALSE;
|
||||
nsHtml5Portability::releaseLocal(doctypeName);
|
||||
if (!other->doctypeName) {
|
||||
|
@ -1782,6 +1782,10 @@ nsHtml5TreeBuilder::startTag(nsHtml5ElementName* elementName, nsHtml5HtmlAttribu
|
||||
}
|
||||
}
|
||||
}
|
||||
case NS_HTML5TREE_BUILDER_TEXT: {
|
||||
|
||||
goto starttagloop_end;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user