[FIX] blockdom: do not propagate svg namespace to siblings

This commit is contained in:
Lucas Perais (lpe)
2021-12-03 12:46:31 +01:00
committed by Aaron Bohy
parent 463eb4bb86
commit 5dddf8f9a3
2 changed files with 17 additions and 1 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ function buildTree(
switch (node.nodeType) {
case Node.ELEMENT_NODE: {
// HTMLElement
let currentNS = parent && parent.currentNS;
let currentNS = domParentTree && domParentTree.currentNS;
const tagName = (node as Element).tagName;
let el: Node | undefined = undefined;
const info: DynamicInfo[] = [];