Skip to content

Commit

Permalink
#622: M1646140
Browse files Browse the repository at this point in the history
  • Loading branch information
classilla committed Sep 18, 2020
1 parent 07f2b0d commit 6653696
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions parser/html/nsHtml5TreeBuilderCppSupplement.h
Original file line number Diff line number Diff line change
Expand Up @@ -912,6 +912,9 @@ nsHtml5TreeBuilder::elementPopped(int32_t aNamespace, nsIAtom* aName, nsIContent
}
if (aNamespace == kNameSpaceID_SVG) {
if (aName == nsHtml5Atoms::svg) {
if (!scriptingEnabled || mPreventScriptExecution) {
return;
}
if (mBuilder) {
nsHtml5TreeOperation::SvgLoad(static_cast<nsIContent*>(aElement));
return;
Expand Down

0 comments on commit 6653696

Please sign in to comment.