vectorcraft/crates/svg/tests
Gert Pellin 5f8c4e9ab5 SVG import: style sheet rules with :not() selectors apply (#1557)
usvg's style sheets (simplecss) drop rules whose selector has a :not(), so
rect:not(.keep) { fill: green } left the rect as it was. The text pass's own
cascade now reads :not() of a list of compound selectors (counted as its most
specific argument), and the import pre-pass writes what such rules set on an
element into its style attribute, with the value that wins the cascade there,
so usvg reads what CSS would: against other rules, the style attribute and
!important, inherited from groups, display: none and CSS transforms included.
Selector lists are split at top-level commas only.
2026-10-14 05:15:59 +07:00
..
blend_export.rs SVG export: knockout groups of opaque art draw in order, without masks 2026-10-12 23:06:34 +07:00
container_export.rs M14.4: tests main gained follow the no-panic lint rules 2026-10-05 06:40:34 +07:00
css_rules.rs #1244: smaller objects: Node 352 -> 152 bytes, NodeKind 200 -> 80, and a cheaper undo estimate 2026-10-12 11:02:32 +07:00
dash_align.rs M14.4: tests main gained follow the no-panic lint rules 2026-10-05 06:40:34 +07:00
data_attributes.rs #1244: smaller objects: Node 352 -> 152 bytes, NodeKind 200 -> 80, and a cheaper undo estimate 2026-10-12 11:02:32 +07:00
effects_export.rs M9: add live Revolve with artboard rotation and lighting controls 2026-10-10 23:44:46 +07:00
encoding_profile_fonts.rs #1244: smaller objects: Node 352 -> 152 bytes, NodeKind 200 -> 80, and a cheaper undo estimate 2026-10-12 11:02:32 +07:00
focal.rs M14.4: tests main gained follow the no-panic lint rules 2026-10-05 06:40:34 +07:00
font_weights.rs Fix #136: SVG export and CSS write each style's numeric font-weight 2026-10-05 23:36:29 +07:00
gradients.rs M4.28: SVG gradient export fidelity 2026-10-05 07:56:54 +07:00
ids.rs M4.29: object ids and names survive the SVG round trip 2026-10-05 07:57:44 +07:00
import_details.rs SVG import: style sheet rules with :not() selectors apply (#1557) 2026-10-14 05:15:59 +07:00
import_live.rs Symbols: instances of imported symbols are measured by their art 2026-10-14 04:56:30 +07:00
import_text.rs SVG import: flowed text with a region too large to place is left out with a warning 2026-10-13 10:52:37 +07:00
import_units.rs Fix #396: SVG type opens at the size it draws at 2026-10-08 07:18:34 +07:00
mask_options.rs #1244: smaller objects: Node 352 -> 152 bytes, NodeKind 200 -> 80, and a cheaper undo estimate 2026-10-12 11:02:32 +07:00
non_scaling_stroke.rs Fix #396: SVG type opens at the size it draws at 2026-10-08 07:18:34 +07:00
options.rs Replace linear scan in CSS class dedup with a HashMap lookup 2026-10-13 08:53:06 +07:00
prop_svg.rs M4.26: SVG Options in the engine, a dialog and MCP 2026-10-05 07:55:59 +07:00
raster_paints.rs M4.98: freeform gradients export to SVG as images clipped to their shapes 2026-10-05 13:25:16 +07:00
roundtrip.rs #1244: smaller objects: Node 352 -> 152 bytes, NodeKind 200 -> 80, and a cheaper undo estimate 2026-10-12 11:02:32 +07:00
stroke_export.rs M14.4: tests main gained follow the no-panic lint rules 2026-10-05 06:40:34 +07:00
symbols_layers.rs #1244: smaller objects: Node 352 -> 152 bytes, NodeKind 200 -> 80, and a cheaper undo estimate 2026-10-12 11:02:32 +07:00
text_layout.rs Type: Digits — Default, Arabic, Hindi and Farsi numeral systems 2026-10-11 22:18:01 +07:00
text_paint_order.rs Fix #139: SVG import paints paint-order="stroke" text strokes under the letters 2026-10-05 23:36:29 +07:00
text_stroke.rs M7: inline symbols in text 2026-10-08 15:45:34 -07:00