#622: M1646140
This commit is contained in:
parent
07f2b0d73c
commit
6653696993
|
@ -912,6 +912,9 @@ nsHtml5TreeBuilder::elementPopped(int32_t aNamespace, nsIAtom* aName, nsIContent
|
||||||
}
|
}
|
||||||
if (aNamespace == kNameSpaceID_SVG) {
|
if (aNamespace == kNameSpaceID_SVG) {
|
||||||
if (aName == nsHtml5Atoms::svg) {
|
if (aName == nsHtml5Atoms::svg) {
|
||||||
|
if (!scriptingEnabled || mPreventScriptExecution) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (mBuilder) {
|
if (mBuilder) {
|
||||||
nsHtml5TreeOperation::SvgLoad(static_cast<nsIContent*>(aElement));
|
nsHtml5TreeOperation::SvgLoad(static_cast<nsIContent*>(aElement));
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue