Donner SVG main
0.8.0 · 766e862a0.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
SVG 2 test coverage audit: resvg-test-suite versus the SVG 2 CR

Part of the W3C specification audit. Findings come from reading Donner source at revision 9a134c3eb and the specification versions listed below. No code was built or executed for this ledger, so every behavioral claim is a code-reading result until a test confirms it.

Scope: which SVG 2 features (CR Snapshot 2026-10-06) the vendored upstream resvg corpus does not exercise, which resvg cases Donner skips or relaxes, what Donner's extension corpus and unit/renderer tests already cover, and which new Donner SVG suite cases are needed. This is a test-coverage audit, not an implementation audit; implementation remarks are limited to what was needed to classify a row and are marked "unverified" unless the consuming code was read.

Checkout revision: 9a134c3eb (main). All paths are checkout-relative. The resvg corpus is third_party/resvg-test-suite/tests/ (1,679 SVG files in 7 chapter directories and 107 feature directories). The Donner extension corpus is donner/svg/renderer/tests/donner_svg2_corpus/tests/ (22 SVG/PNG pairs: geometry 11, painting 4, shapes 5, structure 1, plus READMEs). Donner native animation/interaction scenarios live in donner/editor/tests/svg_suite_animation/ (driven by donner/editor/tests/SvgSuiteAnimation_tests.cc).

CR base URL used below: https://www.w3.org/TR/2026/CR-SVG2-20261006/ (abbreviated CR/ in the matrix; every CR/x.html#y expands to that base plus x.html#y).

Specs read

Spec Level Maturity Dated URL read Version cited by SVG2 CR refs
SVG 2, Appendix K "Changes from SVG 1.1" 2 CR Snapshot https://www.w3.org/TR/2026/CR-SVG2-20261006/changes.html (all K.2.x sections, read section by section) n/a (baseline)
SVG 2 property index 2 CR Snapshot https://www.w3.org/TR/2026/CR-SVG2-20261006/propidx.html n/a
SVG 2 element index 2 CR Snapshot https://www.w3.org/TR/2026/CR-SVG2-20261006/eltindex.html n/a
SVG 2 attribute index 2 CR Snapshot https://www.w3.org/TR/2026/CR-SVG2-20261006/attindex.html (first ~200k of ~211k characters; tail after xml:space not read) n/a
SVG 2 chapters used to verify inventory rows 2 CR Snapshot struct.html (first 100k chars), styling.html, geometry.html, coords.html (first 100k chars), paths.html, text.html (first 200k chars), embedded.html, painting.html (first 100k chars), pservers.html, render.html, interact.html, linking.html, animate.html n/a

