fix(anatomy): V1-2.2 owner arbitrations on SVG references and bytes
Refuse local references to ids a drawing does not define, scope canvas ids per view, upload every drawing in one stored form checked by the verdict and the preview, keep strict numeric rgb() colours, and commit real Inkscape 1.4.3 exports with their generator.
This commit is contained in:
1 parent
17d919971e
commit
e823655f09
31 files changed
+1362
-110
No files matched your search
@@ -73,6 +73,18 @@ engine keeps whatever the asset has. A detail view with its own
|
||||
chain. The root's `width` and `height` are removed; its other attributes are
|
||||
kept (after sanitising).
|
||||
|
||||
The editor canvas is inlined in the page, where `#id` resolves against the
|
||||
whole document. Since V1-2.2 (owner decision 2026-10-29) the core writes
|
||||
`fv.<view id>.` in front of every `id` of the drawing and of every local
|
||||
reference to it (`href`, `xlink:href`, `url(#…)`), so each view resolves its
|
||||
gradients, clip paths and `<use>` targets in its own drawing only, never in
|
||||
another view's or in the page; a drawing whose reference names an id it does
|
||||
not define is refused by the reader (`dangling_reference`). 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`,
|
||||
`with_ids_scoped_per_view`).
|
||||
|
||||
## Styling and states
|
||||
|
||||
The application stylesheet: `.svg-canvas [data-state='current']` fills the
|
||||
|
||||
Reference in new issue
Block a user