Bug 590495 - Check for foreign elements in scope after processing a foreign end tag without forwarding to the secondary insertion mode. rs=jonas, a=blocking2.0-betaN.

This commit is contained in:
Henri Sivonen
2010-09-09 10:30:07 +03:00
parent 805ba079f4
commit ed69dcd710
2 changed files with 2 additions and 2 deletions

View File

@@ -2031,7 +2031,7 @@ nsHtml5TreeBuilder::endTag(nsHtml5ElementName* elementName)
while (currentPtr >= eltPos) {
pop();
}
return;
NS_HTML5_BREAK(endtagloop);
}
if (stack[--eltPos]->ns == kNameSpaceID_XHTML) {
break;