зеркало из https://github.com/mozilla/pjs.git
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.
--HG-- extra : rebase_source : b23a9ecbbfe38dfb3878de447e61a23ab9594c9f
This commit is contained in:
Родитель
be4811c4da
Коммит
c708fb6ecf
|
@ -3132,7 +3132,7 @@ public abstract class TreeBuilder<T> implements TokenHandler,
|
|||
while (currentPtr >= eltPos) {
|
||||
pop();
|
||||
}
|
||||
return;
|
||||
break endtagloop;
|
||||
}
|
||||
if (stack[--eltPos].ns == "http://www.w3.org/1999/xhtml") {
|
||||
break;
|
||||
|
|
|
@ -2031,7 +2031,7 @@ nsHtml5TreeBuilder::endTag(nsHtml5ElementName* elementName)
|
|||
while (currentPtr >= eltPos) {
|
||||
pop();
|
||||
}
|
||||
return;
|
||||
NS_HTML5_BREAK(endtagloop);
|
||||
}
|
||||
if (stack[--eltPos]->ns == kNameSpaceID_XHTML) {
|
||||
break;
|
||||
|
|
Загрузка…
Ссылка в новой задаче