Skip to content

Commit 09ae4d1

Browse files
committed
Mozilla bug 1540757 - Mark SVG scripts as malformed when popped by HTML breakout from foreign content. r=alchen
1 parent 53c7bbf commit 09ae4d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nu/validator/htmlparser/impl/TreeBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1728,7 +1728,7 @@ public final void startTag(ElementName elementName,
17281728
errHtmlStartTagInForeignContext(name);
17291729
if (!fragment) {
17301730
while (!isSpecialParentInForeign(stack[currentPtr])) {
1731-
pop();
1731+
popForeign(-1, -1);
17321732
}
17331733
continue starttagloop;
17341734
} // else fall thru

0 commit comments

Comments
 (0)