Bug 635085 - Reconstruct any active formatting elements after auto closing a <nobr> in a nested <nobr> situation, per HTML spec. r=hsivonen approval2.0=shaver
This commit is contained in:
@@ -1038,6 +1038,7 @@ nsHtml5TreeBuilder::startTag(nsHtml5ElementName* elementName, nsHtml5HtmlAttribu
|
||||
if (NS_HTML5TREE_BUILDER_NOT_FOUND_ON_STACK != findLastInScope(nsHtml5Atoms::nobr)) {
|
||||
|
||||
adoptionAgencyEndTag(nsHtml5Atoms::nobr);
|
||||
reconstructTheActiveFormattingElements();
|
||||
}
|
||||
appendToCurrentNodeAndPushFormattingElementMayFoster(elementName, attributes);
|
||||
attributes = nsnull;
|
||||
|
||||
Reference in New Issue
Block a user