Bug 531259 - The SVG script element should respect the aFromParser flag on NS_NewElement. r=hsivonen, r+sr=jst

This commit is contained in:
Robert Longson
2010-01-15 11:44:12 +00:00
parent a35f7de3c4
commit c045babc54
8 changed files with 46 additions and 58 deletions

View File

@@ -373,9 +373,6 @@ nsHtml5TreeOperation::Perform(nsHtml5TreeOpExecutor* aBuilder,
ssle->InitStyleLinkElement(PR_FALSE);
ssle->SetEnableUpdates(PR_FALSE);
}
} else if (NS_UNLIKELY(name == nsHtml5Atoms::script && ns == kNameSpaceID_SVG)) {
nsCOMPtr<nsIScriptElement> sele = do_QueryInterface(newContent);
sele->WillCallDoneAddingChildren();
}
if (!attributes) {