fix(anatomy): V1-2.2 glued url( removed everywhere, Figma exports, mask units

The reader removes any attribute holding a url( that url_openings does not read, so reader, verdict, preview, canvas and PDF view accept the same drawings. maskUnits, maskContentUnits, clipPathUnits allowed with their two keywords (owner go). The owner's two raw Figma exports committed as fixtures with fixed expectations.
This commit is contained in:
bchanot committed 2026-10-30 15:05:56 +01:00
1 parent 98060d74a3
commit 7d9ab8cf2f
11 files changed
+299 -13

No files matched your search

+3 -1
View File
@@ -83,7 +83,9 @@ keep a reference outside its scope. A drawing whose reference names an id it
does not define is refused by the reader (`dangling_reference`); a `url(` spelt
any other way than `url(#id)` with optional quotes and spaces is removed by the
reader, so the cleaning refuses the file as active content and the verdict as a
removal. The annotation
removal. A `url(` glued to a longer name (`xurl(#a)`) is no reference: the reader
removes the attribute holding it, whatever the attribute (2026-10-30), so every
drawing the reader keeps composes into the canvas and the PDF view alike. The annotation
layer carries no `id`. The PDF view keeps the drawing's ids: it is rasterised
as a document of its own. The R3 canvas goldens stay frozen; the tests apply
this declared change to them (`withIdsScopedPerView`,