mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 06:35:42 +00:00
Revert implementation of HTML5 spec rev 2730 per IRC discussion with Hixie
This commit is contained in:
parent
167cf2e297
commit
e3e8dd01f6
@ -2448,8 +2448,6 @@ nsHtml5TreeBuilder::endTag(nsHtml5ElementName* elementName)
|
||||
}
|
||||
case NS_HTML5TREE_BUILDER_BEFORE_HEAD: {
|
||||
switch(group) {
|
||||
case NS_HTML5TREE_BUILDER_HTML:
|
||||
case NS_HTML5TREE_BUILDER_BODY:
|
||||
case NS_HTML5TREE_BUILDER_HEAD:
|
||||
case NS_HTML5TREE_BUILDER_BR: {
|
||||
appendToCurrentNodeAndPushHeadElement(nsHtml5HtmlAttributes::EMPTY_ATTRIBUTES);
|
||||
@ -2469,8 +2467,6 @@ nsHtml5TreeBuilder::endTag(nsHtml5ElementName* elementName)
|
||||
mode = NS_HTML5TREE_BUILDER_AFTER_HEAD;
|
||||
goto endtagloop_end;
|
||||
}
|
||||
case NS_HTML5TREE_BUILDER_BODY:
|
||||
case NS_HTML5TREE_BUILDER_HTML:
|
||||
case NS_HTML5TREE_BUILDER_BR: {
|
||||
pop();
|
||||
mode = NS_HTML5TREE_BUILDER_AFTER_HEAD;
|
||||
@ -2503,8 +2499,6 @@ nsHtml5TreeBuilder::endTag(nsHtml5ElementName* elementName)
|
||||
}
|
||||
case NS_HTML5TREE_BUILDER_AFTER_HEAD: {
|
||||
switch(group) {
|
||||
case NS_HTML5TREE_BUILDER_HTML:
|
||||
case NS_HTML5TREE_BUILDER_BODY:
|
||||
case NS_HTML5TREE_BUILDER_BR: {
|
||||
appendToCurrentNodeAndPushBodyElement();
|
||||
mode = NS_HTML5TREE_BUILDER_FRAMESET_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user