mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-12 20:34:22 +00:00
The element a <use> shows inherits from the <use> rather than from where it is defined (SVG 2, https://www.w3.org/TR/SVG2/struct.html#UseElement). A text shown by a <use> now takes the font, size, weight, fill, stroke and other text properties the <use> or its parents set, in clip paths too, while the text's own properties still win. Uses with the same parent and properties share one text. A <use> inside the text it shows is ignored for inheritance, and texts built for <use> elements stop at 1 MiB of text with a warning.