feat(anatomy): Rust SVG reader: tree, allowlist sanitiser, reference graph, serialiser (O4/O5 green)

This commit is contained in:
bchanot committed 2026-10-14 23:46:10 +02:00
1 parent a7b3d7a4c1
commit 85c2183791
12 files changed
+10851 -6

No files matched your search

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg"><g id="1abc"/><g id="ok_1.a:b-c"/><g id="root"/><g id="a b"/></svg>

After

Width:  |  Height:  |  Size: 107 B

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" class="fixed inset-0 z-50" style="position:fixed;width:100vw"><g class="kept" style="opacity:0.5"><path d="M0 0h1"/></g></svg>

After

Width:  |  Height:  |  Size: 166 B

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://evil.test/ns"><linearGradient id="a"/><linearGradient id="b" xlink:href="#a"/></svg>

After

Width:  |  Height:  |  Size: 144 B