fix(ci): check decoded reference paths and restore formatting (#1648)
* style(browser): format cached SVG ancestry check * fix(tests): assert decoded reference-source error paths
This commit is contained in:
1 parent
0f605bca09
commit
54e2890b30
2 files changed
+18
-8
No files matched your search
@@ -412,8 +412,7 @@ const elementInSvgContext = (
|
||||
}
|
||||
const parent = Math.trunc(parents[current] ?? -1);
|
||||
if (parent < 0 || parent === current) break;
|
||||
if (indexedString(strings, nodeNames[parent]) === "foreignObject")
|
||||
break;
|
||||
if (indexedString(strings, nodeNames[parent]) === "foreignObject") break;
|
||||
current = parent;
|
||||
}
|
||||
// Cache the entire examined chain, including forward references and cycles,
|
||||
|
||||
Reference in new issue
Block a user