Dependent specifications (Filter Effects 1, CSS Masking 1, Compositing and Blending 1, CSS Transforms 1, CSS Text 3/4, CSS Writing Modes 3, CSS Fonts 3, CSS Text Decoration 3, CSS Inline 3, CSS Color 3) were NOT fetched for this audit: this file only records whether a feature that the SVG 2 CR requires or references has a test, and the requirement rows cite the SVG 2 CR anchor that imports the feature (styling.html#RequiredProperties, render.html). Their versions are recorded in the other ledgers in this directory.

Summary

  • The resvg corpus contains zero animation, interaction, linking-navigation or focus cases (no <animate>, <set>, <animateMotion>, <animateTransform>, pointer-events, tabindex, :target, <view> or svgView anywhere). Everything in those areas depends on Donner's own native scenarios, which today cover timing, interpolation, motion, contextual use, hover and click.
  • The largest static SVG 2 gaps with no resvg case at all: vector-effect, pathLength on any element and the new path-length property, inline-size wrapping, white-space and text-overflow, d and cx/cy/r/width/height as CSS properties, transform-box, symbol x/y/width/height/refX/refY, marker refX/refY keywords, lang without namespace, foreignObject, image object-fit/object-position, SVG view fragments and media fragments on image references, and clip-path inset()/ellipse()/polygon()/path().
  • Several of those gaps have Donner unit or renderer-golden coverage but no portable suite case: vector-effect (RendererRegression_tests.cc golden), pathLength (RendererGeodeGolden_tests.cc stroking_pathlength), inline-size (text_inline_size_wrap golden), white-space (TextSystem_tests.cc), basic-shape clip paths (InsetClipPath_tests.cc, PolygonClipPath_tests.cc, PathClipPath_tests.cc), fr (radial-fr-1/2 goldens). Promoting these to SVG/PNG pairs with independently reasoned references is the cheapest coverage win.
  • Where resvg does cover an SVG 2 feature, Donner usually runs it, but some SVG 2 rows rest on render-only cases: radialGradient fr=0.5/fr=-1 (render-only UB) and text/glyph-orientation-vertical/simple-case (render-only UB). Others compare only against Donner goldens rather than the vendored PNG: clip-path circle() with stroke-box/view-box and structure/use/xlink-to-an-external-file (harness background mismatch), the filter-function row one-invalid-url-in-list, and text/font-size-adjust. with-invalid-path-and-xlink-href compares against upstream resvg's v0.49.0 rendering.
  • Reference conflicts with the CR: painting/stroke-linejoin/miter-clip.svg encodes the miter-clip join that the CR removed (Issue 1065, March 2026) and Donner currently passes it by implementing miter-clip; the two non-presentational-attribute.svg cases encode SVG 1.1 (geometry in style ignored); rgb-int-int-int.svg uses the resvg UB marker for valid CSS Color 4 syntax (RC1 to RC3, RC6). fr=0.7 (RC4) agrees with the canvas two-point rule that fr adopts and compares at default settings.
  • The Donner extension corpus is still a seed (22 pairs) concentrated on geometry auto/CSS lengths and a few painting defaults; its READMEs and SVG <desc> links cite the svgwg.org Editor's Draft, not the CR anchors. New cases should cite CR anchors.
  • resvg categories that test SVG 1.1 features the CR removed (tref, kerning, glyph-orientation-horizontal, enable-background/BackgroundImage, clip property, icc-color, dominant-baseline: reset-size/use-script, requiredFeatures) are correctly render-only or ignored in Donner and need no new cases.

Counts (148 matrix rows): covered 60 (of which 6 are covered only by the Donner extension corpus or Donner native scenarios), resvg-only-skipped 3, needs-new-suite-case 71 (several of which have Donner unit or renderer-golden coverage but no portable SVG/PNG pair; see column 6), removed-from-CR 14.

SVG2 feature coverage matrix

Column notes. "resvg coverage": count of resvg SVG files that use the feature in a way that asserts the SVG 2 behavior, with up to three example paths relative to third_party/resvg-test-suite/tests/. "Donner run status": from the registrations in donner/svg/renderer/tests/resvg_test_suite.cc (not from a test run): default = compared at default budget; thresholded = relaxed threshold or pixel budget; golden-override = Donner-specific reference; resvg-ref = vendored reference that is an upstream resvg rendering (provenance in third_party/resvg-test-suite/BUILD.bazel); skipped = Params::Skip; render-only = UndefinedBehavior or DeprecatedInSVG2 (renders, no comparison). Donner coverage paths are relative to the checkout.

Document structure, styling, geometry, coordinates

ID SVG2 feature CR anchor URL resvg coverage Donner run status Donner extension or unit coverage Verdict
TC1 href without XLink namespace on referencing elements (use, image, gradients, pattern, textPath, feImage, mpath) CR/linking.html#XLinkRefAttrs 1: structure/use/href-without-the-xlink-namespace.svg (only use); textPath path cases also use xlink:href default extension structure/image/nested-data-raster.svg uses href on image; animation parser tests (donner/svg/parser/tests/AnimateElement_tests.cc) needs-new-suite-case (image, gradient, pattern, textPath, feImage)
TC2 href wins over xlink:href when both are present CR/linking.html#XLinkRefAttrs none n-a animation-element parser tests only (AnimateElement_tests.cc, SetElement_tests.cc) needs-new-suite-case
TC3 use may reference a whole external document (no fragment) CR/struct.html#UseElement 1: structure/use/xlink-to-an-external-file.svg (form of reference not verified) Donner golden (harness mismatch: opaque reference, heavier glyph ink) donner/svg/renderer/tests/Renderer_tests.cc goldens use-external-svg.svg, use-external-svg-fragment.svg covered
TC4 use x/y/width/height as geometry; width/height override only on referenced svg/symbol CR/struct.html#UseLayout 3+: structure/use/xlink-to-svg-element-with-width-height-on-use.svg, structure/use/xlink-to-svg-element-with-x-y-on-use.svg, structure/symbol/with-custom-use-size.svg default none needed covered
TC5 CSS width/height declarations ignored on use and symbol; negative use width/height invalid; zero disables rendering only for svg/symbol CR/geometry.html#Sizing ; CR/struct.html#UseLayout none (no use with zero or negative size, no CSS sizing on use) n-a none found needs-new-suite-case
TC6 use shadow-tree style scoping and inheritance from host CR/struct.html#UseStyleInheritance 5+: structure/use/cSS-rules.svg, structure/use/style-inheritance-1.svg, structure/use/complex-style-resolving-order.svg default svg2-e-use-001..005 goldens in Renderer_tests.cc (context paint) covered
TC7 visibility: hidden on use does not hide shadow children with visibility: visible; use not directly affected by visibility CR/struct.html#UseStyleInheritance ; CR/render.html#VisibilityControl none (painting/visibility/hidden-on-group.svg covers g only) n-a none found needs-new-suite-case
TC8 Circular references block only the use forming the cycle CR/struct.html#UseElement 6+: structure/use/self-recursive.svg, structure/use/indirect-recursive-1.svg, structure/use/nested-recursive-1.svg default none needed covered
TC9 x, y, width, height on symbol CR/struct.html#SymbolElement none n-a unit: donner/svg/tests/SVGSymbolElement_tests.cc, donner/svg/components/layout/tests/LayoutSystem_tests.cc needs-new-suite-case
TC10 symbol refX/refY (lengths and keywords; unspecified differs from 0) CR/struct.html#SymbolElement none n-a parse only: SVGSymbolElement_tests.cc:40,92; consumer donner/svg/components/layout/LayoutSystem.cc:439 (no render test found; default reported as 0, see TC10 note in Tests to create) needs-new-suite-case
TC11 symbol width/height auto treated as 100% when use does not override CR/struct.html#SymbolElement none n-a none found needs-new-suite-case
TC12 Outermost svg width/height are presentation attributes with initial auto (=100%) CR/geometry.html#Sizing ; CR/struct.htmlSVGElement none (structure/svg/no-size.svg is the closest) Donner golden (no-size.svg, API policy) none needs-new-suite-case (low; canvas policy)
TC13 transform attribute allowed on svg CR/struct.htmlSVGElement ; CR/styling.html#PresentationAttributes none n-a none found needs-new-suite-case
TC14 lang attribute (no namespace) and xml:lang precedence; :lang() CR/struct.html#LangAttribute 1 (xml:lang only): text/text/xml-lang=ja.svg resvg-ref (300x300; all lines in one face) none: no lang/xml:lang consumer found in donner/svg or donner/base sources (grep, unverified) needs-new-suite-case
TC15 systemLanguage matching case-insensitive (BCP 47) CR/struct.html#ConditionalProcessingSystemLanguageAttribute 2: structure/switch/systemLanguage=ru-Ru.svg, structure/systemLanguage/ru-Ru.svg default unit: donner/svg/components/tests/ConditionalProcessingComponent_tests.cc covered
TC16 switch child reordering per SMIL allowReorder CR/struct.html#SwitchElement none n-a unit: donner/svg/tests/SVGSwitchElement_tests.cc mentions allowReorder needs-new-suite-case (low)
TC17 Custom data-* attributes allowed on all SVG elements (no rendering effect) CR/struct.html#DataAttributes none n-a XML parser tests only needs-new-suite-case (low; render-identity)
TC18 tabindex, autofocus, ARIA and role attributes CR/struct.html#tabindexattribute none n-a none needs-new-suite-case (native scenario for focus order)
TC19 id value rules harmonized with HTML CR/struct.html#IDAttribute 2: structure/svg/invalid-id-attribute-1.svg, -2.svg render-only (UB) none resvg-only-skipped
TC20 Never-rendered elements get UA display:none !important (defs, symbol unless instanced, style, title) CR/styling.html#UAStyleSheet ; CR/render.html#Definitions 3: painting/display/none-on-defs.svg, structure/defs/*, structure/symbol/unused-symbol.svg (none forces author !important display:inline) default none needs-new-suite-case (author display:inline !important on defs child stays hidden)
TC21 version/baseProfile removed; geometry in style honored CR/changes.html#structure 2: structure/style-attribute/non-presentational-attribute.svg, structure/style/non-presentational-attribute.svg (SVG 1.1 reference, see RC2) render-only (DeprecatedInSVG2) extension geometry/x/css-overrides-presentation.svg needs-new-suite-case (height/width in style)
TC22 Geometry properties cx, cy, r, rx, ry, x, y, width, height set from CSS CR/geometry.html#CX ; CR/geometry.html#Sizing 0 asserting SVG 2 (only TC21 cases) n-a extension geometry/x/css-overrides-presentation.svg, geometry/automatic-radii/rect-css-auto.svg, geometry/css-length-values/*; unit SVGCircleElement_tests.cc:126, CircleEllipseComponent_tests.cc:33 needs-new-suite-case (cx/cy/r/width/height pairs)
TC23 d as a CSS property on path (d: path("...") / string form) CR/paths.html#TheDProperty none n-a unit donner/svg/tests/SVGPathElement_tests.cc:60-81 (parse) needs-new-suite-case
TC24 transform as CSS property with CSS syntax (units, no commas) CR/styling.html#RequiredProperties 2: structure/style/transform.svg, structure/style-attribute/transform.svg default unit donner/svg/parser/tests/CssTransformParser_tests.cc covered (unit-syntax variants are a small add)
TC25 transform-origin (UA default 0 0, keywords, lengths, on gradients/patterns/clipPath) CR/styling.html#UAStyleSheet 23: structure/transform-origin/center.svg, structure/transform-origin/on-gradient-object-bounding-box.svg, structure/transform-origin/length-px.svg default; on-text and on-text-path use v0.49.0 references Renderer_tests.cc:531 covered
TC26 transform-box CR/styling.html#RequiredProperties none n-a none (only Transform::transformBox math in donner/base/tests/Transform_tests.cc, unrelated) needs-new-suite-case
TC27 gradientTransform/patternTransform map to the transform property (CSS transform on gradient/pattern) CR/styling.html#PresentationAttributes none (transform-origin on gradients only) n-a none found needs-new-suite-case
TC28 rx/ry explicit auto keyword; implicit auto from missing attribute CR/geometry.html#RX 5 implicit: shapes/ellipse/missing-rx-attribute.svg, shapes/ellipse/missing-ry-attribute.svg, shapes/ellipse/percent-values-missing-ry.svg; explicit auto: none default extension geometry/automatic-radii/ (7 pairs) covered (by extension)
TC29 Negative r/rx/ry/width/height invalid CR/geometry.html#geometry-negative-values 2+: shapes/ellipse/negative-rx-attribute.svg, shapes/ellipse/negative-ry-attribute.svg default extension shapes/circle/negative-r-ignored.svg, shapes/rect/negative-width-ignored.svg covered
TC30 width/height auto compute to 0 on rect/foreignObject CR/geometry.html#Sizing none n-a none needs-new-suite-case
TC31 CSS Values length units (vw, vh, vmin, vmax, rem, ch, ic, lh, rlh, cap, Q, vi/vb) CR/types.html (via CSS Values) 10: shapes/rect/vw-and-vh-values.svg, shapes/rect/rem-values.svg, shapes/rect/ch-values.svg default extension geometry/css-length-values/ (3 pairs) covered
TC32 vector-effect: non-scaling-stroke CR/coords.html#VectorEffects ; CR/painting.html#PaintingVectorEffects none n-a RendererRegression_tests.cc:2660 golden vector_effect_non_scaling_stroke; RendererDriver_tests.cc:994,1081; CircleClipPath_tests.cc:482 needs-new-suite-case (high)
TC33 vector-effect non-scaling-size, non-rotation, fixed-position (at risk) CR/coords.html#VectorEffects none n-a enum only in donner/svg/core/VectorEffect.h:45-47; no render test found needs-new-suite-case (low; at risk)
TC34 preserveAspectRatio defer removed CR/coords.html#PreserveAspectRatioAttribute none n-a none removed-from-CR (optional negative case)
TC35 Bounding box: element with no position at (0,0); text bbox from glyph cells; visibility hidden still contributes CR/coords.html#BoundingBoxes partial: painting/visibility/bbox-impact-1.svg, painting/stroke/radial-gradient-on-text.svg, painting/context/on-shape-with-zero-size-bbox.svg default; radial-gradient-on-text against a Firefox golden; bbox-impact-3 resvg-ref none resvg-only-skipped (text bbox)
TC36 Nested svg viewports, viewBox percentages CR/coords.html#EstablishingANewSVGViewport 15+: structure/svg/nested-svg-with-rect-and-viewBox-1.svg, structure/svg/nested-svg-with-viewBox-and-percent-values.svg, structure/svg/deeply-nested-svg.svg default (pAR cases thresholded) Renderer_tests.cc nested-svg-aspectratio covered
TC37 UA overflow:hidden list (nested svg, image, marker, pattern, symbol); overflow:auto shows content CR/styling.html#UAStyleSheet ; CR/render.html#OverflowAndClipProperties 8: structure/svg/nested-svg-with-overflow-auto.svg, structure/symbol/with-overflow-visible.svg, painting/overflow/auto-on-marker.svg default; paint-servers/pattern/overflow=visible.svg render-only (undefined in CR) none covered
TC38 @font-face required; WOFF fonts required CR/styling.html#RequiredCSSFeatures ; CR/changes.html#text none n-a unit donner/css/tests/FontFace_tests.cc, donner/base/fonts/tests/WoffParser_tests.cc, Woff2Parser_tests.cc needs-new-suite-case
TC39 @media rules; @import CR/styling.html#RequiredCSSFeatures 1 (@import only): structure/style/external-CSS.svg default donner/svg/renderer/tests/CssImport_tests.cc, StylesheetParser_tests.cc needs-new-suite-case (@media)
TC40 CSS 2.1 pseudo-classes in selectors (:first-child, :lang, etc.) CR/styling.html#RequiredCSSFeatures none (selector cases cover type, class, id, attribute, universal, combinators) n-a parser only donner/css/parser/tests/SelectorParser_tests.cc needs-new-suite-case
TC41 ::first-line and ::first-letter on text CR/styling.html#RequiredCSSFeatures none n-a parser only (SelectorParser_tests.cc) needs-new-suite-case
TC42 xml:space mapped to white-space via UA rule CR/styling.html#UAStyleSheet ; CR/text.html#LegacyXMLSpace 8: text/text/xml-space.svg, text/tspan/mixed-xml-space-1.svg, text/tspan/mixed-xml-space-2.svg default TextSystem_tests.cc:1684 covered
TC43 Style sheet semantics: !important, style element type CR/styling.html#StyleElement 2: structure/style/important.svg, structure/style/invalid-type.svg default none needed covered

Paths and shapes

ID SVG2 feature CR anchor URL resvg coverage Donner run status Donner extension or unit coverage Verdict
TC44 pathLength scales dash and textPath offsets on path CR/paths.html#PathLengthAttribute none (no pathLength in any resvg SVG) n-a RendererGeodeGolden_tests.cc:581 (stroking_pathlength), RendererRegression_tests.cc:244,2976, RendererAnimationPresentation_tests.cc:774 needs-new-suite-case (high)
TC45 pathLength on all basic shapes CR/shapes.html (attindex: circle, ellipse, line, polygon, polyline, rect) none n-a none found needs-new-suite-case
TC46 pathLength="0" valid (infinite scale); percentages unaffected CR/paths.html#PathLengthAttribute none n-a none found needs-new-suite-case
TC47 path-length CSS property (none \| <length>), pathLength as its presentation attribute CR/paths.html#PathLengthProperty none n-a none in tests apart from a Path_tests.cc mention (implementation unverified) needs-new-suite-case
TC48 Path data error handling: render up to the first error CR/paths.html#PathDataErrorHandling 4+: shapes/path/invalid-data-in-L.svg, shapes/path/missing-coordinate-in-L.svg, shapes/polygon/stop-processing-on-invalid-data.svg default none needed covered
TC49 Out-of-range arc parameters and flags CR/paths.html#ArcOutOfRangeParameters 4: shapes/path/out-of-range-large-arc-flag-value.svg, shapes/path/negative-sweep-flag-value.svg, shapes/path/M-A-trimmed.svg default none needed covered
TC50 path/polygon/polyline with no valid data not rendered CR/changes.html#paths 5+: shapes/path/empty.svg, shapes/polygon/not-enough-points.svg, shapes/polyline/missing-points-attribute.svg default none needed covered
TC51 Segment-completing close path dropped; equivalent shape paths end with ordinary closepath CR/changes.html#paths indirect only (dash/marker cases on rect/circle) default none needs-new-suite-case (dash phase at rect start corner)
TC52 Zero-length subpaths (open and closed) render per stroke-linecap CR/paths.html#ZeroLengthSegments ; CR/painting.html#LineCaps 3: painting/stroke-linecap/zero-length-path-with-round.svg, -square.svg, -butt.svg (open M L form only) default none needs-new-suite-case (closed M x y Z form)
TC53 Markers on all shapes (rect, circle, ellipse, line, polygon, polyline) CR/painting.html#Markers 6: painting/marker/marker-on-rect.svg, painting/marker/marker-on-circle.svg, painting/marker/marker-on-rounded-rect.svg (ellipse: none) default Renderer_tests.cc marker goldens covered (ellipse is a small add)

Text

ID SVG2 feature CR anchor URL resvg coverage Donner run status Donner extension or unit coverage Verdict
TC54 inline-size auto-wrapping CR/text.html#InlineSize none n-a RendererRegression_tests.cc:1757 golden text_inline_size_wrap; TextEngine_tests.cc:4558 needs-new-suite-case (high)
TC55 white-space property (normal, pre, pre-line, nowrap, pre-wrap) CR/text.html#WhiteSpace ; CR/styling.html#RequiredProperties (css-text-4) none (xml:space only) n-a donner/svg/components/text/tests/TextSystem_tests.cc:1674-1708 (layout units) needs-new-suite-case
TC56 text-overflow with inline-size CR/text.html#TextOverflowProperty none n-a property registered only (donner/svg/properties/PropertyRegistry.cc:2494); no test found needs-new-suite-case
TC57 textPath path attribute and its precedence over href CR/text.html#TextPathElementPathAttribute 3: text/textPath/with-path.svg, text/textPath/with-path-and-xlink-href.svg, text/textPath/with-invalid-path-and-xlink-href.svg Donner golden for with-path and with-path-and-xlink-href SVGTextPathElement_tests.cc covered
TC58 textPath side="right" CR/text.html#TextPathElementSideAttribute 1: text/textPath/side=right.svg thresholded (0.05) SVGTextPathElement_tests.cc:171-193, TextSystem_tests.cc covered (thresholded)
TC59 textPath referencing basic shapes (start point and direction of circle, ellipse, rect, line, polygon) CR/text.html#TextPathElementHrefAttribute 1: text/textPath/link-to-rect.svg default (resvg v0.49.0 reference) TextSystem_tests.cc:633 (circle, layout unit) needs-new-suite-case (circle, ellipse, polygon, line)
TC60 Single closed subpath: one loop only, text-anchor=middle runs both ways, overflowing glyphs hidden CR/text.html#TextpathLayoutRules 1: text/textPath/closed-path.svg golden, default settings PlacedTextGeometry_tests.cc closed mapping needs-new-suite-case (middle anchor at seam; overflow cut-off)
TC61 startOffset negative or > 100% CR/text.html#TextPathElementStartOffsetAttribute 3: text/textPath/startOffset=-100.svg, text/textPath/startOffset=9999.svg, text/textPath/startOffset=10percent.svg v0.49.0 references (-100, 10percent); 9999 default none needed covered
TC62 textPath method="stretch" CR/text.html#TextPathElementMethodAttribute 1: text/textPath/method=stretch.svg (original snapshot reference identical to align) golden-override (Donner regression guard; original snapshot reference identical to align) unit geometry tests; straight-path invariant (RendererPublicApi_tests.cc) covered
TC63 textPath spacing="auto" CR/text.html#TextPathElementSpacingAttribute 1: text/textPath/spacing=auto.svg resvg v0.49.0 reference none covered
TC64 textLength/lengthAdjust on textPath CR/text.html#TextPathAttributes none (lengthAdjust and textLength directories test text/tspan) n-a parser AttributeParser_tests.cc needs-new-suite-case
TC65 Text after a textPath continues from the path end point CR/text.html#TextpathLayoutRules 2: text/textPath/mixed-children-1.svg, text/textPath/mixed-children-2.svg golden-override (1, 2) TextEngineScripted_tests.cc PostTextPathCursor* covered
TC66 writing-mode CSS values horizontal-tb, vertical-rl, vertical-lr CR/text.html#WritingModeProperty 3: text/writing-mode/horizontal-tb.svg, text/writing-mode/vertical-rl.svg, text/writing-mode/vertical-lr.svg (plus 20 legacy tb/lr cases) default VerticalTextGeode_tests.cc covered
TC67 text-orientation CR/styling.html#RequiredProperties (css-writing-modes-3) none n-a donner/svg/renderer/tests/svg_document_raster_corpus/vertical_text_orientation_aliases.svg, TextEngineScripted_tests.cc needs-new-suite-case
TC68 tref removed CR/changes.html#text 12: text/tref/*, painting/display/none-on-tref.svg render-only (DeprecatedInSVG2) none needed removed-from-CR
TC69 kerning property removed (use font-kerning) CR/changes.html#text 2: text/kerning/0.svg, text/kerning/10percent.svg render-only none needed removed-from-CR
TC70 glyph-orientation-horizontal removed; glyph-orientation-vertical obsolete CR/text.html#GlyphOrientationVerticalProperty 2: text/glyph-orientation-horizontal/simple-case.svg (render-only), text/glyph-orientation-vertical/simple-case.svg (render-only, undefined behavior) render-only / render-only (UB) none removed-from-CR (horizontal); vertical alias covered by RendererRegressionTests.GlyphOrientationVerticalZeroDrawsUprightGlyphs, resvg row render-only (UB)
TC71 text-decoration CSS 3 longhands (-line, -style, -color) CR/styling.html#RequiredProperties (css-text-decor-3) none (21 text-decoration cases use the shorthand line keywords) n-a donner/svg/renderer/tests/TextDecorationStyle_tests.cc needs-new-suite-case
TC72 Decoration painted with fill/stroke of the element that declared it CR/text.html#TextDecorationProperties 3: text/text-decoration/indirect.svg, text/text-decoration/indirect-with-multiple-colors.svg, text/text-decoration/tspan-decoration.svg resvg-ref (indirect, multiple-colors); thresholded (tspan) none covered
TC73 font-kerning CR/styling.html#RequiredProperties (css-fonts-3) 3: text/font-kerning/as-property.svg, text/font-kerning/none.svg, text/font-kerning/arabic-script.svg default (arabic text-full only) none needed covered
TC74 font-feature-settings, font-variant-* subproperties CR/styling.html#RequiredProperties (css-fonts-3) none (font-variant tests use small-caps shorthand) n-a none found needs-new-suite-case
TC75 text-align, text-align-last, text-indent (with inline-size) CR/styling.html#RequiredProperties (css-text-3) none n-a donner/svg/renderer/tests/TextIndent_tests.cc needs-new-suite-case
TC76 vertical-align shorthand CR/styling.html#RequiredProperties (css-inline-3) none n-a none found needs-new-suite-case
TC77 dominant-baseline, alignment-baseline, baseline-shift CR/text.html#DominantBaselineProperty ; CR/text.html#BaselineShiftProperty 62: text/dominant-baseline/_, text/alignment-baseline/_, text/baseline-shift/* mostly default; 4 render-only UB, 2 DeprecatedInSVG2 values, 1 skipped (hanging-on-vertical) none covered
TC78 font-size-adjust CR/styling.html#RequiredProperties 1: text/font-size-adjust/simple-case.svg golden-override (Donner golden) none covered
TC79 direction, unicode-bidi CR/styling.html#RequiredProperties 3: text/direction/rtl.svg, text/direction/rtl-with-vertical-writing-mode.svg, text/unicode-bidi/bidi-override.svg rtl default; vertical UB; bidi-override default TextEngineScripted_tests.cc covered
TC80 letter-spacing, word-spacing CR/text.html#LetterSpacingProperty 19: text/letter-spacing/_, text/word-spacing/_ default (2 UB) none needed covered
TC81 Text x/y initial value (none); unknown elements inside text CR/changes.html#text none n-a none needs-new-suite-case (low; see spec-ambiguity in Unverified)

Embedded content

ID SVG2 feature CR anchor URL resvg coverage Donner run status Donner extension or unit coverage Verdict
TC82 image width/height auto from intrinsic size or aspect ratio CR/embedded.html#Placement 6: structure/image/width-and-height-set-to-auto.svg, structure/image/no-width-and-height.svg, structure/image/no-height-non-square.svg resvg-ref none needed covered
TC83 SVG image without intrinsic size or aspect ratio: 300x150 default, pAR ignored CR/embedded.html#Placement 3: structure/image/no-width-and-height-on-svg.svg, no-width-on-svg.svg, no-height-on-svg.svg render-only (UB) none resvg-only-skipped
TC84 Referenced SVG root preserveAspectRatio ignored; image pAR applies CR/embedded.html#ImageElement 8: structure/image/preserveAspectRatio=xMidYMid-meet-on-svg.svg, preserveAspectRatio=none-on-svg.svg, preserveAspectRatio=xMinYMin-slice-on-svg.svg default Renderer_tests.cc image-external-svg-par covered
TC85 Two-level overflow for SVG images (embedded root overflow no longer ignored) CR/embedded.html#ImageElement none n-a none found needs-new-suite-case
TC86 object-fit / object-position on image CR/embedded.html#Placement none n-a none found needs-new-suite-case
TC87 crossorigin on image (and feImage) CR/embedded.html#ImageElementCrossoriginAttribute none n-a none needs-new-suite-case (low; parse + no-effect render for data URLs)
TC88 Secure static mode: data URLs allowed in nested image documents; external refs not fetched CR/embedded.html#ImageElement ; CR/linking.html#processingURL-fetch 2 related: structure/image/recursive-1.svg, recursive-2.svg default extension structure/image/nested-data-raster.svg covered (by extension)
TC89 foreignObject placement, overflow, transforms; SVG children not rendered without an svg root CR/embedded.html#ForeignObjectElement none n-a parser only (SVGParser_tests.cc:725) needs-new-suite-case
TC90 HTML video/audio/iframe/canvas in SVG containers CR/embedded.html none n-a none needs-new-suite-case (optional; low)
TC91 image-rendering values CR/painting.html#ImageRendering 3: painting/image-rendering/optimizeSpeed.svg, painting/image-rendering/on-feImage.svg resvg-ref RendererGeodeGolden_tests.cc:489 (pixelated) covered

Painting, paint servers, rendering model, masking, filters

ID SVG2 feature CR anchor URL resvg coverage Donner run status Donner extension or unit coverage Verdict
TC92 paint-order CR/painting.html#PaintOrder 14: painting/paint-order/stroke.svg, painting/paint-order/markers-stroke.svg, painting/paint-order/on-text.svg default; on-tspan uses the 500px resvg v0.49.0 reference extension painting/paint-order/default-fill-then-stroke.svg covered
TC93 context-fill / context-stroke in markers and use CR/painting.html#SpecifyingPaint 17: painting/context/in-marker.svg, painting/context/in-use.svg, painting/context/without-context-element.svg default; 1 golden-override (pattern objectBoundingBox in use) svg2-e-use-001..005 goldens; RenderingContext_tests.cc:1135 covered
TC94 orient="auto-start-reverse" CR/painting.html#OrientAttribute 1: painting/marker/orient=auto-start-reverse.svg default donner/svg/renderer/testdata/marker.svg golden covered
TC95 orient angle with units and bare number CR/painting.html#OrientAttribute 6: painting/marker/orient=0.25turn.svg, orient=1.5rad.svg, orient=40grad.svg default none needed covered
TC96 Marker refX/refY keywords (left/center/right, top/center/bottom) CR/painting.html#MarkerElementRefXAttribute none n-a parse only donner/svg/tests/SVGMarkerElement_tests.cc needs-new-suite-case
TC97 stroke-linejoin values limited to miter, round, bevel (miter-clip, arcs removed) CR/painting.html#LineJoin 2: painting/stroke-linejoin/miter-clip.svg, painting/stroke-linejoin/arcs.svg (both encode the removed values, see RC1) miter-clip default (passes by implementing miter-clip); arcs render-only none removed-from-CR (reference conflict RC1)
TC98 stroke-miterlimit any non-negative number, including values below 1 CR/painting.html#LineJoin none below 1 (painting/stroke-miterlimit/invalid-value.svg tests negative) default none needs-new-suite-case
TC99 stroke-dasharray percentages (normalized diagonal), negatives invalid, all-zero solid CR/painting.html#StrokeDashing 5: painting/stroke-dasharray/percent-units.svg, negative-values.svg, zero-sum.svg default none needed covered
TC100 Negative stroke-dashoffset wraps into the pattern CR/painting.html#StrokeDashing 1: painting/stroke-dashoffset/negative-value.svg default none needed covered
TC101 color-interpolation (linearRGB) on gradients CR/painting.html#ColorInterpolation 0 for gradients (1 for mask: masking/mask/color-interpolation=linearRGB.svg) default (mask) registry/animation tests only needs-new-suite-case
TC102 color-rendering removed CR/changes.html#painting none n-a none removed-from-CR
TC103 will-change (replaces buffered-rendering; no rendering effect) CR/painting.html#WillChange none n-a none needs-new-suite-case (low; render identity)
TC104 child/child(<integer>) paint, multiple paints, z-index CR/changes.html#painting none n-a none removed-from-CR
TC105 mix-blend-mode (via Compositing and Blending) CR/render.html#EstablishingStackingContex ; CR/styling.html#RequiredProperties 20: painting/mix-blend-mode/multiply.svg, painting/mix-blend-mode/opacity-on-group.svg, painting/mix-blend-mode/as-property.svg default compositor tests (CompositorGolden_tests.cc) covered
TC106 isolation CR/styling.html#RequiredProperties (compositing-1) 2: painting/isolation/isolate.svg, painting/isolation/as-property.svg default none needed covered
TC107 Stacking-context triggers (nested svg with non-visible overflow, use as non-isolated group, markers/patterns isolated) CR/render.html#EstablishingStackingContex ; CR/render.html#ReusedGraphics indirect only (mix-blend-mode opacity cases) default none needs-new-suite-case (blend inside use vs inside marker)
TC108 CSS Color: hsl(), rgba(), #RGBA, transparent, percentages CR/types.html (CSS Color reference) 20+: painting/fill/hsl-with-alpha.svg, painting/fill/#RRGGBBAA.svg, painting/fill/transparent.svg default; rgb-int-int-int render-only (RC3) none needed covered
TC109 fr focal radius on radialGradient CR/pservers.html#RadialGradientElementFRAttribute 4: paint-servers/radialGradient/fr=0.2.svg, fr=0.5.svg, fr=0.7.svg 0.2 and 0.7 default; 0.5 and -1 render-only (UB marker) Renderer_tests.cc:230-236 goldens radial-fr-1/2; RendererRegression_tests.cc Radial* tests covered (coincident circles by Donner renderer tests only)
TC110 Focal point outside the end circle (cone, no SVG 1.1 correction) CR/pservers.html#RadialGradientNotes 1: paint-servers/radialGradient/focal-point-correction.svg (comment cites SVG 1.1, image shows the SVG 2 cone) default Renderer_tests.cc:240-246 radial-conical goldens covered
TC111 Gradient/pattern templates via href across gradient types, any depth CR/pservers.html#PaintServerTemplates 11+: paint-servers/radialGradient/attributes-via-xlink-href-from-linearGradient.svg, paint-servers/linearGradient/stops-via-xlink-href-from-radialGradient.svg, paint-servers/pattern/everything-via-xlink-href.svg default none needed covered (all use xlink:href; see TC1)
TC112 Paint-server templates referencing an external file CR/pservers.html#PaintServerTemplates none n-a none needs-new-suite-case (low)
TC113 Stop offset clamping and monotonic fix-up; transparent stop = black with opacity 0 CR/pservers.html#GradientStops ; CR/pservers.html#StopColorProperty offsets: paint-servers/stop/offset-clamping-with-percent.svg and siblings (32 stop cases); transparent stop: none default (1 thresholded) none needs-new-suite-case (transparent stop interpolation)
TC114 Zero stops = none; one stop = solid CR/pservers.html#GradientStops 2: paint-servers/radialGradient/no-stops.svg, single-stop.svg default none needed covered
TC115 Paint-server shadow content cloning (pattern children via template) CR/pservers.html#PaintServerTemplates 2: paint-servers/pattern/children-via-xlink-href.svg, everything-via-xlink-href.svg default none covered
TC116 hatch, mesh, solidcolor (deferred / removed) CR/changes.html#pservers none n-a none removed-from-CR
TC117 clip-path basic shapes circle() CR/render.html#ClippingAndMasking (CSS Masking) 3: masking/clipPath/circle-shorthand.svg, circle-shorthand-with-stroke-box.svg, circle-shorthand-with-view-box.svg default; 2 against Donner goldens (harness background) CircleClipPath_tests.cc covered
TC118 clip-path inset(), ellipse(), polygon(), path(), and fill-box/stroke-box/view-box geometry boxes CR/render.html#ClippingAndMasking none n-a InsetClipPath_tests.cc, PolygonClipPath_tests.cc, PathClipPath_tests.cc needs-new-suite-case
TC119 mask-type CR/styling.html#PresentationAttributes 6: masking/mask/mask-type=alpha.svg, mask-type-in-style.svg, mask-on-self-with-mixed-mask-type.svg default none needed covered
TC120 clip property requirement removed CR/changes.html#styling 1: masking/clip/simple-case.svg render-only (DeprecatedInSVG2) none removed-from-CR
TC121 Filter functions in filter (Filter Effects) CR/styling.html#RequiredProperties (filter-effects-1) 43: filters/filter-functions/blur-function.svg, hue-rotate-function-45deg.svg, drop-shadow-function.svg 43 cases: 12 against Donner goldens (7 color-adjust-functions-* rows with shared and Geode goldens, 4 drop-shadow rows, one-invalid-url-in-list.svg), 1 render-only (two-exact-urls.svg, UB marker), 30 default; no pixel budgets FilterSystem_tests.cc covered
TC122 feDropShadow CR/eltindex.html 8: filters/feDropShadow/with-offset.svg, only-stdDeviation.svg, with-percent-offset.svg default; 3 against resvg v0.49.0 references filter_drop_shadow.svg golden covered
TC123 lighting-color, flood-color with CSS colors CR/styling.html#RequiredProperties 13+: filters/feDiffuseLighting/lighting-color=hsla.svg, filters/flood-color/hsla-color.svg default none needed covered
TC124 enable-background, BackgroundImage/BackgroundAlpha inputs CR/changes.html#filters 23: filters/enable-background/*, filters/filter/in=BackgroundImage.svg 13 render-only (DeprecatedInSVG2); 10 compare: Donner ignores the property and reads the isolation-group backdrop, which matches the snapshot in those rows none removed-from-CR
TC125 Parent compositing: top-level document on an opaque white backdrop; svg is an isolated group CR/render.html#ParentCompositing none: references have transparent backgrounds and the comparison does no flattening not asserted by any case none needs-new-suite-case (see RC6 note)
TC126 display:none element still referenceable (textPath, clipPath child rules) CR/render.html#VisibilityControl 3: masking/clipPath/invisible-child-2.svg, painting/display/none-on-linearGradient.svg, painting/display/none-on-clipPath.svg default none needs-new-suite-case (textPath to a display:none path)
TC127 visibility: collapse CR/render.html#VisibilityControl 2: painting/visibility/collapse-on-tspan.svg, bbox-impact-2.svg default (text feature) none covered

Linking, interaction, animation

ID SVG2 feature CR anchor URL resvg coverage Donner run status Donner extension or unit coverage Verdict
TC128 SVG view fragments svgView(viewBox(...);preserveAspectRatio(...);transform(...)) on image/use references CR/linking.html#SVGFragmentIdentifiersDefinitions none n-a none found needs-new-suite-case
TC129 Linking to a view element (overrides root viewBox and pAR) CR/linking.html#ViewElement none n-a none found needs-new-suite-case
TC130 Media fragments #xywh= (pixel:/percent:) on SVG and raster image references CR/linking.html#SVGFragmentIdentifiersDefinitions none n-a none found needs-new-suite-case
TC131 a element: renders as a container, nested a inactive; target/download/ping attributes CR/linking.html#AElement 5: structure/a/on-shape.svg, inside-text.svg, on-text.svg (rendering only) default none needs-new-suite-case (native: activation intent)
TC132 Fragment-only URLs always same-document (incl. in external style sheets) CR/linking.html#TermSameDocumentURL none n-a none needs-new-suite-case (low)
TC133 Invalid reference target types (use to non-SVG element, textPath to non-geometry) CR/linking.html#processingURL-validity 6: structure/use/xlink-to-an-invalid-element-1.svg, structure/use/xlink-to-a-child-of-a-non-SVG-element.svg, text/textPath/invalid-link.svg default none needed covered
TC134 pointer-events all values including SVG 2 auto and bounding-box CR/interact.html#PointerEventsProp none n-a native scenarios donner/editor/tests/svg_suite_animation/hover-hit.svg, click-start.svg (subset) needs-new-suite-case (native)
TC135 Hit-testing: clip vs mask, shadow-tree content interactive, foreignObject hit target CR/interact.html#hit-testing none n-a DonnerController_tests.cc, RenderingContext_tests.cc (unit) needs-new-suite-case (native)
TC136 Focus navigation (tabindex), :focus styling CR/interact.html#Focus ; CR/styling.html#RequiredCSSFeatures none n-a none needs-new-suite-case (native)
TC137 :hover / :active dynamic styling CR/styling.html#RequiredCSSFeatures none n-a native hover-active, hover-end, hover-hit scenarios covered (Donner native)
TC138 cursor property (no element) CR/interact.html (cursor removed as element) none n-a none needs-new-suite-case (low; semantic)
TC139 :target pseudo-class CR/styling.html#RequiredCSSFeatures (CSS 2.1 pseudo-classes) none n-a none needs-new-suite-case (native)
TC140 Declarative animation (animate, set, animateTransform, animateMotion, mpath) timing, fill, restart, interpolation CR/animate.html none n-a native timing*, restart*, interpolation*, absolute-*, transform-motion* scenarios covered (Donner native)
TC141 Animations in use shadow trees share the host timeline CR/struct.html#UseAnimations none n-a native contextual-use* scenarios covered (Donner native)
TC142 Processing modes: static and secure static mode disable animation (image-embedded SVG shows base values) CR/conform.html#secure-static-mode ; CR/embedded.html#ImageElement none n-a none found needs-new-suite-case
TC143 Event-triggered animation begin (click, mouseover) CR/animate.html none n-a native click-start, click-mid, click-end covered (Donner native)
TC144 Media fragment time segment #t= sets document time CR/linking.html#SVGFragmentIdentifiersDefinitions none n-a none needs-new-suite-case (native; low)
TC145 discard element (moved to SVG Animations) CR/changes.html#structure none n-a none removed-from-CR
TC146 zoomAndPan, xml:base, externalResourcesRequired, requiredFeatures removed CR/changes.html#structure 1: structure/switch/requiredFeatures.svg (attribute ignored; green branch) default none removed-from-CR (requiredFeatures case already asserts SVG 2 behavior)
TC147 SVG Fonts (font, glyph, ...), altGlyph, cursor element, solidcolor CR/changes.html#fonts none n-a none removed-from-CR
TC148 shape-inside/shape-subtract CR/changes.html#text none n-a none removed-from-CR

Tests to create for the Donner SVG suite

Priority is P1 (SVG 2 feature with no portable case anywhere, high author visibility), P2 (no portable case, Donner unit coverage exists or visibility is moderate), P3 (low visibility or semantic-only). "Static" means an SVG/PNG pair with an independently reasoned reference (flat colors, axis-aligned geometry where possible, so the expected image can be stated exactly in the <desc>); "native" means a C++ scenario with clock or input control plus semantic assertions. Case names follow the extension layout <chapter>/<feature>/<case>.svg. Every case should cite the CR anchor (not the Editor's Draft).

structure

  • P1 structure/symbol/xywh-on-symbol.svg (TC9). CR/struct.html#SymbolElement. use without size references a symbol with x="10" y="10" width="40" height="40" viewBox="0 0 10 10" holding a full-viewBox rect; assert a 40x40 square at (10,10). Static.
  • P1 structure/symbol/auto-size-is-100-percent.svg (TC11). Same anchor. symbol with viewBox and no width/height, use with no size in a 100x100 document; assert content scales to the whole viewport. Static.
  • P1 structure/symbol/refX-refY-lengths.svg, refX-keywords.svg, refX-unspecified-vs-zero.svg (TC10). CR/struct.html#SymbolElement. Keyword center shifts by 50% of the viewBox; the unspecified-vs-0 case uses a viewBox with xMidYMid meet letterboxing so "no adjustment" and "refX=0" place content differently. Static. (Note: SVGSymbolElement_tests.cc:40 expects a default refX of 0; if Donner applies a zero translation when unspecified, the third case is expected to fail; implementation status unverified.)
  • P1 structure/use/visibility-visible-child.svg (TC7). CR/struct.html#UseStyleInheritance. use visibility="hidden" of a g whose child sets visibility="visible"; assert the child paints. Static.
  • P2 structure/use/css-size-ignored.svg, structure/use/zero-size-on-rect-ignored.svg, structure/use/negative-size-invalid.svg (TC5). CR/geometry.html#Sizing, CR/struct.html#UseLayout. CSS width:0 on a use of a symbol has no effect; width="0" on a use of a rect still renders; negative width falls back to auto. Static.
  • P2 structure/svg/transform-on-nested-svg.svg (TC13). CR/struct.htmlSVGElement. Nested svg with transform="translate(20 20)"; assert offset content. Static.
  • P2 structure/style/lang-without-namespace.svg and lang-precedence.svg (TC14). CR/struct.html#LangAttribute. Use :lang(ja) selector to color a rect, once via lang, once via xml:lang overriding lang; asserts language resolution without depending on CJK fonts. Static.
  • P2 structure/defs/ua-display-none-important.svg (TC20). CR/styling.html#UAStyleSheet. Author defs > rect { display: inline !important }; assert nothing renders. Static.
  • P2 structure/use/href-precedence.svg, plus href (no namespace) on image, linearGradient, pattern, textPath, feImage (TC1, TC2). CR/linking.html#XLinkRefAttrs. Both attributes present pointing at green and red targets; assert green. Static (one case per element; consider a DRY template).
  • P3 structure/switch/allow-reorder.svg (TC16), structure/svg/data-attributes-no-effect.svg and tabindex-no-render-effect.svg (TC17, TC18). Static render-identity checks.
  • P3 structure/svg/outermost-css-width.svg (TC12): only if the harness canvas policy can express it; otherwise record as API-level unit test.
  • P3 structure/svg/standalone-white-backdrop.svg (TC125). CR/render.html#ParentCompositing. A half-transparent rect in a document with no background; assert the standalone output is the rect composited onto opaque white. Needs a standalone-output comparison mode, so it waits on the backdrop policy decision (RC6).

shapes

  • P1 shapes/pathLength/dash-on-path.svg (TC44). CR/paths.html#PathLengthAttribute. 100-unit horizontal path with pathLength="10" and stroke-dasharray="1 1"; assert 10-unit dashes. Static.
  • P1 shapes/pathLength/on-rect.svg, on-circle.svg, on-line.svg, on-polygon.svg (TC45). Same scheme per shape; the rect case also pins the dash start at the top-left corner going clockwise (TC51). Static.
  • P2 shapes/pathLength/zero.svg and zero-with-percent-dash.svg (TC46). CR/paths.html#PathLengthAttribute. pathLength="0": non-zero dash lengths become infinite (solid stroke); percentage dashes unaffected. Static.
  • P2 shapes/path-length/css-property.svg and presentation-attribute-px.svg (TC47). CR/paths.html#PathLengthProperty. style="path-length: 10px" acts like pathLength="10". Static.
  • P2 shapes/path/zero-length-closed-subpath-caps.svg (TC52). CR/paths.html#ZeroLengthSegments. M 50 50 Z with round and square caps; assert a dot/square. Static.
  • P3 shapes/marker/marker-on-ellipse.svg (TC53). CR/painting.html#Markers. Static.

geometry

  • P1 geometry/d/css-d-property.svg and geometry/d/css-overrides-attribute.svg (TC23). CR/paths.html#TheDProperty. path { d: path("M10 10 H90 V90 H10 Z") } from a stylesheet and from style; second case overrides a conflicting d attribute. Static.
  • P1 geometry/cx-cy-r/css-circle.svg, geometry/width-height/css-rect.svg, geometry/rx-ry/css-percent.svg (TC22, TC21). CR/geometry.html#CX, #Sizing. Same pattern as the existing geometry/x/css-overrides-presentation.svg. Static.
  • P2 geometry/width-height/rect-auto-is-zero.svg (TC30). CR/geometry.html#Sizing. rect width="auto" does not render. Static.
  • P2 geometry/vector-effect/non-scaling-stroke.svg and non-scaling-stroke-nested.svg (TC32). CR/coords.html#VectorEffects. transform="scale(4 1)" with stroke-width="2"; assert a uniform 2 px stroke. Promote the existing vector_effect_non_scaling_stroke golden with an independently reasoned reference. Static.
  • P3 geometry/vector-effect/non-scaling-size.svg, non-rotation.svg, fixed-position.svg (TC33). At-risk values; author only if Donner commits to them. Static.
  • P2 geometry/transform-box/fill-box-rotate.svg, view-box-origin.svg (TC26). CR/styling.html#RequiredProperties. transform-box: fill-box; transform-origin: center; transform: rotate(45deg); compare with an explicitly computed rotation about the bbox center. Static.
  • P2 geometry/transform/css-transform-on-gradient.svg (TC27). CR/styling.html#PresentationAttributes. CSS transform on linearGradient overrides gradientTransform. Static.

painting

  • P1 painting/marker/refX-keywords.svg (TC96). CR/painting.html#MarkerElementRefXAttribute. refX="center" refY="center" centers a square marker on the vertex. Static.
  • P2 painting/stroke-miterlimit/below-one.svg (TC98). CR/painting.html#LineJoin. stroke-miterlimit="0.5" is valid and bevels every join; compare with a bevel-join control. Static.
  • P2 painting/color-interpolation/linearRGB-gradient.svg (TC101). CR/painting.html#ColorInterpolation. Two-stop black-to-white gradient with linearRGB; assert the midpoint value (about 188/255, from the sRGB transfer function) instead of 128. Static.
  • P2 painting/stroke-linejoin/miter-clip-invalid.svg (TC97, RC1). CR/painting.html#LineJoin. stroke-linejoin="miter-clip" must be treated as invalid (computed miter): the same geometry as resvg miter-clip.svg but asserting no clipped extension. Static.
  • P2 painting/compositing/blend-in-use-vs-marker.svg (TC107). CR/render.html#ReusedGraphics. mix-blend-mode: multiply inside a use blends with the page backdrop (non-isolated) while the same content in a marker blends only within the marker (isolated). Static.
  • P3 painting/will-change/no-effect.svg (TC103). Render identity. Static.

paint-servers

  • P2 paint-servers/radialGradient/fr-equals-r.svg (TC109). CR/pservers.html#RadialGradientElementFRAttribute. Replace the fr=0.5 UB status with a cited Donner reference for coincident circles once their behavior is decided: the CR note and canvas paint nothing, while svgwg issue 648 and the WPT test radialgradient-fully-overlapping.svg draw the gradient. Static.
  • P2 paint-servers/stop/transparent-stop.svg (TC113). CR/pservers.html#StopColorProperty. Red-to-transparent gradient: midpoint is half-opacity red, not a gray fringe. Static.
  • P3 paint-servers/href/external-template.svg (TC112). Template in a resource SVG file. Static with resource.

text

  • P1 text/inline-size/wrap-basic.svg, wrap-text-anchor-middle.svg, wrap-vertical.svg (TC54). CR/text.html#InlineSize. Use a test font with fixed advances (or rectangles-only glyphs) so line breaks and positions are stated exactly. Static.
  • P1 text/white-space/pre.svg, pre-line.svg, nowrap-with-inline-size.svg, normal-collapses.svg (TC55). CR/text.html#WhiteSpace. Static.
  • P2 text/text-overflow/ellipsis.svg, clip.svg (TC56). CR/text.html#TextOverflowProperty. Requires inline-size and white-space: nowrap. Static.
  • P1 text/textPath/on-circle.svg, on-ellipse.svg, on-polygon.svg, on-line.svg (TC59). CR/text.html#TextPathElementHrefAttribute. Assert start point (circle starts at the 3 o'clock point, clockwise in user space) with a single glyph marker. Static.
  • P2 text/textPath/closed-loop-middle-anchor.svg, closed-loop-overflow-hidden.svg (TC60). CR/text.html#TextpathLayoutRules. Static.
  • P2 text/textPath/display-none-path.svg (TC126). CR/render.html#VisibilityControl. Static.
  • P2 text/textPath/textLength-on-textPath.svg (TC64). CR/text.html#TextPathAttributes. Static.
  • P2 text/text-decoration/longhands-style-color.svg (TC71). CR/styling.html#RequiredProperties. text-decoration-line: underline; text-decoration-style: double; text-decoration-color: blue. Static.
  • P2 text/text-orientation/upright.svg, sideways.svg (TC67). CR/styling.html#RequiredProperties. Promote vertical_text_orientation_aliases.svg. Static.
  • P3 text/font-feature-settings/liga-off.svg, font-variant-ligatures.svg, font-variant-numeric.svg (TC74). Needs a test font with known features. Static.
  • P3 text/text-align/start-end-center-with-inline-size.svg, text-indent.svg (TC75), vertical-align/shorthand.svg (TC76). Static.
  • P3 text/text/unknown-element-child.svg (TC81). Static, pending the spec-ambiguity note below.

embedded (filed under structure/image in the existing layout)

  • P2 structure/image/svg-overflow-two-levels.svg (TC85). CR/embedded.html#ImageElement. Image of an SVG whose root has overflow="visible" and content outside its viewBox, with image overflow="visible"; assert the outside content is drawn; control with image overflow hidden. Static.
  • P2 structure/image/object-fit-contain.svg, object-fit-cover.svg, object-position.svg (TC86). CR/embedded.html#Placement. Static (raster data URL).
  • P2 structure/foreignObject/svg-child-not-rendered.svg, overflow-hidden.svg, transform-applies.svg (TC89). CR/embedded.html#ForeignObjectElement. Only cases that do not require HTML layout. Static.
  • P3 structure/image/crossorigin-data-url.svg (TC87). Render identity. Static.

masking

  • P1 masking/clip-path/inset.svg, ellipse.svg, polygon.svg, path.svg (TC118). CR/render.html#ClippingAndMasking. Promote the InsetClipPath_tests, PolygonClipPath_tests, PathClipPath_tests scenes. Static.
  • P2 masking/clip-path/fill-box.svg, stroke-box.svg, view-box.svg with a transparent-background reference, so they do not hit the opaque-background harness mismatch that puts the resvg circle-shorthand-with-*-box cases on Donner goldens (TC117). Static.

filters

  • P2 filters/filter-functions/drop-shadow-length-units.svg (TC121). Filter Effects drop-shadow with em/mm offsets, references computed from the stated lengths; replaces the five skipped resvg drop-shadow cases as the asserting coverage. Static.

styling

  • P2 styling/font-face/woff-data-url.svg and woff2-data-url.svg (TC38). CR/styling.html#RequiredCSSFeatures. Requires a small licensed test font with a glyph whose outline is a known rectangle. Static.
  • P2 styling/at-rules/media-query.svg (TC39). @media (min-width: 50px) against a fixed canvas. Static.
  • P2 styling/selectors/first-child.svg, not.svg, lang.svg (TC40). Static.
  • P3 styling/pseudo-elements/first-letter.svg, first-line.svg (TC41). Static.

linking

  • P1 linking/image-svgView-viewBox.svg, image-svgView-preserveAspectRatio.svg, image-svgView-transform.svg (TC128). CR/linking.html#SVGFragmentIdentifiersDefinitions. image href="resource.svg#svgView(viewBox(0,0,50,50))"; assert the cropped quadrant. Static with an SVG resource file.
  • P2 linking/image-view-element.svg (TC129). CR/linking.html#ViewElement. #myView where the resource has <view id="myView" viewBox=...>. Static.
  • P2 linking/image-media-fragment-xywh.svg, xywh-percent.svg (TC130). Static.
  • P3 linking/fragment-only-in-external-css.svg (TC132). Static with resource.
  • P3 native linking/a-activation-intent (TC131): keyboard/click activation records the navigation intent without navigating. Native.

interaction (native scenarios)

  • P2 interaction/pointer-events-values (TC134). One scenario per value including auto and bounding-box; semantic assertion on the hit target. Native.
  • P2 interaction/hit-clip-vs-mask, interaction/hit-use-shadow (TC135). Native.
  • P3 interaction/focus-tabindex-order, interaction/focus-style (TC136), interaction/target-pseudo (TC139), interaction/cursor (TC138). Native.

animation

  • P2 animation/secure-static-image.svg (TC142). CR/conform.html#secure-static-mode. Image of an SVG containing <set attributeName="fill" to="red" begin="0s"/> on a green rect: static embedding shows green. Static pair (no clock needed).
  • P3 animation/media-fragment-t (TC144). Native.

Reference conflicts

Upstream fixtures stay unchanged; each item needs a Donner case or a recorded policy with cited rationale.

  • RC1 painting/stroke-linejoin/miter-clip.svg: the reference image shows the clipped miter extension (green past the black miter-limited join). The CR lists only miter | round | bevel for stroke-linejoin (CR/painting.html#LineJoin) and changes.html#painting records that miter-clip and arcs were removed in March 2026 (Issue #1065). Under the CR the declaration is invalid, the join is miter, and the green path is fully covered. Donner registers this case at the default budget and implements MiterClip (donner/svg/renderer/Renderer.cc:286, donner/svg/renderer/RendererTinySkia.cc:329), so the suite currently rewards the removed value. arcs.svg is already render-only. Needs painting/stroke-linejoin/miter-clip-invalid.svg and a decision on whether to keep miter-clip as an extension (SVG Strokes draft).
  • RC2 structure/style-attribute/non-presentational-attribute.svg and structure/style/non-presentational-attribute.svg: references show nothing rendered because the files carry version="1.1" and expect SVG 1.1 to ignore height in style. The CR removed version and makes height a CSS property (CR/geometry.html#Sizing), so the rect must render. Donner runs both render-only (DeprecatedInSVG2). Needs TC22 cases.
  • RC3 painting/fill/rgb-int-int-int.svg: the reference is the resvg UB marker for space-separated rgb() syntax. The CR references CSS Color (CR/changes.html#color); the space-separated form is CSS Color 4 while the styling chapter lists css-color-3 for color. Donner runs it render-only. spec-ambiguity: which CSS Color level governs SVG 2 paint parsing; a Donner case should pin the chosen level.
  • RC4 paint-servers/radialGradient/fr=0.7.svg: resolved. fr aligns radial gradients with HTML canvas createRadialGradient, which paints every circle with a positive radius, so a start circle containing the end circle paints the whole plane, as the reference shows. Donner compares the case at default settings, with independent renderer regression tests. fr=0.5.svg (UB marker, identical circles) stays render-only: the CR note and canvas paint nothing, while svgwg issue 648 and the WPT test radialgradient-fully-overlapping.svg draw the gradient.
  • RC5 Text bounding box for paint servers: the vendored references of painting/stroke/radial-gradient-on-text.svg and linear-gradient-on-text.svg use glyph ink extents; Donner uses glyph cells, and both rows compare against Firefox-rendered goldens. CR/coords.html#BoundingBoxes defines the box algorithm; the exact text-box wording was not in the portion of coords.html read (unverified).
  • RC6 Reference backgrounds: several goldens (circle-shorthand-with-*-box, and the Donner goldens for text-anchor/coordinates-list, textPath/with-path and with-path-and-xlink-href) cite a background mismatch between a reference and Donner's transparent canvas. The opaque reference of use/xlink-to-an-external-file also has glyph ink about 5.6% heavier than Donner's, and neither resvg nor any browser passes that row; it compares against a Donner golden. CR/render.html#ParentCompositing composites a top-level standalone document onto an opaque white backdrop and preserves opacity in every other case. The color ledger records the facts: both renderers return a transparent canvas, and the pixel comparison uses straight-alpha output against transparent-background references with no flattening, so no test can detect a white backdrop either way (feat:svg2-render/standalone-document-white-backdrop and feat:svg2-render/test-harness-backdrop in color_compositing.md). The missing backdrop is rated low for the library API and is an unmet requirement for standalone output. Whether flattening in the harness would let these cases compare was not established.
  • RC7 text/textPath/mixed-children-2.svg (golden-override): SVG 2 continues text after a textPath from the path end point; the reference continues from the end of the glyphs on the path. The row compares against a Donner rendering whose ink matches Chrome 157 within one device pixel, including the CSS Text 3 boundary space that stays on the path.
  • RC8 text/textPath/method=stretch.svg (golden-override): the original snapshot’s reference is byte-identical to its align case, so it cannot assert stretch. The row compares against a Donner rendering with visibly warped glyphs, a regression guard rather than an independent oracle; RendererPublicApiTest.TextPathStretchOnStraightPathsMatchesOrdinaryRotatedText is the independent check.
  • RC9 Filter Effects drop-shadow references (four drop-shadow-function*.svg cases compare against Donner goldens, the others against their references): the four references use offsets that differ from the specified lengths. See val:filter/drop-shadow() in filters_core.md; listed here because those are the only resvg drop-shadow-function cases.
  • Not a conflict: paint-servers/radialGradient/focal-point-correction.svg carries an SVG 1.1 comment about moving the focal point onto the circle, but its reference image shows the SVG 2 cone, so it asserts SVG 2 behavior.

Unverified

  • Donner run status is read from resvg_test_suite.cc registrations, not from a test run (the audit is read-only); "default" means registered without an override and assumed green.
  • Implementation status remarks (symbol refX default, lang, path-length, transform-box, text-overflow, object-fit, foreignObject) come from grep and short reads, not complete consumer traces. They are hints for the case authors, not implementation findings.
  • Pages read only partially because of length: struct.html (first 100k chars), coords.html (first 100k), painting.html (first 100k), text.html (first 200k), attindex.html (tail after xml:space). Anchors cited from those pages were taken from the fetched portion; anchors such as text.html#WhiteSpace, text.html#TextPathAttributes, struct.html#IDAttribute, linking.html#AElement, linking.html#TermSameDocumentURL, render.html#ClippingAndMasking, conform.html#secure-static-mode were reported by the fetch summarizer as link targets and were not opened individually.
  • spec-ambiguity: changes.html#text says unknown elements inside text render as unpositioned spans, while the text.html portion read says non-text-content descendants get used display: none. Resolve before authoring TC81.
  • spec-ambiguity: struct.html describes use style scoping as shadow-DOM scoped (outer document rules do not match shadow elements) while changes.html#structure says style sheets are cloned into the shadow scope. Existing resvg cases (cSS-rules.svg) pass in Donner; a new case should pin a selector that distinguishes the two readings.
  • The fr > r (start circle containing end circle) rule is not stated in the pservers.html text read; RC4 follows the HTML canvas createRadialGradient algorithm that fr was added to match.
  • changes.html#geometry says width/height "can be constrained by min and max properties"; no min-width/max-width support requirement was found in styling.html#RequiredProperties, so no test is proposed.
  • Legacy writing-mode values (tb, lr, tb-rl) used by 20 resvg cases: their status in the CR text chapter was not visible in the portion read; they are counted as covered under the assumption that the CR keeps them as deprecated aliases.
  • propidx.html in this CR lists only 32 properties (painting and geometry); d, path-length, inline-size, white-space, transform-origin and others are defined in their chapters or imported via styling.html#RequiredProperties. Inventory rows were built from the chapters, not from propidx alone.
  • Dependent W3C specifications were not fetched (out of scope for a coverage audit); their maturity and dated versions are not recorded here.