Donner SVG main
0.8.0 ยท 766e862a0.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
Paint servers, markers and images

Part of the W3C specification audit. One row per element, attribute, property, value and feature in scope. Findings come from reading Donner source at revision b39a524a2 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. All paths are relative to the repository root.

Specs read

Spec Level Maturity Dated URL read
SVG 2, Paint Servers 2 CR Snapshot, 06 October 2026 https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html
SVG 2, Painting (markers, paint, color-interpolation, image-rendering) 2 CR Snapshot, 06 October 2026 https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html
SVG 2, Embedded Content 2 CR Snapshot, 06 October 2026 https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html
SVG 2, Coordinate Systems (object bounding box units, preserveAspectRatio) 2 CR Snapshot, 06 October 2026 https://www.w3.org/TR/2026/CR-SVG2-20261006/coords.html
SVG 2, Linking (URL processing, invalid and circular references) 2 CR Snapshot, 06 October 2026 https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html
SVG 2, Conformance (error processing, processing modes) 2 CR Snapshot, 06 October 2026 https://www.w3.org/TR/2026/CR-SVG2-20261006/conform.html
SVG 2, Paths (direction at vertices) 2 CR Snapshot, 06 October 2026 https://www.w3.org/TR/2026/CR-SVG2-20261006/paths.html
SVG 2, Styling (UA style sheet) 2 CR Snapshot, 06 October 2026 https://www.w3.org/TR/2026/CR-SVG2-20261006/styling.html
SVG 2, Data types 2 CR Snapshot, 06 October 2026 https://www.w3.org/TR/2026/CR-SVG2-20261006/types.html
SVG 2, Document Structure and Rendering Model (orientation only) 2 CR Snapshot, 06 October 2026 https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html
CSS Images Module Level 3 (default sizing algorithm, object-fit, image-rendering) 3 CR Draft, 18 December 2023 https://www.w3.org/TR/2023/CRD-css-images-3-20231218/

Grammars and initial values were taken from the text of the pages listed above.

Inventory

Derived from the CR element index (6 elements), every line of the CR attribute index for these elements (35 attribute rows), the enumerated values of those attributes, and the prose rules of pservers 14.1 to 14.3, painting 13.7 and embedded 12.2 to 12.3 broken into one feature row per rule. preserveAspectRatio and viewBox attribute rows, the geometry properties x/y/width/height on image, and the properties stop-color, stop-opacity, marker-*, color-interpolation, image-rendering and overflow belong to other ledgers; they appear here only as value or feature rows where the chapters covered here depend on them. Total rows: 199.

  • Elements (6): el:linearGradient, el:radialGradient, el:stop, el:pattern, el:marker, el:image
  • Attributes: gradients and stop (19): attr:x1@linearGradient, attr:y1@linearGradient, attr:x2@linearGradient, attr:y2@linearGradient, attr:cx@radialGradient, attr:cy@radialGradient, attr:r@radialGradient, attr:fx@radialGradient, attr:fy@radialGradient, attr:fr@radialGradient, attr:gradientTransform@linearGradient, attr:gradientTransform@radialGradient, attr:gradientUnits@linearGradient, attr:gradientUnits@radialGradient, attr:spreadMethod@linearGradient, attr:spreadMethod@radialGradient, attr:href@linearGradient, attr:href@radialGradient, attr:offset@stop
  • Attributes: pattern (8): attr:x@pattern, attr:y@pattern, attr:width@pattern, attr:height@pattern, attr:patternUnits@pattern, attr:patternContentUnits@pattern, attr:patternTransform@pattern, attr:href@pattern
  • Attributes: marker (6): attr:markerWidth@marker, attr:markerHeight@marker, attr:refX@marker, attr:refY@marker, attr:markerUnits@marker, attr:orient@marker
  • Attributes: image (2): attr:crossorigin@image, attr:href@image
  • Values (40): val:gradientUnits/userSpaceOnUse, val:gradientUnits/objectBoundingBox, val:spreadMethod/pad, val:spreadMethod/reflect, val:spreadMethod/repeat, val:patternUnits/userSpaceOnUse, val:patternUnits/objectBoundingBox, val:patternContentUnits/userSpaceOnUse, val:patternContentUnits/objectBoundingBox, val:markerUnits/strokeWidth, val:markerUnits/userSpaceOnUse, val:orient/auto, val:orient/auto-start-reverse, val:orient/<number>, val:orient/<angle>-deg, val:orient/<angle>-grad, val:orient/<angle>-rad, val:orient/<angle>-turn, val:refX/left, val:refX/center, val:refX/right, val:refX/<length-percentage>, val:refX/<number>, val:refY/top, val:refY/center, val:refY/bottom, val:refY/<length-percentage>, val:refY/<number>, val:markerWidth/<length-percentage>, val:markerWidth/<number>, val:offset/<number>, val:offset/<percentage>, val:preserveAspectRatio@image/none, val:preserveAspectRatio@image/<align>-meet, val:preserveAspectRatio@image/<align>-slice, val:preserveAspectRatio@marker/all, val:preserveAspectRatio@pattern/all, val:crossorigin/anonymous, val:crossorigin/use-credentials, val:crossorigin/(absent)
  • Features: paint server templates (href) (14): feat:svg2/pserver-template-recursive-attributes, feat:svg2/gradient-href-x1-y1-x2-y2, feat:svg2/gradient-href-cx-cy-r, feat:svg2/gradient-href-fx-fy-fr, feat:svg2/gradient-href-gradientUnits, feat:svg2/gradient-href-spreadMethod, feat:svg2/gradient-href-gradientTransform, feat:svg2/gradient-href-stops, feat:svg2/gradient-href-stops-restyled-in-shadow-tree, feat:svg2/gradient-href-chain, feat:svg2/gradient-href-cycle, feat:svg2/gradient-href-cross-type, feat:svg2/gradient-href-invalid-target, feat:svg2/pserver-template-external-file
  • Features: gradient geometry and units (7): feat:svg2/gradient-userSpaceOnUse-percentages, feat:svg2/gradient-objectBoundingBox-mapping, feat:svg2/gradient-zero-size-bbox, feat:svg2/gradientTransform-is-presentation-attribute, feat:svg2/patternTransform-is-presentation-attribute, feat:svg2/gradient-geometry-not-presentation-attributes, feat:svg2/linear-gradient-zero-length-vector
  • Features: radial gradient focal rules (8): feat:svg2/radial-fx-fy-default, feat:svg2/radial-fr, feat:svg2/radial-focal-outside-end-circle, feat:svg2/radial-start-circle-contains-end-circle, feat:svg2/radial-coincident-circles, feat:svg2/radial-r-zero, feat:svg2/radial-negative-radius-error, feat:svg2/radial-focal-on-circle-repeat
  • Features: gradient stops and interpolation (12): feat:svg2/stop-offset-clamping, feat:svg2/stop-offset-monotonic, feat:svg2/stop-zero-stops, feat:svg2/stop-single-stop, feat:svg2/stop-identical-offsets, feat:svg2/stop-color, feat:svg2/stop-color-transparent-not-premultiplied, feat:svg2/stop-opacity, feat:svg2/stop-only-direct-children, feat:svg2/gradient-linear-interpolation, feat:svg2/gradient-color-interpolation-property, feat:svg2/gradient-many-stops
  • Features: pattern tile rules (19): feat:svg2/pattern-tile-rect, feat:svg2/pattern-attributes-not-css, feat:svg2/pattern-viewBox, feat:svg2/pattern-no-viewBox-origin, feat:svg2/pattern-contentUnits-ignored-with-viewBox, feat:svg2/pattern-overflow-hidden, feat:svg2/pattern-overflow-visible, feat:svg2/pattern-nested, feat:svg2/pattern-zero-size-tile, feat:svg2/pattern-negative-size, feat:svg2/pattern-objectBoundingBox-zero-bbox, feat:svg2/pattern-href-size-and-units, feat:svg2/pattern-href-viewBox-preserveAspectRatio, feat:svg2/pattern-href-patternTransform, feat:svg2/pattern-href-children, feat:svg2/pattern-href-invalid-or-cycle, feat:svg2/pattern-style-inheritance, feat:svg2/pattern-display-none-child, feat:svg2/pattern-events-not-processed
  • Features: paint server references (3): feat:svg2/pserver-fallback-invalid-reference, feat:svg2/pserver-never-rendered, feat:svg2/pserver-referencable-when-display-none
  • Features: markers (29): feat:svg2/marker-viewport-size, feat:svg2/marker-clip, feat:svg2/marker-overflow-visible, feat:svg2/marker-units-strokeWidth-scale, feat:svg2/marker-orient-open-subpath-ends, feat:svg2/marker-orient-interior-bisector, feat:svg2/marker-orient-closed-subpath, feat:svg2/marker-orient-auto-start-reverse, feat:svg2/marker-orient-fixed-angle, feat:svg2/marker-ref-point-placement, feat:svg2/marker-viewBox, feat:svg2/marker-on-path, feat:svg2/marker-on-line, feat:svg2/marker-on-polyline, feat:svg2/marker-on-polygon, feat:svg2/marker-on-rect, feat:svg2/marker-on-circle, feat:svg2/marker-on-ellipse, feat:svg2/marker-vertex-selection, feat:svg2/marker-no-inheritance-from-referencing-element, feat:svg2/marker-context-paint, feat:svg2/marker-rendering-order, feat:svg2/marker-display-none-on-marker, feat:svg2/marker-display-none-on-ancestor, feat:svg2/marker-never-rendered-directly, feat:svg2/marker-with-use, feat:svg2/marker-invalid-reference, feat:svg2/marker-recursion, feat:svg2/marker-no-events
  • Features: image (26): feat:svg2/image-format-png, feat:svg2/image-format-jpeg, feat:svg2/image-format-svg, feat:svg2/image-format-other, feat:svg2/image-rgba-result, feat:svg2/image-svg-secure-mode, feat:svg2/image-auto-size-raster, feat:svg2/image-auto-size-svg, feat:svg2/image-no-intrinsic-size-300x150, feat:svg2/image-zero-size, feat:svg2/image-preserveAspectRatio-raster, feat:svg2/image-svg-root-preserveAspectRatio-ignored, feat:svg2/image-no-intrinsic-ratio, feat:svg2/image-overflow, feat:svg2/image-object-fit-position, feat:svg2/image-rendering, feat:svg2/image-broken, feat:svg2/image-href-resolution, feat:svg2/image-data-url, feat:svg2/image-fragment-only-href, feat:svg2/image-media-fragments, feat:svg2/image-external-resource-restrictions, feat:svg2/image-recursion, feat:svg2/image-no-inheritance, feat:svg2/image-cannot-reference-element, feat:svg2/href-over-xlink-href-precedence

Matrix

All behavior statements are by code reading of the pinned checkout; nothing was executed. Paths are checkout-relative. 'resvg' cases are under third_party/resvg-test-suite/tests/ and run through donner/svg/renderer/tests/resvg_test_suite.cc; 'render-only' means the case is rendered but not compared against its reference.

Elements

Key Class Spec anchor Requirement (paraphrase) Parse evidence Consume evidence Tests Impact Size Notes
el:linearGradient partial https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#LinearGradientElement Gradient paint server element, never rendered directly, content model stop/descriptive/animation/script/style; referencable regardless of display. donner/svg/SVGLinearGradientElement.cc:9-15 (CreateOn, Nonrenderable); attributes donner/svg/parser/AttributeParser.cc:1512-1536 donner/svg/components/paint/PaintSystem.cc:133-200 (computed gradient); donner/svg/renderer/RendererTinySkia.cc:755-888; donner/svg/renderer/RendererGeode.cc:720-776 SVGLinearGradientElementTests.RenderingDefaults; resvg paint-servers/linearGradient (38 cases, 1 render-only: invalid-gradientTransform.svg) medium S Element itself works on both backends. Partial because of the row-level gaps listed below (gradientTransform not templated, degenerate vector, color-interpolation). Content model is not validated: non-stop children are ignored (resvg invalid-child-1..3.svg pass), which matches the CR's render-what-you-can error rule.
el:radialGradient partial https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#RadialGradientElement Gradient paint server defined by an end circle (cx, cy, r) and a start circle (fx, fy, fr); never rendered directly. donner/svg/SVGRadialGradientElement.cc:9-15; attributes donner/svg/parser/AttributeParser.cc:1625-1657 donner/svg/renderer/RendererTinySkia.cc:848-885 (two-point conical); donner/svg/renderer/RendererGeode.cc:785-875; donner/gpu/shader/programs/SlugGradientSource.h:674-718 SVGRadialGradientElementTests.RenderingDefaults; resvg paint-servers/radialGradient (45 cases; 5 render-only) medium S Same row-level gaps as linearGradient plus the untested focal-on-circle repeat rule.
el:stop conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#StopElement Child of a gradient element giving offset, stop-color and stop-opacity; has no categories and renders nothing itself. donner/svg/SVGStopElement.cc:13-19; donner/svg/parser/AttributeParser.cc:1677-1691; donner/svg/components/paint/StopComponent.cc:40-57 donner/svg/components/paint/PaintSystem.cc:190-199 (only direct element children carrying a computed stop are collected) SVGStopElementTests.ParseFromXml; PaintSystemTest.LinearGradientWithStops; resvg paint-servers/stop (32 cases, no skips) - - A stop outside a gradient is created but never consumed (Nonrenderable). A stop nested in a non-gradient child of a gradient is ignored, as the content model requires.
el:pattern partial https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PatternElement Container paint server tiling its content in a reference rectangle; never rendered directly; overflow hidden by UA sheet. donner/svg/SVGPatternElement.cc:28-41 (ShadowOnlyChildren); donner/svg/parser/AttributeParser.cc:1539-1576 donner/svg/components/paint/PaintSystem.cc:202-257; donner/svg/renderer/RendererDriver.cc:743-799 (placement), 3968-4050 (renderPattern); donner/svg/renderer/PatternTile.cc:20-55 SVGPatternElementTests.UserSpaceOnUseRendering; resvg paint-servers/pattern (31 cases; 2 render-only, 6 thresholded or golden-overridden) medium S Works on both backends via a rasterized tile. Partial because patternTransform is not templated, a derived pattern's preserveAspectRatio is only honored with its own viewBox, CSS x/y/width/height leak into the tile rectangle, and display:none on the pattern element itself suppresses it (see rows).
el:marker partial https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#MarkerElement Container element, never rendered directly, drawn at shape vertices through the marker properties in its own viewport. donner/svg/SVGMarkerElement.cc:21-31; donner/svg/parser/AttributeParser.cc:1816-1870 donner/svg/renderer/RenderingContext.cc:1367-1408 (resolveMarker); donner/svg/renderer/RendererDriver.cc:4150-4269 (drawMarkers), 4293-4399 (drawMarker); donner/base/Path.cc:1425-1567 (vertices) SVGMarkerElementTests.MarkerStartProperty; resvg painting/marker (63 cases; 2 render-only, 1 golden override, several pixel-count allowances) medium M Partial because of the clip rectangle with a viewBox, markerUnits scaling with non-px stroke widths and non-scaling-stroke, display:none on the marker element, and closed-subpath orientation (see rows).
el:image partial https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html#ImageElement Graphics element rendering a complete PNG, JPEG or SVG resource into the positioning rectangle given by x, y, width, height. donner/svg/SVGImageElement.cc:20-27 (NoTraverseChildren); donner/svg/parser/AttributeParser.cc:1462-1481; geometry via donner/svg/properties/PresentationAttributeParsing.cc:131-133 donner/svg/components/resources/ResourceManagerContext.cc:337-385 (load); donner/svg/renderer/RendererDriver.cc:3435-3458 (SVG image), 3469-3495 (raster image); donner/svg/components/layout/LayoutSystem.cc:215-237 (auto size) SVGImageElementTests.ParseBasicAttributes; resvg structure/image (49 cases; 4 render-only, embedded-svg-with-text.svg skipped); corpus structure/image/nested-data-raster.svg medium M Raster path is solid. Partial because crossorigin, object-fit/object-position, overflow override, fragment-only href, media fragments and SVG-image intrinsic sizing are missing or divergent (see rows). The CR lists only href, crossorigin and preserveAspectRatio as element-specific attributes; HTML-only attributes such as decoding or loading are not in the CR and are not gaps.

Attributes: gradients and stop

Key Class Spec anchor Requirement (paraphrase) Parse evidence Consume evidence Tests Impact Size Notes
attr:x1@linearGradient conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#LinearGradientElementX1Attribute <length> (number or percentage accepted), initial 0%; gradient vector endpoint; not a presentation attribute. donner/svg/parser/AttributeParser.cc:1516-1519; ParseLengthAttribute donner/svg/parser/AttributeParser.cc:90-112 (number, any length unit or percentage; trailing data rejects the value with a warning) donner/svg/components/paint/LinearGradientComponent.cc:11-35 (defaults in LinearGradientComponent.h); donner/svg/renderer/RendererTinySkia.cc:831-833; donner/svg/renderer/RendererGeode.cc:748-751 AttributeParser_tests.cc LinearGradientAttributes; SVGLinearGradientElementTests.GradientCoordinates; resvg paint-servers/linearGradient/default-attributes.svg, gradientUnits=userSpaceOnUse-with-percent.svg - - Invalid value is ignored and the initial value kept (AttributeParser_tests.cc InvalidShapeGradientAndTextPathAttributesPreserveDefaults). In objectBoundingBox mode unitless numbers are treated as fractions (donner/svg/renderer/RendererTinySkia.cc:714-725). Animation dispatch exists (donner/svg/renderer/AnimationAttributes.cc:209); animation conformance belongs to animation.md.
attr:y1@linearGradient conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#LinearGradientElementY1Attribute <length> (number or percentage accepted), initial 0%; gradient vector endpoint; not a presentation attribute. donner/svg/parser/AttributeParser.cc:1520-1523; ParseLengthAttribute donner/svg/parser/AttributeParser.cc:90-112 (number, any length unit or percentage; trailing data rejects the value with a warning) donner/svg/components/paint/LinearGradientComponent.cc:11-35 (defaults in LinearGradientComponent.h); donner/svg/renderer/RendererTinySkia.cc:831-833; donner/svg/renderer/RendererGeode.cc:748-751 AttributeParser_tests.cc LinearGradientAttributes; SVGLinearGradientElementTests.GradientCoordinates; resvg paint-servers/linearGradient/default-attributes.svg, gradientUnits=userSpaceOnUse-with-percent.svg - - Invalid value is ignored and the initial value kept (AttributeParser_tests.cc InvalidShapeGradientAndTextPathAttributesPreserveDefaults). In objectBoundingBox mode unitless numbers are treated as fractions (donner/svg/renderer/RendererTinySkia.cc:714-725). Animation dispatch exists (donner/svg/renderer/AnimationAttributes.cc:209); animation conformance belongs to animation.md.
attr:x2@linearGradient conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#LinearGradientElementX2Attribute <length> (number or percentage accepted), initial 100%; gradient vector endpoint; not a presentation attribute. donner/svg/parser/AttributeParser.cc:1524-1527; ParseLengthAttribute donner/svg/parser/AttributeParser.cc:90-112 (number, any length unit or percentage; trailing data rejects the value with a warning) donner/svg/components/paint/LinearGradientComponent.cc:11-35 (defaults in LinearGradientComponent.h); donner/svg/renderer/RendererTinySkia.cc:831-833; donner/svg/renderer/RendererGeode.cc:748-751 AttributeParser_tests.cc LinearGradientAttributes; SVGLinearGradientElementTests.GradientCoordinates; resvg paint-servers/linearGradient/default-attributes.svg, gradientUnits=userSpaceOnUse-with-percent.svg - - Invalid value is ignored and the initial value kept (AttributeParser_tests.cc InvalidShapeGradientAndTextPathAttributesPreserveDefaults). In objectBoundingBox mode unitless numbers are treated as fractions (donner/svg/renderer/RendererTinySkia.cc:714-725). Animation dispatch exists (donner/svg/renderer/AnimationAttributes.cc:209); animation conformance belongs to animation.md.
attr:y2@linearGradient conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#LinearGradientElementY2Attribute <length> (number or percentage accepted), initial 0%; gradient vector endpoint; not a presentation attribute. donner/svg/parser/AttributeParser.cc:1528-1531; ParseLengthAttribute donner/svg/parser/AttributeParser.cc:90-112 (number, any length unit or percentage; trailing data rejects the value with a warning) donner/svg/components/paint/LinearGradientComponent.cc:11-35 (defaults in LinearGradientComponent.h); donner/svg/renderer/RendererTinySkia.cc:831-833; donner/svg/renderer/RendererGeode.cc:748-751 AttributeParser_tests.cc LinearGradientAttributes; SVGLinearGradientElementTests.GradientCoordinates; resvg paint-servers/linearGradient/default-attributes.svg, gradientUnits=userSpaceOnUse-with-percent.svg - - Invalid value is ignored and the initial value kept (AttributeParser_tests.cc InvalidShapeGradientAndTextPathAttributesPreserveDefaults). In objectBoundingBox mode unitless numbers are treated as fractions (donner/svg/renderer/RendererTinySkia.cc:714-725). Animation dispatch exists (donner/svg/renderer/AnimationAttributes.cc:209); animation conformance belongs to animation.md.
attr:cx@radialGradient conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#RadialGradientElementCXAttribute <length>, initial 50%; defines the end circle; not a presentation attribute. donner/svg/parser/AttributeParser.cc:1629-1632; ParseLengthAttribute donner/svg/parser/AttributeParser.cc:90-112 (number, any length unit or percentage; trailing data rejects the value with a warning) donner/svg/components/paint/RadialGradientComponent.cc:11-41; donner/svg/renderer/RendererTinySkia.cc:848-870; donner/svg/renderer/RendererGeode.cc:817-866 AttributeParser_tests.cc RadialGradientAttributes; SVGRadialGradientElementTests.GradientCoordinates; resvg paint-servers/radialGradient/default-attributes.svg, gradientUnits=userSpaceOnUse.svg - - Animation dispatch exists (donner/svg/renderer/AnimationAttributes.cc:226-228); animation conformance belongs to animation.md.
attr:cy@radialGradient conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#RadialGradientElementCYAttribute <length>, initial 50%; defines the end circle; not a presentation attribute. donner/svg/parser/AttributeParser.cc:1633-1636; ParseLengthAttribute donner/svg/parser/AttributeParser.cc:90-112 (number, any length unit or percentage; trailing data rejects the value with a warning) donner/svg/components/paint/RadialGradientComponent.cc:11-41; donner/svg/renderer/RendererTinySkia.cc:848-870; donner/svg/renderer/RendererGeode.cc:817-866 AttributeParser_tests.cc RadialGradientAttributes; SVGRadialGradientElementTests.GradientCoordinates; resvg paint-servers/radialGradient/default-attributes.svg - - Animation dispatch exists (donner/svg/renderer/AnimationAttributes.cc:226-228); animation conformance belongs to animation.md.
attr:r@radialGradient conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#RadialGradientElementRAttribute <length>, initial 50%; defines the end circle; not a presentation attribute. donner/svg/parser/AttributeParser.cc:1637-1640; ParseLengthAttribute donner/svg/parser/AttributeParser.cc:90-112 (number, any length unit or percentage; trailing data rejects the value with a warning) donner/svg/components/paint/RadialGradientComponent.cc:11-41; donner/svg/renderer/RendererTinySkia.cc:848-870; donner/svg/renderer/RendererGeode.cc:817-866 AttributeParser_tests.cc RadialGradientAttributes; SVGRadialGradientElementTests.GradientCoordinates; resvg paint-servers/radialGradient/zero-r.svg, default-attributes.svg - - Negative value is an error: no paint (donner/svg/renderer/RendererTinySkia.cc:806-809, donner/svg/renderer/RendererGeode.cc:824-826; resvg negative-r.svg is render-only because its reference is a placeholder). Animation dispatch exists (donner/svg/renderer/AnimationAttributes.cc:226-228); animation conformance belongs to animation.md.
attr:fx@radialGradient conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#RadialGradientElementFXAttribute <length>, initial 50% (used value follows cx when unspecified, as browsers and SVG 1.1 do); defines the start (focal) circle; not a presentation attribute. donner/svg/parser/AttributeParser.cc:1641-1644; ParseLengthAttribute donner/svg/parser/AttributeParser.cc:90-112 (number, any length unit or percentage; trailing data rejects the value with a warning) donner/svg/components/paint/RadialGradientComponent.cc:11-41; donner/svg/renderer/RendererTinySkia.cc:848-870; donner/svg/renderer/RendererGeode.cc:817-866 AttributeParser_tests.cc RadialGradientAttributes; SVGRadialGradientElementTests.GradientCoordinates; resvg paint-servers/radialGradient/fx-resolving-1.svg, fx-resolving-2.svg, fx-resolving-3.svg - - Unset fx falls back to cx at draw time (donner/svg/renderer/RendererTinySkia.cc:852-855). Animation dispatch exists (donner/svg/renderer/AnimationAttributes.cc:226-228); animation conformance belongs to animation.md.
attr:fy@radialGradient conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#RadialGradientElementFYAttribute <length>, initial 50% (used value follows cy when unspecified, as browsers and SVG 1.1 do); defines the start (focal) circle; not a presentation attribute. donner/svg/parser/AttributeParser.cc:1645-1648; ParseLengthAttribute donner/svg/parser/AttributeParser.cc:90-112 (number, any length unit or percentage; trailing data rejects the value with a warning) donner/svg/components/paint/RadialGradientComponent.cc:11-41; donner/svg/renderer/RendererTinySkia.cc:848-870; donner/svg/renderer/RendererGeode.cc:817-866 AttributeParser_tests.cc RadialGradientAttributes; SVGRadialGradientElementTests.GradientCoordinates; resvg paint-servers/radialGradient/fy-resolving-1.svg, fy-resolving-2.svg, fy-resolving-3.svg - - Unset fy falls back to cy at draw time. Animation dispatch exists (donner/svg/renderer/AnimationAttributes.cc:226-228); animation conformance belongs to animation.md.
attr:fr@radialGradient conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#RadialGradientElementFRAttribute <length>, initial 0%; defines the start (focal) circle; not a presentation attribute. donner/svg/parser/AttributeParser.cc:1649-1652; ParseLengthAttribute donner/svg/parser/AttributeParser.cc:90-112 (number, any length unit or percentage; trailing data rejects the value with a warning) donner/svg/components/paint/RadialGradientComponent.cc:11-41; donner/svg/renderer/RendererTinySkia.cc:848-870; donner/svg/renderer/RendererGeode.cc:817-866 AttributeParser_tests.cc RadialGradientAttributes; SVGRadialGradientElementTests.GradientCoordinates; resvg paint-servers/radialGradient/fr=0.2.svg - - Negative fr is an error: no paint (resvg fr=-1.svg render-only). Animation dispatch exists (donner/svg/renderer/AnimationAttributes.cc:226-228); animation conformance belongs to animation.md.
attr:gradientTransform@linearGradient partial https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#LinearGradientElementGradientTransformAttribute <transform-list>, initial identity; presentation attribute for the transform property; post-multiplied after the units mapping; copied from an href template when unspecified. donner/svg/SVGElement.cc:639-647 (attribute renamed to the transform presentation attribute); donner/svg/parser/TransformParser.cc donner/svg/renderer/RendererTinySkia.cc:737-753, 783-795; donner/svg/renderer/RendererGeode.cc:551-565, 617-626 PaintSystemTest.GradientTransformIsApplied; resvg paint-servers/linearGradient/gradientTransform.svg, gradientTransform-and-transform.svg medium S Own-element value conformant. Not copied from the href template (see feat:svg2/gradient-href-gradientTransform). An invalid list is rejected and identity kept (resvg invalid-gradientTransform.svg is render-only). A singular matrix yields no paint on Geode (donner/svg/renderer/RendererGeode.cc:633-635) and from tiny-skia shader creation. Animated through animateTransform (donner/svg/renderer/AnimationPresentation.cc:332).
attr:gradientTransform@radialGradient partial https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#RadialGradientElementGradientTransformAttribute <transform-list>, initial identity; presentation attribute for the transform property; post-multiplied after the units mapping; copied from an href template when unspecified. donner/svg/SVGElement.cc:639-647 (attribute renamed to the transform presentation attribute); donner/svg/parser/TransformParser.cc donner/svg/renderer/RendererTinySkia.cc:737-753, 783-795; donner/svg/renderer/RendererGeode.cc:551-565, 617-626 PaintSystemTest.GradientTransformIsApplied; resvg paint-servers/radialGradient/gradientTransform.svg, gradientTransform-and-transform.svg medium S Own-element value conformant. Not copied from the href template (see feat:svg2/gradient-href-gradientTransform). An invalid list is rejected and identity kept (resvg invalid-gradientTransform.svg is render-only). A singular matrix yields no paint on Geode (donner/svg/renderer/RendererGeode.cc:633-635) and from tiny-skia shader creation. Animated through animateTransform (donner/svg/renderer/AnimationPresentation.cc:332).
attr:gradientUnits@linearGradient conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#LinearGradientElementGradientUnitsAttribute userSpaceOnUse | objectBoundingBox, initial objectBoundingBox; selects the coordinate system of the geometry attributes. donner/svg/parser/AttributeParser.cc:430-439 (exact, case-sensitive match; other values warn and keep the default) donner/svg/components/paint/GradientComponent.cc:12-28; donner/svg/renderer/RendererTinySkia.cc:767-795; donner/svg/renderer/RendererGeode.cc:586-626 AttributeParser_tests.cc LinearGradientCommonAttributes; PaintSystemTest.GradientUnitsUserSpaceOnUse; resvg paint-servers/linearGradient/gradientUnits=userSpaceOnUse.svg, invalid-gradientUnits.svg - - Leading or trailing whitespace in the value is not trimmed, so such a value is treated as invalid; the CR does not state a trimming rule for this attribute (unverified against a normative sentence). Animation dispatch exists (donner/svg/renderer/AnimationAttributes.cc:650); animation conformance belongs to animation.md.
attr:gradientUnits@radialGradient conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#RadialGradientElementGradientUnitsAttribute userSpaceOnUse | objectBoundingBox, initial objectBoundingBox; selects the coordinate system of the geometry attributes. donner/svg/parser/AttributeParser.cc:430-439 (exact, case-sensitive match; other values warn and keep the default) donner/svg/components/paint/GradientComponent.cc:12-28; donner/svg/renderer/RendererTinySkia.cc:767-795; donner/svg/renderer/RendererGeode.cc:586-626 AttributeParser_tests.cc LinearGradientCommonAttributes; PaintSystemTest.GradientUnitsUserSpaceOnUse; resvg paint-servers/radialGradient/gradientUnits=userSpaceOnUse.svg, invalid-gradientUnits.svg - - Leading or trailing whitespace in the value is not trimmed, so such a value is treated as invalid; the CR does not state a trimming rule for this attribute (unverified against a normative sentence). Animation dispatch exists (donner/svg/renderer/AnimationAttributes.cc:650); animation conformance belongs to animation.md.
attr:spreadMethod@linearGradient conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#LinearGradientElementSpreadMethodAttribute pad | reflect | repeat, initial pad; what to paint outside the 0..1 range of the gradient vector. donner/svg/parser/AttributeParser.cc:440-451 donner/svg/components/paint/GradientComponent.cc:12-28; donner/svg/renderer/RendererTinySkia.cc:338 (toTinySpreadMode), 836, 869; donner/svg/renderer/RendererGeode.cc:645-652; donner/gpu/shader/programs/SlugGradientSource.h:623-635 AttributeParser_tests.cc LinearGradientCommonAttributes; PaintSystemTest.GradientSpreadMethodDefaultIsPad; resvg paint-servers/linearGradient/spreadMethod=pad.svg, spreadMethod=reflect.svg, spreadMethod=repeat.svg, invalid-spreadMethod.svg - - Animation dispatch exists (donner/svg/renderer/AnimationAttributes.cc:653); animation conformance belongs to animation.md.
attr:spreadMethod@radialGradient conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#RadialGradientElementSpreadMethodAttribute pad | reflect | repeat, initial pad; what to paint outside the 0..1 range of the gradient vector. donner/svg/parser/AttributeParser.cc:440-451 donner/svg/components/paint/GradientComponent.cc:12-28; donner/svg/renderer/RendererTinySkia.cc:338 (toTinySpreadMode), 836, 869; donner/svg/renderer/RendererGeode.cc:645-652; donner/gpu/shader/programs/SlugGradientSource.h:623-635 AttributeParser_tests.cc LinearGradientCommonAttributes; PaintSystemTest.GradientSpreadMethodDefaultIsPad; resvg paint-servers/radialGradient/spreadMethod=pad.svg, spreadMethod=reflect.svg, spreadMethod=repeat.svg, invalid-spreadMethod.svg - - Animation dispatch exists (donner/svg/renderer/AnimationAttributes.cc:653); animation conformance belongs to animation.md.
attr:href@linearGradient partial https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#LinearGradientElementHrefAttribute URL reference to a template gradient (a different linearGradient or a radialGradient); copies the listed attributes and, when the element has no non-descriptive children, the stops; may be an external file. donner/svg/parser/AttributeParser.cc:452-453 (href and xlink:href both call setHref); donner/svg/SVGGradientElement.cc:42-49 donner/svg/components/paint/PaintSystem.cc:313-356 (resolve, type check, shadow tree), 259-302 (chain), 147-162 (attribute propagation) PaintSystemTest.GradientInheritsStopsViaHref, GradientHrefToNonGradientWarns; resvg paint-servers/linearGradient/attributes-via-xlink-href.svg, stops-via-xlink-href.svg, invalid-xlink-href.svg, unresolved-xlink-href.svg medium M Same-document fragment references work. Gaps: gradientTransform is not copied; only same-document targets resolve (donner/svg/components/paint/PaintSystem.cc:329, no external file templates); when both href and xlink:href are present xlink:href always wins instead of href, whatever the source order: attributes are applied sorted by local name and then prefix, so href is applied first and xlink:href overwrites it (see feat:xlink/href-precedence#2 in xml_data_formats.md) (donner/svg/parser/AttributeParser.cc:452; the precedence rule is in https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#XLinkRefAttrs); a reference cycle only stops the chain instead of invalidating the reference. Animation dispatch exists (donner/svg/renderer/AnimationAttributes.cc:href handled as a reference attribute, components/animation/AnimationBaseValue.cc:808); animation conformance belongs to animation.md.
attr:href@radialGradient partial https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#RadialGradientElementHrefAttribute URL reference to a template gradient (a linearGradient or a different radialGradient); copies the listed attributes and, when the element has no non-descriptive children, the stops; may be an external file. donner/svg/parser/AttributeParser.cc:452-453 (href and xlink:href both call setHref); donner/svg/SVGGradientElement.cc:42-49 donner/svg/components/paint/PaintSystem.cc:313-356 (resolve, type check, shadow tree), 259-302 (chain), 147-162 (attribute propagation) PaintSystemTest.GradientInheritsStopsViaHref, GradientHrefToNonGradientWarns; resvg paint-servers/radialGradient/attributes-via-xlink-href.svg, stops-via-xlink-href.svg, invalid-xlink-href.svg, unresolved-xlink-href.svg medium M Same-document fragment references work. Gaps: gradientTransform is not copied; only same-document targets resolve (donner/svg/components/paint/PaintSystem.cc:329, no external file templates); when both href and xlink:href are present xlink:href always wins instead of href, whatever the source order: attributes are applied sorted by local name and then prefix, so href is applied first and xlink:href overwrites it (see feat:xlink/href-precedence#2 in xml_data_formats.md) (donner/svg/parser/AttributeParser.cc:452; the precedence rule is in https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#XLinkRefAttrs); a reference cycle only stops the chain instead of invalidating the reference. Animation dispatch exists (donner/svg/renderer/AnimationAttributes.cc:href handled as a reference attribute, components/animation/AnimationBaseValue.cc:808); animation conformance belongs to animation.md.
attr:offset@stop conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#StopElementOffsetAttribute <number> | <percentage>, initial 0; position along the gradient vector; values are clamped to 0..1 at use. donner/svg/parser/AttributeParser.cc:146-177 (ParseStopOffset: number or percent only, other units rejected, clamps to [0,1]), 1681-1684 donner/svg/components/paint/PaintSystem.cc:193-198; donner/svg/renderer/RendererGeode.cc:677-688; third_party/tiny-skia-cpp/src/tiny_skia/shaders/Gradient.cpp:33-50 AttributeParser_tests.cc StopOffsetNumber, StopOffsetPercent, StopOffsetClamped; SVGStopElementTests.OffsetClampingFromParsing, OffsetPercentage; resvg paint-servers/stop/offset-clamping.svg, offset-clamping-with-percent.svg, invalid-offset-1.svg, invalid-offset-2.svg - - Invalid value is ignored (offset stays 0). Animation dispatch exists (donner/svg/renderer/AnimationAttributes.cc:1083); animation conformance belongs to animation.md.

Attributes: pattern

Key Class Spec anchor Requirement (paraphrase) Parse evidence Consume evidence Tests Impact Size Notes
attr:x@pattern partial https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PatternElementXAttribute <length>, initial 0; tile reference rectangle in patternUnits space; not a presentation attribute (used value not affected by CSS). donner/svg/parser/AttributeParser.cc:192-215 (ParseXYWidthHeight), 1543-1545; stored in PatternComponent::sizeProperties donner/svg/components/paint/PaintSystem.cc:238-244 (tileRect); donner/svg/renderer/RendererDriver.cc:757-766, 4015-4019 AttributeParser_tests.cc PatternAttributes; SVGPatternElementTests.UserSpaceOnUseWithXYRendering; resvg paint-servers/pattern/with-x-and-y.svg low S Attribute handling is correct, but the tile rectangle is resolved through LayoutSystem::computeSizeProperties with the element's CSS declarations (donner/svg/components/layout/LayoutSystem.cc:715-731 applies unparsed x/y/width/height properties), so a stylesheet rule such as pattern { width: 10px } overrides the attribute, which the CR excludes. By code reading; no test either way. Animation dispatch exists (donner/svg/renderer/AnimationAttributes.cc:688); animation conformance belongs to animation.md.
attr:y@pattern partial https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PatternElementYAttribute <length>, initial 0; tile reference rectangle in patternUnits space; not a presentation attribute (used value not affected by CSS). donner/svg/parser/AttributeParser.cc:192-215 (ParseXYWidthHeight), 1543-1545; stored in PatternComponent::sizeProperties donner/svg/components/paint/PaintSystem.cc:238-244 (tileRect); donner/svg/renderer/RendererDriver.cc:757-766, 4015-4019 AttributeParser_tests.cc PatternAttributes; SVGPatternElementTests.UserSpaceOnUseWithXYRendering; resvg paint-servers/pattern/with-x-and-y.svg low S Attribute handling is correct, but the tile rectangle is resolved through LayoutSystem::computeSizeProperties with the element's CSS declarations (donner/svg/components/layout/LayoutSystem.cc:715-731 applies unparsed x/y/width/height properties), so a stylesheet rule such as pattern { width: 10px } overrides the attribute, which the CR excludes. By code reading; no test either way. Animation dispatch exists (donner/svg/renderer/AnimationAttributes.cc:688); animation conformance belongs to animation.md.
attr:width@pattern partial https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PatternElementWidthAttribute <length>, initial 0; tile reference rectangle in patternUnits space; not a presentation attribute (used value not affected by CSS). Negative is an error, zero disables rendering. donner/svg/parser/AttributeParser.cc:192-215 (ParseXYWidthHeight), 1543-1545; stored in PatternComponent::sizeProperties donner/svg/components/paint/PaintSystem.cc:238-244 (tileRect); donner/svg/renderer/RendererDriver.cc:757-766, 4015-4019 AttributeParser_tests.cc PatternAttributes; SVGPatternElementTests.UserSpaceOnUseWithXYRendering; resvg paint-servers/pattern/missing-width.svg, simple-case.svg low S Attribute handling is correct, but the tile rectangle is resolved through LayoutSystem::computeSizeProperties with the element's CSS declarations (donner/svg/components/layout/LayoutSystem.cc:715-731 applies unparsed x/y/width/height properties), so a stylesheet rule such as pattern { width: 10px } overrides the attribute, which the CR excludes. By code reading; no test either way. Negative values: no paint, because the tile raster metrics reject non-positive sizes (donner/svg/renderer/PatternTile.cc:24-29); untested. Animation dispatch exists (donner/svg/renderer/AnimationAttributes.cc:688); animation conformance belongs to animation.md.
attr:height@pattern partial https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PatternElementHeightAttribute <length>, initial 0; tile reference rectangle in patternUnits space; not a presentation attribute (used value not affected by CSS). Negative is an error, zero disables rendering. donner/svg/parser/AttributeParser.cc:192-215 (ParseXYWidthHeight), 1543-1545; stored in PatternComponent::sizeProperties donner/svg/components/paint/PaintSystem.cc:238-244 (tileRect); donner/svg/renderer/RendererDriver.cc:757-766, 4015-4019 AttributeParser_tests.cc PatternAttributes; SVGPatternElementTests.UserSpaceOnUseWithXYRendering; resvg paint-servers/pattern/missing-height.svg, simple-case.svg low S Attribute handling is correct, but the tile rectangle is resolved through LayoutSystem::computeSizeProperties with the element's CSS declarations (donner/svg/components/layout/LayoutSystem.cc:715-731 applies unparsed x/y/width/height properties), so a stylesheet rule such as pattern { width: 10px } overrides the attribute, which the CR excludes. By code reading; no test either way. Negative values: no paint, because the tile raster metrics reject non-positive sizes (donner/svg/renderer/PatternTile.cc:24-29); untested. Animation dispatch exists (donner/svg/renderer/AnimationAttributes.cc:688); animation conformance belongs to animation.md.
attr:patternUnits@pattern conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PatternElementPatternUnitsAttribute userSpaceOnUse | objectBoundingBox, initial objectBoundingBox. donner/svg/parser/AttributeParser.cc:1549-1558 (exact match; invalid values warn and keep the default) donner/svg/components/paint/PatternComponent.cc:22-27; donner/svg/components/paint/PaintSystem.cc:238-240; donner/svg/renderer/RendererDriver.cc:755-776 AttributeParser_tests.cc PatternCommonAttributes, InvalidPatternContentUnitsNamesAttribute; SVGPatternElementTests.PatternUnits; resvg paint-servers/pattern/patternUnits=objectBoundingBox.svg, patternUnits=userSpaceOnUse-with-percent.svg, invalid-patternUnits-and-patternContentUnits.svg - - Animation dispatch exists (donner/svg/renderer/AnimationAttributes.cc:788); animation conformance belongs to animation.md.
attr:patternContentUnits@pattern conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PatternElementPatternContentUnitsAttribute userSpaceOnUse | objectBoundingBox, initial userSpaceOnUse. No effect when viewBox is specified. donner/svg/parser/AttributeParser.cc:1559-1568 (exact match; invalid values warn and keep the default) donner/svg/components/paint/PatternComponent.cc:22-27; donner/svg/components/paint/PaintSystem.cc:238-240; donner/svg/renderer/RendererDriver.cc:755-776 AttributeParser_tests.cc PatternCommonAttributes, InvalidPatternContentUnitsNamesAttribute; SVGPatternElementTests.PatternContentUnits; resvg paint-servers/pattern/patternContentUnits=objectBoundingBox.svg, patternContentUnits-with-viewBox.svg, invalid-patternUnits-and-patternContentUnits.svg - - Animation dispatch exists (donner/svg/renderer/AnimationAttributes.cc:792); animation conformance belongs to animation.md.
attr:patternTransform@pattern partial https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PatternElementPatternTransformAttribute <transform-list>, initial identity; presentation attribute for transform; post-multiplied after the units mapping; copied from an href template. donner/svg/SVGElement.cc:639-647; donner/svg/SVGPatternElement.cc:87 donner/svg/renderer/RendererDriver.cc:777-796 SVGPatternElementTests.PatternTransformRendering; resvg paint-servers/pattern/with-patternTransform.svg, transform-and-patternTransform.svg medium S Own-element value conformant; not copied from the href template (see feat:svg2/pattern-href-patternTransform). resvg invalid-patternTransform.svg is render-only.
attr:href@pattern partial https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PatternElementHrefAttribute URL reference to a different pattern used as a template for x, y, width, height, viewBox, preserveAspectRatio, patternTransform, patternUnits, patternContentUnits and for the child content. donner/svg/parser/AttributeParser.cc:1569-1570; donner/svg/SVGPatternElement.cc donner/svg/components/paint/PaintSystem.cc:358-392, 216-229; donner/svg/components/paint/PatternComponent.cc:8-40 PaintSystemTest.PatternInheritsAttributesViaHref, PatternHrefToNonPatternWarns; SVGPatternElementTests.PatternRecursionHref; resvg paint-servers/pattern/attributes-via-xlink-href.svg, children-via-xlink-href.svg, everything-via-xlink-href.svg, viewBox-via-xlink-href.svg medium S Gaps: patternTransform not copied; a derived pattern's own preserveAspectRatio is ignored unless it also has its own viewBox, and a derived viewBox resets an inherited preserveAspectRatio to the default (donner/svg/components/paint/PaintSystem.cc:251-256); same-document only; xlink:href always wins instead of href, whatever the source order: attributes are applied sorted by local name and then prefix, so href is applied first and xlink:href overwrites it (see feat:xlink/href-precedence#2 in xml_data_formats.md).

Attributes: marker

Key Class Spec anchor Requirement (paraphrase) Parse evidence Consume evidence Tests Impact Size Notes
attr:markerWidth@marker conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#MarkerWidthAttribute <length-percentage> | <number>, initial 3; marker viewport size; zero renders nothing, negative is an error. donner/svg/parser/AttributeParser.cc:1823-1827; default donner/svg/components/paint/MarkerComponent.h donner/svg/renderer/RendererDriver.cc:4273-4280, 4312-4316 (non-positive size returns without drawing) AttributeParser_tests.cc MarkerAttributes, MarkerLengthAttributesWithUnits; SVGMarkerElementTests.Defaults; resvg painting/marker/zero-sized.svg, marker-with-a-negative-size.svg, percent-values.svg - - Percentages resolve against the referencing shape's viewport (donner/svg/renderer/RendererDriver.cc:4310-4311); the CR does not state the percentage basis. Animation dispatch exists (donner/svg/renderer/AnimationAttributes.cc:829-833); animation conformance belongs to animation.md.
attr:markerHeight@marker conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#MarkerHeightAttribute <length-percentage> | <number>, initial 3; marker viewport size; zero renders nothing, negative is an error. donner/svg/parser/AttributeParser.cc:1828-1831; default donner/svg/components/paint/MarkerComponent.h donner/svg/renderer/RendererDriver.cc:4273-4280, 4312-4316 (non-positive size returns without drawing) AttributeParser_tests.cc MarkerAttributes, MarkerLengthAttributesWithUnits; SVGMarkerElementTests.Defaults; resvg painting/marker/zero-sized.svg, marker-with-a-negative-size.svg, percent-values.svg - - Percentages resolve against the referencing shape's viewport (donner/svg/renderer/RendererDriver.cc:4310-4311); the CR does not state the percentage basis. Animation dispatch exists (donner/svg/renderer/AnimationAttributes.cc:829-833); animation conformance belongs to animation.md.
attr:refX@marker conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#MarkerElementRefXAttribute <length-percentage> | <number> | left | center | right, initial 0; reference point in marker content coordinates after viewBox; percentages and keywords are relative to the viewBox size. donner/svg/parser/AttributeParser.cc:1793-1813 (ParseRefKeyword), 1832-1837 donner/svg/renderer/RendererDriver.cc:4282-4290, 4323-4332, 4348-4350 AttributeParser_tests.cc MarkerRefKeywords; SVGMarkerElementRenderingTests.RefKeywordResolvesAgainstMarkerViewBox; resvg painting/marker/percent-values.svg, with-viewBox-2.svg - - Without a viewBox, percentages fall back to the referencing viewport (CR is silent for that case). Keywords of the wrong axis (for example refX=top) fall through to the length parser and are rejected. Animation dispatch exists (donner/svg/renderer/AnimationAttributes.cc:829-833); animation conformance belongs to animation.md.
attr:refY@marker conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#MarkerElementRefYAttribute <length-percentage> | <number> | top | center | bottom, initial 0; reference point in marker content coordinates after viewBox; percentages and keywords are relative to the viewBox size. donner/svg/parser/AttributeParser.cc:1793-1813 (ParseRefKeyword), 1838-1843 donner/svg/renderer/RendererDriver.cc:4282-4290, 4323-4332, 4348-4350 AttributeParser_tests.cc MarkerRefKeywords; SVGMarkerElementRenderingTests.RefKeywordResolvesAgainstMarkerViewBox; resvg painting/marker/percent-values.svg, with-viewBox-2.svg - - Without a viewBox, percentages fall back to the referencing viewport (CR is silent for that case). Keywords of the wrong axis (for example refX=top) fall through to the length parser and are rejected. Animation dispatch exists (donner/svg/renderer/AnimationAttributes.cc:829-833); animation conformance belongs to animation.md.
attr:markerUnits@marker partial https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#MarkerUnitsAttribute strokeWidth | userSpaceOnUse, initial strokeWidth; strokeWidth scales the marker by the painted stroke width, including the effect of non-scaling-stroke. donner/svg/parser/AttributeParser.cc:1857-1866 donner/svg/renderer/RendererDriver.cc:4339-4343 AttributeParser_tests.cc MarkerCommonAttributes; SVGMarkerElementTests.ViewBoxPreserveAspectRatioAndMarkerUnits; resvg painting/marker/with-markerUnits=userSpaceOnUse.svg, with-invalid-markerUnits.svg, with-a-large-stroke.svg low S Keywords and default conformant. The scale factor is the raw numeric value of stroke-width (donner/svg/renderer/RendererDriver.cc:4341) so percentage, em or absolute-unit stroke widths scale wrongly, and vector-effect: non-scaling-stroke does not make markers non-scaling. Animation dispatch exists (donner/svg/renderer/AnimationAttributes.cc:841); animation conformance belongs to animation.md.
attr:orient@marker partial https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#OrientAttribute auto | auto-start-reverse | <angle> | <number>, initial 0; rotation of the marker at its vertex. donner/svg/parser/AttributeParser.cc:1844-1856, 302-335 (ParseAngleAttribute); donner/svg/parser/AngleParser.cc:7-25 donner/svg/core/MarkerOrient.h (computeAngleRadians); donner/svg/renderer/RendererDriver.cc:4336-4337, 4352-4357 AttributeParser_tests.cc MarkerAttributes, MarkerOrientTrailingDataAndInvalidLengths; MarkerOrientTests.AutoStartReverseOrientation; resvg painting/marker/orient=30.svg, orient=-45.svg, orient=1.5rad.svg, orient=40grad.svg, orient=0.25turn.svg, orient=9999.svg, orient=auto-start-reverse.svg low S All grammar alternatives accepted. Divergence: trailing tokens after a valid angle only produce a warning and the leading angle is still applied (donner/svg/parser/AttributeParser.cc:327-334), where an invalid value should be ignored. Closed-subpath auto orientation is covered by feat:svg2/marker-orient-closed-subpath. Animation dispatch exists (donner/svg/renderer/AnimationAttributes.cc:849-861); animation conformance belongs to animation.md.

Attributes: image

Key Class Spec anchor Requirement (paraphrase) Parse evidence Consume evidence Tests Impact Size Notes
attr:crossoriginmissing https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html#ImageElementCrossoriginAttribute [ anonymous | use-credentials ]?; CORS settings attribute that selects the CORS state of the image fetch. none: a case-insensitive search for crossorigin under donner (sources and headers) returns no match; the attribute is stored only as a generic unknown attribute none: fetches go through the host ResourceLoaderInterface (donner/svg/resources/ResourceLoaderInterface.h) with no CORS state none low S Donner performs no network fetch itself, so the practical effect is that a host loader cannot see the requested CORS mode. Animatable per the index; not animatable in Donner.
attr:hrefpartial https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html#ImageElementHrefAttribute URL of a complete document to render (raster or SVG); fetched per the linking chapter; a target-only URL refers to the same file rendered again as an independent image. donner/svg/parser/AttributeParser.cc:1466-1467; donner/svg/SVGImageElement.cc:29-34 donner/svg/components/resources/ResourceManagerContext.cc:337-385 (LoadImageEntity), 161-167 (external vs data classification); donner/svg/resources/UrlLoader.cc:105-169; donner/svg/resources/ImageLoader.cc:226-262 SVGImageElementTests.ParseHref, ParseXlinkHref, ParseDataUri; ImageLoader.LoadsPngDataUrl; resvg structure/image/external-png.svg, embedded-png.svg, external-svg.svg low M External and data URLs conformant. Gaps: an href beginning with # is skipped and nothing is rendered (donner/svg/components/resources/ResourceManagerContext.cc:346-348); media fragments (#xywh=, #svgView) are not interpreted; xlink:href always wins instead of href, whatever the source order: attributes are applied sorted by local name and then prefix, so href is applied first and xlink:href overwrites it (see `feat:xlink/href-precedence#2` in `xml_data_formats.md`). Animatable through the reference-attribute path (donner/svg/renderer/AnimationReferences.cc).

Values

Key Class Spec anchor Requirement (paraphrase) Parse evidence Consume evidence Tests Impact Size Notes
val:gradientUnits/userSpaceOnUse conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#LinearGradientElementGradientUnitsAttribute Geometry is in the user space of the referencing element; percentages are relative to the current SVG viewport. donner/svg/parser/AttributeParser.cc:431-432 donner/svg/renderer/RendererTinySkia.cc:783-802; donner/svg/renderer/RendererGeode.cc:612-626, 639 resvg paint-servers/linearGradient/gradientUnits=userSpaceOnUse.svg, gradientUnits=userSpaceOnUse-with-percent.svg; SVGLinearGradientElementTests.GradientUnitsUserSpaceOnUse - -
val:gradientUnits/objectBoundingBox conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#LinearGradientElementGradientUnitsAttribute Geometry is in bounding-box units of the painted element; percentages are of the bounding box. donner/svg/parser/AttributeParser.cc:433-434 donner/svg/renderer/RendererTinySkia.cc:783-802; donner/svg/renderer/RendererGeode.cc:612-626, 639 resvg paint-servers/linearGradient/gradientUnits=objectBoundingBox-with-percent.svg, default-attributes.svg; PaintSystemTest.GradientUnitsObjectBoundingBox - -
val:spreadMethod/pad conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#LinearGradientElementSpreadMethodAttribute Outside the gradient vector the terminal colors extend. donner/svg/parser/AttributeParser.cc:441-446 donner/svg/renderer/RendererTinySkia.cc:338-349; donner/gpu/shader/programs/SlugGradientSource.h:623-635 resvg paint-servers/linearGradient/spreadMethod=pad.svg, paint-servers/radialGradient/spreadMethod=pad.svg; SVGLinearGradientElementTests.SpreadMethodPad - -
val:spreadMethod/reflect conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#LinearGradientElementSpreadMethodAttribute Outside the gradient vector the gradient mirrors alternately. donner/svg/parser/AttributeParser.cc:441-446 donner/svg/renderer/RendererTinySkia.cc:338-349; donner/gpu/shader/programs/SlugGradientSource.h:623-635 resvg paint-servers/linearGradient/spreadMethod=reflect.svg, paint-servers/radialGradient/spreadMethod=reflect.svg; SVGLinearGradientElementTests.SpreadMethodReflect - -
val:spreadMethod/repeat conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#LinearGradientElementSpreadMethodAttribute Outside the gradient vector the gradient repeats start to end. donner/svg/parser/AttributeParser.cc:441-446 donner/svg/renderer/RendererTinySkia.cc:338-349; donner/gpu/shader/programs/SlugGradientSource.h:623-635 resvg paint-servers/linearGradient/spreadMethod=repeat.svg, paint-servers/radialGradient/spreadMethod=repeat.svg; SVGLinearGradientElementTests.SpreadMethodRepeat - -
val:patternUnits/userSpaceOnUse conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PatternElementPatternUnitsAttribute Tile rectangle is in the referencing element's user space. donner/svg/parser/AttributeParser.cc:1549-1568 donner/svg/renderer/RendererDriver.cc:757-766; donner/svg/components/paint/PaintSystem.cc:238-240 resvg paint-servers/pattern/patternUnits=userSpaceOnUse-with-percent.svg, simple-case.svg; SVGPatternElementTests.UserSpaceOnUseRendering - -
val:patternUnits/objectBoundingBox conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PatternElementPatternUnitsAttribute Tile rectangle is in bounding-box units of the painted element. donner/svg/parser/AttributeParser.cc:1549-1568 donner/svg/renderer/RendererDriver.cc:757-766; donner/svg/components/paint/PaintSystem.cc:238-240 resvg paint-servers/pattern/patternUnits=objectBoundingBox.svg, patternUnits=objectBoundingBox-with-percent.svg; SVGPatternElementTests.ObjectBoundingBoxTiledRendering - -
val:patternContentUnits/userSpaceOnUse conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PatternElementPatternContentUnitsAttribute Pattern content is in the referencing element's user space. donner/svg/parser/AttributeParser.cc:1549-1568 donner/svg/renderer/RendererDriver.cc:770-775; donner/svg/components/paint/PaintSystem.cc:238-240 resvg paint-servers/pattern/simple-case.svg, with-x-and-y.svg - -
val:patternContentUnits/objectBoundingBox conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PatternElementPatternContentUnitsAttribute Pattern content is in bounding-box units of the painted element. donner/svg/parser/AttributeParser.cc:1549-1568 donner/svg/renderer/RendererDriver.cc:770-775; donner/svg/components/paint/PaintSystem.cc:238-240 resvg paint-servers/pattern/patternContentUnits=objectBoundingBox.svg, nested-objectBoundingBox.svg; SVGPatternElementTests.PatternContentObjectBoundingBoxRendering - -
val:markerUnits/strokeWidth partial https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#MarkerUnitsAttribute Marker viewport and content are scaled by the painted stroke width of the referencing element, after transforms that affect the stroke width. donner/svg/parser/AttributeParser.cc:1858-1859 donner/svg/renderer/RendererDriver.cc:4339-4343 resvg painting/marker/with-a-large-stroke.svg (pixel allowance 300), zero-sized-stroke.svg, no-stroke-on-target.svg low S Uses the unitless numeric value of stroke-width; wrong for stroke-width in %, em, mm and under non-scaling-stroke. By code reading.
val:markerUnits/userSpaceOnUse conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#MarkerUnitsAttribute Marker viewport and content use the user coordinate system of the referencing element, with no stroke-width scale. donner/svg/parser/AttributeParser.cc:1860-1861 donner/svg/renderer/RendererDriver.cc:4339-4343 (scale stays 1) resvg painting/marker/with-markerUnits=userSpaceOnUse.svg (pixel allowance 300) - -
val:orient/auto conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#OrientAttribute Positive x-axis of the marker points along the path direction at the vertex. donner/svg/parser/AttributeParser.cc:1845-1846 donner/svg/core/MarkerOrient.h (atan2 of the vertex direction); donner/base/Path.cc:1425-1567 MarkerOrientTests.AutoOrientation; resvg painting/marker/orient=auto-on-M-L.svg, orient=auto-on-M-L-L.svg, orient=auto-on-M-C-C-1.svg through -8.svg (case 4 uses a golden override) - - Vertex direction rules are separate feature rows.
val:orient/auto-start-reverse conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#OrientAttribute Same as auto, except that a marker placed by marker-start is rotated a further 180 degrees. donner/svg/parser/AttributeParser.cc:1847-1848 donner/svg/core/MarkerOrient.h (adds pi only for MarkerType::Start); donner/svg/renderer/RendererDriver.cc:4196-4200 MarkerOrientTests.AutoStartReverseOrientation; resvg painting/marker/orient=auto-start-reverse.svg - -
val:orient/<number> conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#OrientAttribute A bare number is a fixed angle in degrees between the shape's x-axis and the marker's x-axis. donner/svg/parser/AttributeParser.cc:1849-1853; donner/svg/parser/AngleParser.cc:21-23 donner/svg/core/MarkerOrient.h; donner/svg/renderer/RendererDriver.cc:4336-4337 resvg painting/marker/orient=30.svg, orient=-45.svg, orient=9999.svg; AttributeParser_tests.cc MarkerAttributes - -
val:orient/<angle>-deg conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#OrientAttribute An <angle> with the deg unit is a fixed marker rotation. donner/svg/parser/AngleParser.cc:7-14 (unit match is case-insensitive) donner/svg/core/MarkerOrient.h none for the deg suffix on orient (unit-less degrees and the other three units are tested) low S
val:orient/<angle>-grad conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#OrientAttribute An <angle> with the grad unit is a fixed marker rotation. donner/svg/parser/AngleParser.cc:7-14 (unit match is case-insensitive) donner/svg/core/MarkerOrient.h resvg painting/marker/orient=40grad.svg - -
val:orient/<angle>-rad conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#OrientAttribute An <angle> with the rad unit is a fixed marker rotation. donner/svg/parser/AngleParser.cc:7-14 (unit match is case-insensitive) donner/svg/core/MarkerOrient.h resvg painting/marker/orient=1.5rad.svg - -
val:orient/<angle>-turn conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#OrientAttribute An <angle> with the turn unit is a fixed marker rotation. donner/svg/parser/AngleParser.cc:7-14 (unit match is case-insensitive) donner/svg/core/MarkerOrient.h resvg painting/marker/orient=0.25turn.svg - -
val:refX/left conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#MarkerElementRefXAttribute Keyword evaluates to 0% of the viewBox width. donner/svg/parser/AttributeParser.cc:1793-1813 donner/svg/renderer/RendererDriver.cc:4323-4332 AttributeParser_tests.cc MarkerRefKeywords; SVGMarkerElementRenderingTests.RefKeywordResolvesAgainstMarkerViewBox - -
val:refX/center conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#MarkerElementRefXAttribute Keyword evaluates to 50% of the viewBox width. donner/svg/parser/AttributeParser.cc:1793-1813 donner/svg/renderer/RendererDriver.cc:4323-4332 AttributeParser_tests.cc MarkerRefKeywords; SVGMarkerElementRenderingTests.RefKeywordResolvesAgainstMarkerViewBox - -
val:refX/right conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#MarkerElementRefXAttribute Keyword evaluates to 100% of the viewBox width. donner/svg/parser/AttributeParser.cc:1793-1813 donner/svg/renderer/RendererDriver.cc:4323-4332 AttributeParser_tests.cc MarkerRefKeywords; SVGMarkerElementRenderingTests.RefKeywordResolvesAgainstMarkerViewBox - -
val:refX/<length-percentage> conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#MarkerElementRefXAttribute Lengths are in marker content coordinates; percentages are of the viewBox size. donner/svg/parser/AttributeParser.cc:90-112 donner/svg/renderer/RendererDriver.cc:4282-4290, 4323-4332 resvg painting/marker/percent-values.svg; AttributeParser_tests.cc MarkerLengthAttributesWithUnits - -
val:refX/<number> conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#MarkerElementRefXAttribute A number is a coordinate in marker content units. donner/svg/parser/AttributeParser.cc:90-112 donner/svg/renderer/RendererDriver.cc:4348-4350 resvg painting/marker/with-viewBox-2.svg, marker-on-line.svg; SVGMarkerElementTests.Simple - -
val:refY/top conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#MarkerElementRefYAttribute Keyword evaluates to 0% of the viewBox height. donner/svg/parser/AttributeParser.cc:1793-1813 donner/svg/renderer/RendererDriver.cc:4323-4332 AttributeParser_tests.cc MarkerRefKeywords; SVGMarkerElementRenderingTests.RefKeywordResolvesAgainstMarkerViewBox - -
val:refY/center conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#MarkerElementRefYAttribute Keyword evaluates to 50% of the viewBox height. donner/svg/parser/AttributeParser.cc:1793-1813 donner/svg/renderer/RendererDriver.cc:4323-4332 AttributeParser_tests.cc MarkerRefKeywords; SVGMarkerElementRenderingTests.RefKeywordResolvesAgainstMarkerViewBox - -
val:refY/bottom conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#MarkerElementRefYAttribute Keyword evaluates to 100% of the viewBox height. donner/svg/parser/AttributeParser.cc:1793-1813 donner/svg/renderer/RendererDriver.cc:4323-4332 AttributeParser_tests.cc MarkerRefKeywords; SVGMarkerElementRenderingTests.RefKeywordResolvesAgainstMarkerViewBox - -
val:refY/<length-percentage> conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#MarkerElementRefYAttribute Lengths are in marker content coordinates; percentages are of the viewBox size. donner/svg/parser/AttributeParser.cc:90-112 donner/svg/renderer/RendererDriver.cc:4282-4290, 4323-4332 resvg painting/marker/percent-values.svg; AttributeParser_tests.cc MarkerLengthAttributesWithUnits - -
val:refY/<number> conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#MarkerElementRefYAttribute A number is a coordinate in marker content units. donner/svg/parser/AttributeParser.cc:90-112 donner/svg/renderer/RendererDriver.cc:4348-4350 resvg painting/marker/with-viewBox-2.svg, marker-on-line.svg; SVGMarkerElementTests.Simple - -
val:markerWidth/<length-percentage> conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#MarkerWidthAttribute markerWidth and markerHeight accept lengths with units and percentages. donner/svg/parser/AttributeParser.cc:90-112, 1823-1831 donner/svg/renderer/RendererDriver.cc:4273-4280 AttributeParser_tests.cc MarkerLengthAttributesWithUnits; resvg painting/marker/percent-values.svg - -
val:markerWidth/<number> conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#MarkerWidthAttribute markerWidth and markerHeight accept bare numbers (marker units). donner/svg/parser/AttributeParser.cc:90-112, 1823-1831 donner/svg/renderer/RendererDriver.cc:4273-4280 AttributeParser_tests.cc MarkerAttributes; resvg painting/marker/default-clip.svg, empty.svg - -
val:offset/<number> conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#StopElementOffsetAttribute Offset as a number, normally 0 to 1. donner/svg/parser/AttributeParser.cc:146-177 donner/svg/components/paint/PaintSystem.cc:193-198 AttributeParser_tests.cc StopOffsetNumber; resvg paint-servers/stop/offset-clamping.svg - -
val:offset/<percentage> conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#StopElementOffsetAttribute Offset as a percentage, normally 0% to 100%. donner/svg/parser/AttributeParser.cc:146-177 donner/svg/components/paint/PaintSystem.cc:193-198 AttributeParser_tests.cc StopOffsetPercent; resvg paint-servers/stop/offset-with-percent.svg, offset-clamping-with-percent.svg - -
val:preserveAspectRatio conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/coords.html#PreserveAspectRatioAttribute Image is stretched to fill the positioning rectangle exactly. donner/svg/parser/AttributeParser.cc:1468-1476; donner/svg/parser/PreserveAspectRatioParser.cc donner/svg/renderer/RendererDriver.cc:3483-3489 SVGImageElementTests.PreserveAspectRatioParsedNone; resvg structure/image/preserveAspectRatio=none.svg, preserveAspectRatio=none-on-svg.svg - -
val:preserveAspectRatio-meet conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/coords.html#PreserveAspectRatioAttribute Image is uniformly scaled to fit inside the rectangle and aligned per the align keyword. donner/svg/parser/AttributeParser.cc:1468-1476 donner/svg/renderer/RendererDriver.cc:3483-3489, 4713-4714 SVGImageElementTests.PreserveAspectRatioParsedMeet; resvg structure/image/preserveAspectRatio=xMinYMin-meet.svg, =xMidYMid-meet.svg, =xMaxYMax-meet.svg and the -on-svg variants - - The other six align keywords share the same parser and transform code and have no image-specific resvg case.
val:preserveAspectRatio-slice conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/coords.html#PreserveAspectRatioAttribute Image is uniformly scaled to cover the rectangle; the overflow is clipped by the default overflow:hidden. donner/svg/parser/AttributeParser.cc:1468-1476 donner/svg/renderer/RendererDriver.cc:3479-3489 SVGImageElementTests.PreserveAspectRatioParsedSlice; resvg structure/image/preserveAspectRatio=xMinYMin-slice.svg, =xMidYMid-slice.svg, =xMaxYMax-slice.svg and the -on-svg variants - -
val:preserveAspectRatio@marker/all conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/coords.html#PreserveAspectRatioAttribute viewBox is fitted into the markerWidth by markerHeight viewport per align and meetOrSlice. donner/svg/parser/AttributeParser.cc:278-300 donner/svg/renderer/RendererDriver.cc:5097-5113, 5125-5132 SVGMarkerElementTests.ViewBoxPreserveAspectRatioAndMarkerUnits (parse and accessors); RendererRegressionTests.MarkerOverflowClipsToItsViewportNotItsViewBox (meet and slice), RendererRegressionTests.MarkerOverflowClipFollowsAlignmentOriginAndRotation (xMinYMin, a non-zero viewBox origin, none); resvg painting/marker/with-viewBox-1.svg - - Scale is applied correctly, the alignment offset cancels against refX/refY, and the overflow clip is the viewport (see feat:svg2/marker-clip).
val:preserveAspectRatio@pattern/all conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/coords.html#PreserveAspectRatioAttribute viewBox is fitted into the pattern tile per align and meetOrSlice. donner/svg/parser/AttributeParser.cc:278-300 donner/svg/renderer/RendererDriver.cc:770-773; donner/svg/components/paint/PaintSystem.cc:251-256 PaintSystemTest.PatternViewBoxAndPreserveAspectRatioApplied; resvg paint-servers/pattern/preserveAspectRatio.svg, with-viewBox.svg - -
val:crossorigin/anonymous missing https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html#ImageElementCrossoriginAttribute CORS request without credentials. none (a case-insensitive search for crossorigin under donner: no match) none none low S No CORS concept exists; the host loader decides.
val:crossorigin/use-credentials missing https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html#ImageElementCrossoriginAttribute CORS request with credentials. none (a case-insensitive search for crossorigin under donner: no match) none none low S No CORS concept exists; the host loader decides.
val:crossorigin/(absent) not-applicable https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html#ImageElementCrossoriginAttribute No CORS state: fetch in no-cors mode. none (a case-insensitive search for crossorigin under donner: no match) none none - - With no CORS machinery every fetch already behaves as the absent state; the host loader owns network policy.

Features: paint server templates (href)

Key Class Spec anchor Requirement (paraphrase) Parse evidence Consume evidence Tests Impact Size Notes
feat:svg2/pserver-template-recursive-attributes conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PaintServerTemplates An attribute not specified on the element takes the template's value, recursively through the template's own href; the initial value applies only after all valid references are exhausted. optional-valued components: donner/svg/components/paint/GradientComponent.h, LinearGradientComponent.h, RadialGradientComponent.h, PatternComponent.h donner/svg/components/paint/PaintSystem.cc:147-162, 216-229 (base to derived propagation over the chain) resvg paint-servers/linearGradient/attributes-via-xlink-href-complex-order.svg, attributes-via-xlink-href-only-required.svg; RadialGradientComponentTest.InheritAttributesFromBaseAndOverride - -
feat:svg2/gradient-href-x1-y1-x2-y2 conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#LinearGradientElementHrefAttribute x1, y1, x2, y2 are copied from a linearGradient template. donner/svg/parser/AttributeParser.cc:1516-1531 donner/svg/components/paint/LinearGradientComponent.cc:11-35 resvg paint-servers/linearGradient/attributes-via-xlink-href.svg; SVGLinearGradientElementTests.HrefInheritanceChildrenXYRendering - -
feat:svg2/gradient-href-cx-cy-r conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#RadialGradientElementHrefAttribute cx, cy, r are copied from a radialGradient template. donner/svg/parser/AttributeParser.cc:1629-1640 donner/svg/components/paint/RadialGradientComponent.cc:11-31 resvg paint-servers/radialGradient/attributes-via-xlink-href.svg; SVGRadialGradientElementTests.HrefInheritanceChildrenXYRendering - -
feat:svg2/gradient-href-fx-fy-fr conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#RadialGradientElementFXAttribute fx, fy and fr are inherited from a referenced element that specifies them. donner/svg/parser/AttributeParser.cc:1641-1652 donner/svg/components/paint/RadialGradientComponent.cc:32-40 (optional fx/fy keep the unset state so the cx/cy fallback still applies) resvg paint-servers/radialGradient/fx-resolving-2.svg, fx-resolving-3.svg, fy-resolving-2.svg, fy-resolving-3.svg; RadialGradientComponentTest.InheritAttributesFromBaseAndOverride - -
feat:svg2/gradient-href-gradientUnits conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#LinearGradientElementHrefAttribute gradientUnits is copied from the template. donner/svg/parser/AttributeParser.cc:430-439 donner/svg/components/paint/GradientComponent.cc:13-25 resvg paint-servers/linearGradient/attributes-via-xlink-href-only-required.svg; SVGLinearGradientElementTests.HrefInheritanceSharedParamsRendering - -
feat:svg2/gradient-href-spreadMethod conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#LinearGradientElementHrefAttribute spreadMethod is copied from the template. donner/svg/parser/AttributeParser.cc:440-451 donner/svg/components/paint/GradientComponent.cc:13-28 PaintSystemTest.GradientInheritsSpreadMethodViaHref, GradientChildOverridesSpreadMethodFromHref; resvg paint-servers/linearGradient/attributes-via-xlink-href-complex-order.svg - -
feat:svg2/gradient-href-gradientTransform divergent https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#LinearGradientElementHrefAttribute gradientTransform is in the list of attributes copied from the template for both gradient types. donner/svg/SVGElement.cc:639-647 (stored as the element's own transform) donner/svg/components/paint/GradientComponent.cc:12-37 copies no transform; both renderers read only the referenced element's own transform (donner/svg/renderer/RendererTinySkia.cc:783-795, donner/svg/renderer/RendererGeode.cc:617-626); documented as intended in donner/svg/SVGGradientElement.h:79-81 none (no resvg or unit case has a template with gradientTransform and a derived gradient without one) medium S Authoring tools commonly put gradientTransform on a shared template.
feat:svg2/gradient-href-stops conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PaintServerTemplates If the element has no child elements other than descriptive elements, the template's children (or the children its own template would supply) are used. donner/svg/components/paint/PaintSystem.cc:46-66 (title, desc, metadata do not count; only element nodes become children, donner/svg/parser/SVGParser.cc:865) donner/svg/components/paint/PaintSystem.cc:342-345 (shadow tree), 167-199 (follow shadow roots, then collect stops) PaintSystemTest.GradientInheritsStopsViaHref, GradientHrefWithStructuralChildrenDoesNotCreateShadowTree; resvg paint-servers/linearGradient/stops-via-xlink-href.svg, stops-via-xlink-href-complex-order-1.svg, -2.svg - -
feat:svg2/gradient-href-stops-restyled-in-shadow-tree partial https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PaintServerTemplates Inherited children form a use-like shadow tree hosted on the referencing element, so they can inherit different styles than the originals. donner/svg/components/paint/PaintSystem.cc:342-345 donner/svg/components/paint/PaintSystem.cc:167-199 reads the computed stops of the original template element's children, not of per-host clones none low M A template stop with stop-color: inherit or currentColor resolves against the template's ancestors, not the referencing gradient's. By code reading; unverified by execution.
feat:svg2/gradient-href-chain conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PaintServerTemplates Templating is indirect to an arbitrary depth. donner/svg/components/paint/PaintSystem.cc:259-302 donner/svg/components/paint/PaintSystem.cc:147-162 resvg paint-servers/linearGradient/attributes-via-xlink-href-complex-order.svg, paint-servers/radialGradient/stops-via-xlink-href-complex-order.svg - - Chain length is capped by a reference-resolution budget (donner/svg/components/paint/PaintSystem.cc:273-281) with a warning; a deliberate resource limit.
feat:svg2/gradient-href-cycle divergent https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#TermCircularReference A reference that directly or indirectly references itself is an invalid circular reference, so it contributes nothing. donner/svg/components/paint/PaintSystem.cc:282-292 donner/svg/components/paint/PaintSystem.cc:282-292 stops walking at the repeated target but keeps the links already collected, so members of a cycle still inherit from each other (comment at 289-290 states this choice) resvg paint-servers/linearGradient/recursive-xlink-href-1.svg, -2.svg, -3.svg, self-recursive-xlink-href.svg; PaintSystemTest.GradientInitializationStopsOnRecursiveShadowRoot low S Result differs from the CR only when a cycle member omits an attribute another member sets. The resvg cases pass because every member is self-sufficient.
feat:svg2/gradient-href-cross-type conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#LinearGradientElementHrefAttribute A linearGradient may template from a radialGradient and vice versa; only the attributes listed for the referencing type are copied. donner/svg/components/paint/PaintSystem.cc:331 (any gradient is a valid target) donner/svg/components/paint/GradientComponent.cc:13-37; LinearGradientComponent.cc:16-18; RadialGradientComponent.cc:16-18 resvg paint-servers/linearGradient/attributes-via-xlink-href-from-radialGradient.svg, stops-via-xlink-href-from-radialGradient.svg; paint-servers/radialGradient/attributes-via-xlink-href-from-linearGradient.svg - -
feat:svg2/gradient-href-invalid-target conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#TermInvalidReference A reference to a missing element or to a non-gradient element is invalid and contributes nothing. donner/svg/components/paint/PaintSystem.cc:329-352 donner/svg/components/paint/PaintSystem.cc:346-352 (warning, inheritance ignored) PaintSystemTest.GradientHrefToNonGradientWarns; resvg paint-servers/linearGradient/invalid-xlink-href.svg, unresolved-xlink-href.svg, attributes-via-xlink-href-from-rect.svg, paint-servers/radialGradient/xlink-href-not-to-gradient.svg - -
feat:svg2/pserver-template-external-file missing https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PaintServerTemplates Template references may point to external file resources, subject to security limits. donner/svg/components/paint/PaintSystem.cc:329, 373 (Reference::resolve against the current document registry only) none none low L External paint-server templates need subresource document loading for non-image references. By code reading.

Features: gradient geometry and units

Key Class Spec anchor Requirement (paraphrase) Parse evidence Consume evidence Tests Impact Size Notes
feat:svg2/gradient-userSpaceOnUse-percentages conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#LinearGradientElementGradientUnitsAttribute With userSpaceOnUse, percentages are relative to the current SVG viewport of the referencing element. donner/svg/parser/AttributeParser.cc:90-112 donner/svg/renderer/RendererTinySkia.cc:727-734, 802; donner/svg/renderer/RendererGeode.cc:639 resvg paint-servers/linearGradient/gradientUnits=userSpaceOnUse-with-percent.svg, paint-servers/radialGradient/gradientUnits=userSpaceOnUse-with-percent.svg - -
feat:svg2/gradient-objectBoundingBox-mapping conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/coords.html#ObjectBoundingBoxUnits With objectBoundingBox, (0,0)-(1,1) maps to the painted element's bounding box, then gradientTransform applies; normals skew with a non-square box. donner/svg/components/paint/GradientComponent.cc donner/svg/renderer/RendererTinySkia.cc:783-791; donner/svg/renderer/RendererGeode.cc:617-623 resvg paint-servers/linearGradient/gradientUnits=objectBoundingBox-with-percent.svg; SVGLinearGradientElementTests.GradientUnitsRendering; PaintSystemTest.LinearGradientObjectBoundingBoxCoordinates - -
feat:svg2/gradient-zero-size-bbox partial https://www.w3.org/TR/2026/CR-SVG2-20261006/coords.html#ObjectBoundingBoxUnits When the painted geometry has no width or no height and objectBoundingBox units are used, the gradient effect is ignored. n/a donner/svg/renderer/RendererTinySkia.cc:777-781; donner/svg/renderer/RendererGeode.cc:594-598 (no shader); the caller then paints the url() fallback color if one was given, otherwise nothing none found for a zero-width or zero-height bbox with a gradient (search of paint and renderer tests for a horizontal line with gradient stroke) low S The no-paint half matches. Painting the fallback color treats a valid reference as invalid; the CR reserves the fallback for invalid references (https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#SpecifyingPaint).
feat:svg2/gradientTransform-is-presentation-attribute conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#LinearGradientAttributes gradientTransform is a presentation attribute for the transform property, so a CSS transform declaration on the gradient element overrides it. donner/svg/SVGElement.cc:639-647 donner/svg/components/layout/LayoutSystem.cc:762-787 (CSS transform declaration parsed over the attribute value); donner/svg/renderer/RendererTinySkia.cc:737-753 none that sets transform on a gradient through CSS (PaintSystemTest.GradientTransformIsApplied covers the attribute) low S transform-origin on the gradient is also honored (donner/svg/renderer/RendererTinySkia.cc:745-752).
feat:svg2/patternTransform-is-presentation-attribute conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PatternElementAttributes patternTransform is a presentation attribute for the transform property. donner/svg/SVGElement.cc:639-647 donner/svg/renderer/RendererDriver.cc:777-789 none that sets transform on a pattern through CSS (SVGPatternElementTests.PatternTransformRendering covers the attribute) low S
feat:svg2/gradient-geometry-not-presentation-attributes conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#LinearGradientAttributes x1, y1, x2, y2, cx, cy, r are not presentation attributes; CSS does not affect their used values. donner/svg/parser/AttributeParser.cc:1516-1531, 1629-1652 (stored in dedicated components) donner/svg/components/paint/LinearGradientComponent.cc, RadialGradientComponent.cc (no CSS property lookup) none asserting that a CSS cx or r declaration on a radialGradient is ignored low S
feat:svg2/linear-gradient-zero-length-vector divergent https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#LinearGradientNotes If x1 = x2 and y1 = y2 the area is painted with the color and opacity of the last stop. n/a tiny-skia: third_party/tiny-skia-cpp/src/tiny_skia/shaders/LinearGradient.cpp:81-88 (last stop for pad, stop average for reflect and repeat). Geode: no degenerate check (donner/svg/renderer/RendererGeode.cc:748-776); shader computes t = 0 (donner/gpu/shader/programs/SlugGradientSource.h:668-672), so the first stop color is painted none low S Backends disagree with each other and, except tiny-skia pad, with the CR. By code reading.

Features: radial gradient focal rules

Key Class Spec anchor Requirement (paraphrase) Parse evidence Consume evidence Tests Impact Size Notes
feat:svg2/radial-fx-fy-default conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#RadialGradientElementFXAttribute When fx or fy is not specified (after templates), the focal point coincides with cx or cy. donner/svg/components/paint/RadialGradientComponent.h (optional fx, fy) donner/svg/renderer/RendererTinySkia.cc:852-855; donner/svg/renderer/RendererGeode.cc:848-850 resvg paint-servers/radialGradient/fx-resolving-1.svg, fy-resolving-1.svg, default-attributes.svg - - The CR table lists the initial value as 50%; implementations and SVG 1.1 use the cx/cy fallback, which is what the resvg references encode.
feat:svg2/radial-fr conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#RadialGradientElementFRAttribute fr is the radius of the start circle, default 0; the 0% stop maps to its perimeter. donner/svg/parser/AttributeParser.cc:1649-1652 donner/svg/renderer/RendererTinySkia.cc:852, 866-870; donner/gpu/shader/programs/SlugGradientSource.h:674-718 resvg paint-servers/radialGradient/fr=0.2.svg; Geode goldens donner/svg/renderer/testdata/golden radial-fr-1.png, radial-fr-2.png - -
feat:svg2/radial-focal-outside-end-circle conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#RadialGradientNotes A start circle outside the end circle produces a cone; areas outside the cone are transparent black (no SVG 1.1 focal clamping). n/a third_party/tiny-skia-cpp/src/tiny_skia/shaders/RadialGradient.cpp:154-155, 204-217 (two-point conical with degenerate mask); donner/gpu/shader/programs/SlugGradientSource.h:696-717, 793-796 (discard) resvg paint-servers/radialGradient/focal-point-correction.svg (reference shows the cone); Geode goldens radial-conical-1.png, radial-conical-2.png - -
feat:svg2/radial-start-circle-contains-end-circle conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#RadialGradientNotes fr aligns radial gradients with HTML canvas createRadialGradient (https://html.spec.whatwg.org/multipage/canvas.html#dom-context-2d-createradialgradient), which paints every circle with a positive radius and paints nothing only for identical circles. A start circle that contains the end circle therefore paints the whole plane: the last stop inside the end circle, the ramp between the circles and the first stop outside the start circle. n/a donner/svg/renderer/RendererTinySkia.cc radialCirclesCoincide (drops identical circles only), then tiny-skia two-point conical; donner/svg/renderer/RendererGeode.cc radialCirclesCoincide, then donner/gpu/shader/programs/SlugGradientSource.h radial_t resvg paint-servers/radialGradient/fr=0.7.svg compared against its vendored reference at default settings; Donner tests RadialContainingStartCirclePaintsCanvasTwoPointGradient, RadialContainingStartCircleMatchesSwappedCircles and RadialInternallyTangentCirclesPaintOneHalfPlane in donner/svg/renderer/tests/RendererRegression_tests.cc - - Internal tangency (center distance + r = fr) paints only the half-plane its circles cover.
feat:svg2/radial-coincident-circles spec-ambiguity https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#RadialGradientNotes The CR note says no gradient is drawn when the start circle fully overlaps the end circle, and canvas paints nothing when the circles are identical. svgwg issue 648 (https://github.com/w3c/svgwg/issues/648) and the WPT test svg/pservers/reftests/radialgradient-fully-overlapping.svg instead expect identical circles to draw the gradient. n/a donner/svg/renderer/RendererTinySkia.cc and donner/svg/renderer/RendererGeode.cc radialCirclesCoincide (centers within 2^-15 gradient units, and radii within 2^-15, or within 2^-12 when fr exceeds 2^-15, matching tiny-skia) resvg paint-servers/radialGradient/fr=0.5.svg render-only (reference is a placeholder image); Donner tests RadialCoincidentCirclesCurrentlyPaintNothing and RadialNearlyCoincidentConcentricCirclesPaintNothingOnEveryBackend pin the current behavior low - Donner paints nothing, following the CR note and canvas. Which reading is correct is undecided; the WPT expectation would draw the gradient.
feat:svg2/radial-r-zero legacy https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#RadialGradientElementRAttribute The CR defines only that a negative r is an error. SVG 1.1 said r = 0 paints the last stop color; that sentence is absent from the CR. n/a donner/svg/renderer/RendererTinySkia.cc:857-859; donner/svg/renderer/RendererGeode.cc:831-840 (solid last-stop color) resvg paint-servers/radialGradient/zero-r.svg, zero-r-with-stop-opacity-1.svg, zero-r-with-stop-opacity-2.svg low - Kept SVG 1.1 behavior, matching the resvg references and browsers. By the CR's general rule a zero end circle with fr = 0 would fall under 'start circle fully overlaps', that is, no paint.
feat:svg2/radial-negative-radius-error conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#RadialGradientElementRAttribute A negative r or fr is an error; the element in error is not rendered. donner/svg/parser/AttributeParser.cc:1637-1640, 1649-1652 (negative values are stored) donner/svg/renderer/RendererTinySkia.cc:806-809; donner/svg/renderer/RendererGeode.cc:824-826 none asserting the outcome: resvg paint-servers/radialGradient/negative-r.svg and fr=-1.svg are render-only (placeholder references); AttributeParser_tests.cc RadialGradientAttributes covers parsing only low S No pixel assertion exists for the no-paint outcome; see Tests to create.
feat:svg2/radial-focal-on-circle-repeat conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#RadialGradientNotes With the focal point on the end circle and spreadMethod repeat, the region beyond the circle is filled with the offset-weighted average of the stop colors in the interpolation color space. n/a no dedicated handling found: tiny-skia uses the focal-on-circle stage with a degenerate mask (third_party/tiny-skia-cpp/src/tiny_skia/shaders/RadialGradient.cpp:205-217); Geode discards invalid t (SlugGradientSource.h:793-796) none low M Class is the most favorable reading; by code reading both backends leave that region transparent (the Canvas behavior), which would be divergent. Unverified by execution.

Features: gradient stops and interpolation

Key Class Spec anchor Requirement (paraphrase) Parse evidence Consume evidence Tests Impact Size Notes
feat:svg2/stop-offset-clamping conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#StopNotes Offsets below 0 are raised to 0 and above 1 lowered to 1. donner/svg/parser/AttributeParser.cc:170-176 donner/svg/renderer/RendererGeode.cc:685; third_party/tiny-skia-cpp/src/tiny_skia/shaders/Gradient.cpp:43-48 SVGStopElementTests.OffsetClampingFromParsing; resvg paint-servers/stop/offset-clamping.svg, offset-clamping-with-percent.svg - -
feat:svg2/stop-offset-monotonic conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#StopNotes An offset smaller than an earlier one is raised to the largest previous offset. n/a donner/svg/renderer/RendererGeode.cc:668-688; third_party/tiny-skia-cpp/src/tiny_skia/shaders/Gradient.cpp:33-50 resvg paint-servers/stop/stop-with-smaller-offset.svg, zero-offset-in-the-middle.svg, missing-offset-1.svg through missing-offset-7.svg - -
feat:svg2/stop-zero-stops partial https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#StopNotes With no stops, painting occurs as if none were specified. n/a donner/svg/renderer/RendererTinySkia.cc:821-823; donner/svg/renderer/RendererGeode.cc:753-755, 814-816 (no shader, then the url() fallback color is painted if present) resvg paint-servers/linearGradient/no-stops.svg, paint-servers/radialGradient/no-stops.svg; PaintSystemTest.LinearGradientNoStops low S Without a fallback color nothing is painted (tested). With url(#g) red the fallback color is painted although the reference is valid; the CR says none.
feat:svg2/stop-single-stop conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#StopNotes With one stop, paint a solid fill of that stop's color. n/a donner/svg/renderer/RendererTinySkia.cc:825-827; Geode pads through the stop sampler (SlugGradientSource.h:637-647) resvg paint-servers/linearGradient/single-stop.svg, single-stop-with-opacity-used-by-fill.svg, -used-by-stroke.svg, -used-by-fill-and-stroke.svg, paint-servers/radialGradient/single-stop.svg - -
feat:svg2/stop-identical-offsets conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#StopNotes Stops at the same offset produce a hard transition; the later stop controls the color at that point. n/a third_party/tiny-skia-cpp/src/tiny_skia/shaders/Gradient.cpp:193-206 (zero-width spans skipped); SlugGradientSource.h:648-657 PaintSystemTest.MultipleStopsAtSameOffset; resvg paint-servers/stop/stops-with-equal-offset-1.svg through -6.svg, equal-stop-color.svg - -
feat:svg2/stop-color conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#StopColorProperty stop-color takes a <color>, initial black, not inherited, applies to stop; currentColor allowed. donner/svg/components/paint/StopComponent.cc:11-19, 44-47; registry entry donner/svg/properties/PropertyRegistry.cc:2481 donner/svg/components/paint/StopComponent.cc:61-94; donner/svg/components/paint/PaintSystem.cc:193-198 SVGStopElementTests.ComputedStopColorDefault, ComputedStopColorWithCssStylesheet; StopComponentTest.ComputedStopComponentResolvesCurrentColorAndWarnings; resvg paint-servers/stop-color/simple-case.svg, paint-servers/stop/stop-color-with-currentColor-1.svg through -4.svg, stop-color-with-inherit-1.svg through -5.svg, no-stop-color.svg (500px resvg v0.49.0 reference at default limits) - - The property definition row itself belongs to painting_properties.md; referenced here for the stop rules.
feat:svg2/stop-color-transparent-not-premultiplied conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#StopColorProperty Gradients are not interpolated in premultiplied space; transparent means transparent black. n/a third_party/tiny-skia-cpp/src/tiny_skia/shaders/Gradient.cpp:221-223 (premultiply after interpolation); SlugGradientSource.h:797-801 resvg paint-servers/stop/hsla-color.svg, paint-servers/linearGradient/hsla-color.svg, paint-servers/stop-opacity/simple-case.svg - - No case uses the transparent keyword itself.
feat:svg2/stop-opacity conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#StopOpacityProperty stop-opacity is a number or percentage clamped to 0..1, initial 1, not inherited; the used opacity is its product with the stop-color alpha. donner/svg/components/paint/StopComponent.cc:21-29; donner/svg/properties/PropertyParsing.cc:106-120 donner/svg/renderer/RendererTinySkia.cc:814-819 (color.resolve with stop.opacity); donner/svg/renderer/RendererGeode.cc:682-683 SVGStopElementTests.ComputedStopOpacity, ComputedStopOpacityWithCssStylesheet; resvg paint-servers/stop-opacity/simple-case.svg, 50percent.svg - -
feat:svg2/stop-only-direct-children conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#GradientStops The color vector is defined by stop elements that are children of the gradient. n/a donner/svg/components/paint/PaintSystem.cc:190-199 resvg paint-servers/linearGradient/invalid-child-1.svg, invalid-child-2.svg, invalid-child-3.svg - -
feat:svg2/gradient-linear-interpolation conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#Gradients Between two stops each channel is the linear interpolation of the stop colors weighted by distance. n/a third_party/tiny-skia-cpp/src/tiny_skia/shaders/Gradient.cpp:150-215; SlugGradientSource.h:637-660 resvg paint-servers/linearGradient/many-stops.svg, default-attributes.svg; SVGLinearGradientElementTests.RenderingDefaults - -
feat:svg2/gradient-color-interpolation-property missing https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#ColorInterpolationProperty color-interpolation (auto, sRGB, linearRGB) on the gradient element directly referenced by fill or stroke selects the color space for stop interpolation. property parsed, see painting_properties.md no gradient consumer: a search for 'LinearRGB' in donner/svg/renderer/RendererTinySkia.cc and donner/svg/renderer/RendererGeode.cc restricted to gradient code returns nothing; the only renderer use is masks (donner/svg/renderer/RendererDriver.cc:3844) none low M All gradients interpolate in sRGB. The property row itself belongs to painting_properties.md.
feat:svg2/gradient-many-stops conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#GradientStops Every stop participates in the gradient; the CR sets no stop-count limit. n/a donner/svg/renderer/RendererGeode.cc buildGradientStops (every stop); donner/svg/renderer/geode/GeoEncoder.cc layOutStopRamp and acquireGradientRamp (past 16 stops, a stop ramp texture); donner/gpu/shader/programs/SlugGradientSource.h sample_ramp_stops; tiny-skia has no cap (donner/svg/renderer/RendererTinySkia.cc:1184-1192) RendererGeodeTest.GradientsWithManyStopsMatchTinySkia (16, 17, 32 and 2500 stops, linear and radial, fill, stroke and clipped fill), ManyStopHardEdgesMatchTinySkia, ManyStopSpreadMethodsMatchTinySkia, ManyStopGradientBetweenBatchedFillsKeepsPaintOrder, GradientStopBudgetRefusesLikeTinySkia; VulkanColorMatrixTest and MetalColorMatrixTest SlugGradientRampStops, SlugGradientWrappedRampStops; resvg paint-servers/linearGradient/many-stops.svg, paint-servers/radialGradient/many-stops.svg - - Both backends charge a frame's gradient stops against RendererDrawBudget::kMaximumGradientStops and refuse the rest of the frame past it.

Features: pattern tile rules

Key Class Spec anchor Requirement (paraphrase) Parse evidence Consume evidence Tests Impact Size Notes
feat:svg2/pattern-tile-rect conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#Patterns x, y, width, height and patternUnits define the reference rectangle that is tiled infinitely in both directions. donner/svg/parser/AttributeParser.cc:1543-1545 donner/svg/components/paint/PaintSystem.cc:238-244; donner/svg/renderer/RendererDriver.cc:757-766, 795-798; tiny-skia Pattern shader with repeat spread (donner/svg/renderer/RendererTinySkia.cc:3015-3020) resvg paint-servers/pattern/simple-case.svg, with-x-and-y.svg, tiny-pattern-upscaled.svg; SVGPatternElementTests.ObjectBoundingBoxTiledWithXYRendering - -
feat:svg2/pattern-attributes-not-css divergent https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PatternElementAttributes x, y, width and height on pattern are not presentation attributes; CSS does not affect the used values. donner/svg/parser/AttributeParser.cc:192-215 donner/svg/components/paint/PaintSystem.cc:242-244 calls LayoutSystem::computeSizeProperties, which overlays the element's CSS x/y/width/height declarations (donner/svg/components/layout/LayoutSystem.cc:715-731) none low S By code reading: a stylesheet width or height matching a pattern changes its tile. Unverified by execution.
feat:svg2/pattern-viewBox conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PatternNotes With viewBox, the content coordinate system is fitted into the tile by the viewBox and preserveAspectRatio rules. donner/svg/parser/AttributeParser.cc:278-300 donner/svg/renderer/RendererDriver.cc:770-773; donner/svg/components/paint/PaintSystem.cc:251-256 resvg paint-servers/pattern/with-viewBox.svg, viewBox-via-xlink-href.svg; PaintSystemTest.PatternViewBoxAndPreserveAspectRatioApplied - -
feat:svg2/pattern-no-viewBox-origin conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PatternNotes Without viewBox the content coordinate system has its origin at (x, y). n/a donner/svg/renderer/RendererDriver.cc:795-798 (Translate(rect.topLeft)) resvg paint-servers/pattern/with-x-and-y.svg; SVGPatternElementTests.UserSpaceOnUseWithXYRendering - -
feat:svg2/pattern-contentUnits-ignored-with-viewBox conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PatternElementPatternContentUnitsAttribute patternContentUnits has no effect when viewBox is specified. n/a donner/svg/renderer/RendererDriver.cc:770-775 (viewBox branch takes precedence) resvg paint-servers/pattern/patternContentUnits-with-viewBox.svg - -
feat:svg2/pattern-overflow-hidden conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PatternNotes UA style sheet sets overflow: hidden on pattern, clipping content to the tile. donner/svg/core/UserAgentStylesheet.h:19 tile is rasterized into a tile-sized surface (donner/svg/renderer/RendererDriver.cc:4020-4028; donner/svg/renderer/PatternTile.cc:20-55), so content is always clipped resvg paint-servers/pattern/simple-case.svg, pattern-on-child.svg - -
feat:svg2/pattern-overflow-visible spec-ambiguity https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PatternNotes Rendering with overflow: visible on a pattern is explicitly undefined; implementers are encouraged to render the overflow. overflow property parsed generally the overflow value is never read for patterns; content is always clipped to the tile resvg paint-servers/pattern/overflow=visible.svg is render-only low L Allowed by the CR; noted because the CR encourages rendering overflow.
feat:svg2/pattern-nested conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PatternElement Pattern content may itself be painted with patterns; a reference that revisits a pattern already being rendered is circular and invalid, so only that paint layer is not painted. n/a donner/svg/components/shadow/ShadowTreeSystem.cc createShadowAndChildren (fill and stroke branches keep the referencing element); donner/svg/renderer/RendererDriver.cc renderPattern (active-chain guard activePatternTiles_) SVGPatternElementTests.PatternRecursionOnChild, PatternMutualRecursion*, PatternThreeWayRecursionTerminates, PatternLongAcyclicChainTerminates; resvg paint-servers/pattern/pattern-on-child.svg, nested-objectBoundingBox.svg, recursive-on-child.svg, self-recursive.svg, self-recursive-on-child.svg (Donner goldens), out-of-order-referencing.svg (explicit nested tile reference at default settings) - -
feat:svg2/pattern-zero-size-tile conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PatternElementWidthAttribute A width or height of zero disables rendering of the element: no paint is applied. n/a donner/svg/renderer/RendererDriver.cc:4014-4018 resvg paint-servers/pattern/missing-width.svg, missing-height.svg (initial value 0) - -
feat:svg2/pattern-negative-size conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PatternElementWidthAttribute A negative width or height is an error; the element in error is not rendered. donner/svg/parser/AttributeParser.cc:192-215 (negative values stored) donner/svg/renderer/PatternTile.cc:24-29 rejects non-positive tile sizes, so beginPatternTile fails and nothing is painted (donner/svg/renderer/RendererDriver.cc:4024-4028) PatternTile.RasterMetricsRejectUnsafeDimensionsAndTransforms covers the metric helper only; no document-level case low S By code reading; Geode tile path not traced separately.
feat:svg2/pattern-objectBoundingBox-zero-bbox conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/coords.html#ObjectBoundingBoxUnits With objectBoundingBox units and a zero-width or zero-height geometry, the effect is ignored. n/a donner/svg/renderer/RendererDriver.cc:759-762 none low S
feat:svg2/pattern-href-size-and-units conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PatternElementHrefAttribute x, y, width, height, patternUnits and patternContentUnits are copied from the template. donner/svg/parser/AttributeParser.cc:1543-1568 donner/svg/components/paint/PatternComponent.cc:11-39 PatternComponentTest.InheritAttributesFromBaseAndOverride; PaintSystemTest.PatternHrefChildOverridesBase; resvg paint-servers/pattern/attributes-via-xlink-href.svg - -
feat:svg2/pattern-href-viewBox-preserveAspectRatio partial https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PatternElementHrefAttribute viewBox and preserveAspectRatio are copied from the template independently of each other. donner/svg/parser/AttributeParser.cc:278-300 donner/svg/components/paint/PatternComponent.cc:16-17; donner/svg/components/paint/PaintSystem.cc:251-256 (own preserveAspectRatio read only when the element has its own viewBox, and then it replaces the inherited one even if unspecified) resvg paint-servers/pattern/viewBox-via-xlink-href.svg (inherits both together) low S Wrong in two cases: derived pattern sets only preserveAspectRatio (ignored); derived pattern sets only viewBox (template's preserveAspectRatio lost). By code reading.
feat:svg2/pattern-href-patternTransform divergent https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PatternElementHrefAttribute patternTransform is copied from the template. donner/svg/SVGElement.cc:639-647 donner/svg/renderer/RendererDriver.cc:777-789 reads only the referenced pattern's own transform; donner/svg/components/paint/PatternComponent.cc:8-40 copies none none medium S
feat:svg2/pattern-href-children conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PaintServerTemplates A pattern with no non-descriptive children uses the template's children (new for descriptive-only content in SVG 2). donner/svg/components/paint/PaintSystem.cc:46-66 donner/svg/components/paint/PaintSystem.cc:379-381 resvg paint-servers/pattern/children-via-xlink-href.svg, everything-via-xlink-href.svg, no-children.svg - -
feat:svg2/pattern-href-invalid-or-cycle conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PatternElementHrefAttribute The template must be a different pattern element; other targets and cycles are invalid. donner/svg/components/paint/PaintSystem.cc:373-388 donner/svg/components/paint/PaintSystem.cc:282-292 PaintSystemTest.PatternHrefToNonPatternWarns; SVGPatternElementTests.PatternRecursionHref - - Cycle handling has the same truncate-instead-of-invalidate nuance as gradients (see feat:svg2/gradient-href-cycle).
feat:svg2/pattern-style-inheritance conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#Introduction Properties inherit into paint server content from the paint server's ancestors, not from the referencing element. donner/svg/SVGPatternElement.cc:37 (DoNotInheritFillOrStrokeTag) offscreen shadow tree keeps the pattern's own style ancestry (donner/svg/renderer/RenderingContext.cc:1096-1110) resvg paint-servers/pattern/pattern-on-child.svg, child-with-invalid-FuncIRI.svg, text-child.svg (explicit clipped text grid at default settings) - - No case isolates inheritance from the referencing element; relies on general shadow-tree behavior.
feat:svg2/pattern-display-none-child conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PatternElement Pattern content follows normal rendering rules, so display: none children are not painted. n/a donner/svg/renderer/RenderingContext.cc:442-444 resvg paint-servers/pattern/display=none-on-child.svg - -
feat:svg2/pattern-events-not-processed not-applicable https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#PatternNotes Event attributes and listeners on pattern content are not processed. n/a n/a none - - Donner has no script or DOM event dispatch.

Features: paint server references

Key Class Spec anchor Requirement (paraphrase) Parse evidence Consume evidence Tests Impact Size Notes
feat:svg2/pserver-fallback-invalid-reference conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#SpecifyingPaint If a paint server reference is invalid (missing element or not a paint server), the fallback color or none is used; with no fallback nothing is painted. paint grammar, see painting_properties.md donner/svg/renderer/RenderingContext.cc:1096-1110 resvg painting/fill and painting/stroke FuncIRI cases; paint-servers/pattern/child-with-invalid-FuncIRI.svg - - The <paint> grammar rows belong to painting_properties.md.
feat:svg2/pserver-never-rendered conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#Introduction Paint server elements are never rendered directly; display is forced to none by a UA rule that outranks author styles. donner/svg/SVGLinearGradientElement.cc:11-12, SVGRadialGradientElement.cc:11-12 (Nonrenderable); SVGPatternElement.cc:31-34 (ShadowOnlyChildren) donner/svg/renderer/RenderingContext.cc:426-437 SVGLinearGradientElementTests.RenderingDefaults; resvg paint-servers/pattern/simple-case.svg (pattern content not drawn in place) - - Implemented as a rendering-behavior flag, not as the UA style rule the CR describes; computed display for these elements is therefore not none.
feat:svg2/pserver-referencable-when-display-none partial https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html#Introduction Paint servers remain available for referencing even when display is none on the element or any ancestor. n/a gradients: computed without render traversal (donner/svg/components/paint/PaintSystem.cc:93-106), so display does not matter. patterns: the offscreen subtree root mirrors the pattern element and traversal returns early on display: none (donner/svg/renderer/RenderingContext.cc:442-444) none low S By code reading, a pattern with display="none" on the pattern element itself paints nothing, while display: none on an ancestor is harmless because display is not inherited. Unverified by execution.

Features: markers

Key Class Spec anchor Requirement (paraphrase) Parse evidence Consume evidence Tests Impact Size Notes
feat:svg2/marker-viewport-size conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#MarkerWidthAttribute markerWidth and markerHeight give the viewport; zero renders nothing; negative is an error. donner/svg/parser/AttributeParser.cc:1823-1831 donner/svg/renderer/RendererDriver.cc:4310-4316 resvg painting/marker/zero-sized.svg, marker-with-a-negative-size.svg, empty.svg - -
feat:svg2/marker-clip conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#RenderingMarkers With overflow hidden (the UA default) an implicit clip is established at the bounds of the marker's SVG viewport. donner/svg/core/UserAgentStylesheet.h:19 donner/svg/renderer/RendererDriver.cc:5125-5136: the clip rectangle is the viewport, mapped into viewBox units by the inverse of the viewBox transform and pushed in marker space, so it turns with the marker RendererRegressionTests.MarkerOverflowClipsToItsViewportNotItsViewBox; RendererRegressionTests.MarkerOverflowClipFollowsAlignmentOriginAndRotation (alignment, viewBox origin, none, orient="45"), MarkerClipInsideTurnedNestedViewportKeepsTheViewportClip, MarkerClipPartlyOutsideTurnedNestedViewportKeepsBothClips, MarkerClipOctagonIntersectionKeepsTheEnclosingClip, StackedTurnedViewportsDrawTheirIntersection; resvg painting/marker/default-clip.svg (pixel allowance 300), with-viewBox-1.svg - - Geode tests one four-edge clip polygon (donner/svg/renderer/RendererGeode.cc FoldClipPolygon): inside a turned enclosing clip the marker clip is exact while the intersection has at most four edges, and falls back to the marker viewport's device-space bounds beyond that (#2627).
feat:svg2/marker-overflow-visible conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#RenderingMarkers If overflow on the marker does not require clipping, content outside the viewport is rendered. overflow property parsed generally donner/svg/renderer/RendererDriver.cc:4368-4372 (no clip for visible or auto) none found with overflow=visible on a marker low S
feat:svg2/marker-units-strokeWidth-scale partial https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#RenderingMarkers With markerUnits strokeWidth the marker coordinate system is scaled by the current stroke-width; with non-scaling-stroke markers are also non-scaling. donner/svg/parser/AttributeParser.cc:1857-1866 donner/svg/renderer/RendererDriver.cc:4339-4343, 4352-4357 resvg painting/marker/with-a-large-stroke.svg, zero-sized-stroke.svg, no-stroke-on-target.svg low S Unit-less stroke widths are correct. stroke-width with units or percentages and vector-effect: non-scaling-stroke are not handled.
feat:svg2/marker-orient-open-subpath-ends conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#RenderingMarkers At the start or end of an open subpath an auto marker follows the path direction. n/a donner/base/Path.cc:1451-1461, 1526-1548, 1560-1565 resvg painting/marker/orient=auto-on-M-L.svg, orient=auto-on-M-L-M-C.svg, orient=auto-on-M-C-M-L.svg, zero-length-path-1.svg, zero-length-path-2.svg - -
feat:svg2/marker-orient-interior-bisector conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#RenderingMarkers At other vertices an auto marker points halfway between the incoming and outgoing directions. n/a donner/base/Path.cc:1549-1553 (InterpolateTangents) resvg painting/marker/orient=auto-on-M-L-L.svg, orient=auto-on-M-L-C.svg, orient=auto-on-M-C-L.svg, orient=auto-on-M-C-C-1.svg through -8.svg, on-ArcTo.svg - -
feat:svg2/marker-orient-closed-subpath divergent https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#RenderingMarkers Only open-subpath ends use the plain path direction; the first and last vertices of a closed subpath fall under the bisector rule. n/a donner/base/Path.cc:1507-1515 (closing vertex uses the incoming direction only), 1526-1530 (first vertex uses the outgoing direction only; comment cites SVG 2) resvg painting/marker/orient=auto-on-M-L-Z.svg, orient=auto-on-M-L-L-Z-Z-Z.svg pass against the resvg references low S Matches resvg and the tested references; differs from the literal CR sentence. Needs a decision between the reference renderings and the CR text.
feat:svg2/marker-orient-auto-start-reverse conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#OrientAttribute auto-start-reverse flips only the marker-start marker by 180 degrees. donner/svg/parser/AttributeParser.cc:1847-1848 donner/svg/core/MarkerOrient.h; donner/svg/renderer/RendererDriver.cc:4196-4200 resvg painting/marker/orient=auto-start-reverse.svg; MarkerOrientTests.AutoStartReverseOrientation - -
feat:svg2/marker-orient-fixed-angle conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#OrientAttribute A fixed angle is measured from the shape's positive x-axis, independent of path direction. donner/svg/parser/AttributeParser.cc:1849-1853 donner/svg/core/MarkerOrient.h resvg painting/marker/orient=30.svg, orient=-45.svg; MarkerOrientTests.AngleDegrees - -
feat:svg2/marker-ref-point-placement conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#MarkerElementRefXAttribute The reference point (refX, refY), in content coordinates after viewBox, is placed exactly on the vertex. donner/svg/parser/AttributeParser.cc:1832-1843 donner/svg/renderer/RendererDriver.cc:4345-4361 resvg painting/marker/with-viewBox-2.svg, marker-on-line.svg; SVGMarkerElementRenderingTests.RefKeywordResolvesAgainstMarkerViewBox - -
feat:svg2/marker-viewBox conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#RenderingMarkers A viewBox on the marker adds the viewBox-to-viewport transform. donner/svg/parser/AttributeParser.cc:278-300 donner/svg/renderer/RendererDriver.cc:4320-4323, 4345-4361 resvg painting/marker/with-viewBox-1.svg, with-viewBox-2.svg; SVGMarkerElementTests.ViewBoxPreserveAspectRatioAndMarkerUnits - -
feat:svg2/marker-on-path conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#VertexMarkerProperties Vertex markers are drawn on the vertices of the path. n/a donner/svg/renderer/RenderingContext.cc:567-609 (any shape with a computed path); donner/svg/renderer/RendererDriver.cc:4150-4212; donner/base/Path.cc:1425-1567 resvg painting/marker/only-marker-start.svg, only-marker-mid.svg, only-marker-end.svg - -
feat:svg2/marker-on-line conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#VertexMarkerProperties Vertex markers are drawn on the vertices of the line. n/a donner/svg/renderer/RenderingContext.cc:567-609 (any shape with a computed path); donner/svg/renderer/RendererDriver.cc:4150-4212; donner/base/Path.cc:1425-1567 resvg painting/marker/marker-on-line.svg - -
feat:svg2/marker-on-polyline conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#VertexMarkerProperties Vertex markers are drawn on the vertices of the polyline. n/a donner/svg/renderer/RenderingContext.cc:567-609 (any shape with a computed path); donner/svg/renderer/RendererDriver.cc:4150-4212; donner/base/Path.cc:1425-1567 resvg painting/marker/marker-on-polyline.svg; SVGMarkerElementTests.MarkerMidPropertyPolyline - -
feat:svg2/marker-on-polygon conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#VertexMarkerProperties Markers apply to all shapes using the equivalent path; for shapes other than path and polyline the last vertex equals the first, so start and end markers both render there. n/a donner/svg/renderer/RenderingContext.cc:567-609 (any shape with a computed path); donner/svg/renderer/RendererDriver.cc:4150-4212; donner/base/Path.cc:1425-1567 resvg painting/marker/marker-on-polygon.svg; SVGMarkerElementTests.MarkerMidPropertyPolygon - -
feat:svg2/marker-on-rect conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#VertexMarkerProperties Markers apply to all shapes using the equivalent path; for shapes other than path and polyline the last vertex equals the first, so start and end markers both render there. n/a donner/svg/renderer/RenderingContext.cc:567-609 (any shape with a computed path); donner/svg/renderer/RendererDriver.cc:4150-4212; donner/base/Path.cc:1425-1567 resvg painting/marker/marker-on-rect.svg, marker-on-rounded-rect.svg - -
feat:svg2/marker-on-circle conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#VertexMarkerProperties Markers apply to all shapes using the equivalent path; for shapes other than path and polyline the last vertex equals the first, so start and end markers both render there. n/a donner/svg/renderer/RenderingContext.cc:567-609 (any shape with a computed path); donner/svg/renderer/RendererDriver.cc:4150-4212; donner/base/Path.cc:1425-1567 resvg painting/marker/marker-on-circle.svg - -
feat:svg2/marker-on-ellipse conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#VertexMarkerProperties Markers apply to all shapes using the equivalent path; for shapes other than path and polyline the last vertex equals the first, so start and end markers both render there. n/a donner/svg/renderer/RenderingContext.cc:567-609 (any shape with a computed path); donner/svg/renderer/RendererDriver.cc:4150-4212; donner/base/Path.cc:1425-1567 none specific to ellipse (shares the circle path builder and vertex code) low S
feat:svg2/marker-vertex-selection conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#VertexMarkerProperties marker-start only on the first vertex of the whole path, marker-end only on the last, marker-mid on every other vertex, including subpath boundaries and closed-subpath closing vertices. n/a donner/svg/renderer/RendererDriver.cc:4193-4212; donner/base/Path.cc:1425-1567 resvg painting/marker/target-with-subpaths-1.svg, orient=auto-on-M-L-L-Z-Z-Z.svg, orient=auto-on-M-L-M-C.svg (target-with-subpaths-2.svg render-only) - - A path consisting of only M x y Z yields a single vertex, so marker-end is not drawn there (by reading donner/base/Path.cc:1467-1519 and donner/svg/renderer/RendererDriver.cc:4196-4209). The zero-length close on all-curve contours intentionally omits an extra mid marker (Path.cc:1483-1494).
feat:svg2/marker-no-inheritance-from-referencing-element conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#RenderingMarkers Properties do not inherit from the referencing element into marker content; styles come from the marker's own ancestry. n/a offscreen marker shadow branch (donner/svg/renderer/RenderingContext.cc:1367-1408, 1524-1531) none isolating it (resvg painting/marker/inheritance-1.svg and inheritance-2.svg exercise inheritance of the marker properties themselves, not of styles into marker content) low S
feat:svg2/marker-context-paint conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#RenderingMarkers context-fill and context-stroke inside marker content take the referencing element's paint (property rows are in painting_properties.md). see painting_properties.md donner/svg/renderer/RenderingContext.cc:567-575; donner/svg/renderer/RendererDriver.cc:4167-4188 resvg painting/context/in-marker.svg and the other in-marker cases of that directory - - Reference row only.
feat:svg2/marker-rendering-order conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#Markers Markers on one element are painted in order: marker-start, then marker-mid in path order, then marker-end. n/a donner/svg/renderer/RendererDriver.cc:4193-4212 (single pass over vertices in path order) none where different start, mid and end markers overlap at one vertex so that order is observable (resvg target-with-subpaths-1.svg uses three distinct markers on separate vertices) low S
feat:svg2/marker-display-none-on-marker partial https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#RenderingMarkers Markers are available for referencing even when display on the marker element is none. n/a donner/svg/renderer/RenderingContext.cc:442-444 returns early for display: none on the mirrored marker root of the offscreen branch none low S By code reading a marker with display="none" on itself is not drawn. Unverified by execution.
feat:svg2/marker-display-none-on-ancestor conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#RenderingMarkers Markers are available for referencing even when display is none on an ancestor of the marker. n/a marker content is instantiated through a shadow branch that does not consult ancestors (donner/svg/renderer/RenderingContext.cc:1385-1399); display is not inherited none low S
feat:svg2/marker-never-rendered-directly conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#RenderingMarkers Marker elements are not rendered directly; only through marker properties. donner/svg/SVGMarkerElement.cc:24-27 (ShadowOnlyChildren) donner/svg/renderer/RenderingContext.cc:430-435 resvg painting/marker/empty.svg, no-stroke-on-target.svg; SVGMarkerElementTests.Simple - - Implemented as a rendering-behavior flag rather than the UA display rule.
feat:svg2/marker-with-use conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#RenderingMarkers Markers render on shapes instantiated through use, and marker instances behave like a non-exposed deep clone. n/a donner/svg/renderer/RenderingContext.cc:1385-1392 (shadow entity maps to its light entity to find the marker branch) resvg painting/context/in-nested-use-and-marker.svg (runs at default thresholds; a marker on a shape inside a use instance) - -
feat:svg2/marker-invalid-reference conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#VertexMarkerProperties If the marker reference is not valid, no marker is drawn at those vertices. n/a donner/svg/renderer/RenderingContext.cc:1369-1370, 1408 none found (search of resvg painting/marker for marker properties that point at a missing id or a non-marker element) low S The none keyword and url grammar of the marker properties belong to painting_properties.md.
feat:svg2/marker-recursion conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#TermCircularReference A marker whose content references itself directly or indirectly is a circular reference and is invalid. n/a donner/svg/renderer/RenderingContext.cc:1371-1383 resvg painting/marker/recursive-1.svg through recursive-5.svg, nested.svg - -
feat:svg2/marker-no-events not-applicable https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#RenderingMarkers Events are not dispatched to a marker or its children. n/a n/a none - - No event dispatch in Donner.

Features: image

Key Class Spec anchor Requirement (paraphrase) Parse evidence Consume evidence Tests Impact Size Notes
feat:svg2/image-format-png conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html#ImageElement PNG support is required. donner/svg/resources/ImageLoader.cc:38-43, 144-145 donner/svg/resources/ImageLoader.cc:139-223 (stb_image decode to RGBA) ImageLoader.LoadsPngDataUrl; resvg structure/image/embedded-png.svg, external-png.svg, embedded-16bit-png.svg - -
feat:svg2/image-format-jpeg conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html#ImageElement JPEG support is required. donner/svg/resources/ImageLoader.cc:94-97, 144-145 donner/svg/resources/ImageLoader.cc:139-223 resvg structure/image/embedded-jpeg-as-image-jpeg.svg, embedded-jpeg-as-image-jpg.svg, embedded-jpeg-without-mime.svg, external-jpeg.svg - -
feat:svg2/image-format-svg conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html#ImageElement SVG (image/svg+xml) support is required. donner/svg/resources/ImageLoader.cc:236-262 (MIME or content sniff, gzip) donner/svg/components/resources/ResourceManagerContext.cc:232-255; donner/svg/renderer/RendererDriver.cc:3435-3458, 4688-4740 ImageLoader.RoutesExplicitSvgMimeTypeToSvgContent, SniffsSvgzMagicWhenMimeTypeIsEmpty; resvg structure/image/embedded-svg.svg, external-svg.svg, embedded-svgz.svg, external-svgz.svg, embedded-svg-without-mime.svg - -
feat:svg2/image-format-other not-applicable https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html#ImageElement Other formats are optional. donner/svg/resources/ImageLoader.cc:98-104, 144-147 GIF decodes (first frame); other MIME types are rejected resvg structure/image/embedded-gif.svg, external-gif.svg; ImageLoader.RejectsUnsupportedRasterMimeType - - GIF is an extra beyond the CR's minimum.
feat:svg2/image-rgba-result conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html#ImageElement The result is always RGBA; RGB gets alpha 1 and grayscale is expanded to RGB with alpha 1. n/a donner/svg/resources/ImageLoader.cc:195-220 (decode requests 4 channels) none that feeds a grayscale image (16-bit and RGB PNG cases exist) low S
feat:svg2/image-svg-secure-mode partial https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html#ImageElement A referenced SVG is processed in secure animated mode if the host document supports animation, else secure static mode. donner/svg/parser/SVGParser.cc:996-999 (always SecureStatic) donner/svg/components/resources/ResourceManagerContext.cc:443, 526-527, 569-570 (secure modes disable external loads) ResourceManagerContextTest.LoadExternalSVGSecureModeBlocked, SecureModesLoadDataImagesWithoutExternalRequests low M Security half conformant. Animations inside an SVG image never run, even when the host document animates. The linking chapter separately says fetched subresources use secure static mode, so the two chapters differ.
feat:svg2/image-auto-size-raster conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html#Placement auto width or height sizes the image from the resource's intrinsic dimensions or aspect ratio by the CSS default sizing algorithm. width and height geometry properties (see shapes_paths.md) donner/svg/components/layout/LayoutSystem.cc:215-237 resvg structure/image/no-width.svg, no-height.svg, no-height-non-square.svg, no-width-and-height.svg, width-and-height-set-to-auto.svg - -
feat:svg2/image-auto-size-svg divergent https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html#Placement The same auto sizing applies to SVG resources using their intrinsic dimensions and ratio. n/a donner/svg/components/layout/LayoutSystem.cc:218-219 with donner/svg/components/resources/ResourceManagerContext.cc:756-763 (intrinsic size is reported only for raster images), so an SVG image with auto width or height falls back to the inherited viewport size (donner/svg/components/layout/LayoutSystem.cc:184-195) resvg structure/image/no-width-on-svg.svg, no-height-on-svg.svg, no-width-and-height-on-svg.svg are render-only medium M
feat:svg2/image-no-intrinsic-size-300x150 missing https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html#Placement A resource with no intrinsic size is assumed to be 300 by 150. n/a no 300x150 default in the image sizing path (donner/svg/components/layout/LayoutSystem.cc:184-237); a search for '300' and '150' default constants in LayoutSystem.cc image code finds none none low S
feat:svg2/image-zero-size conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html#Placement A width or height of zero disables rendering of the element. n/a donner/svg/renderer/RenderingContext.cc:447-451 (empty bounds) resvg structure/image/zero-width.svg, zero-height.svg, with-zero-width-and-height.svg - -
feat:svg2/image-preserveAspectRatio-raster conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html#ImageElement preserveAspectRatio fits the image's intrinsic aspect ratio into the positioning rectangle, giving the image-rendering rectangle. donner/svg/parser/AttributeParser.cc:1468-1476 donner/svg/renderer/RendererDriver.cc:3479-3489 resvg structure/image/preserveAspectRatio=*.svg (7 raster cases); raster-image-and-size-with-odd-numbers.svg, image-with-float-size-scaling.svg - -
feat:svg2/image-svg-root-preserveAspectRatio-ignored divergent https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html#ImageElement For an embedded SVG, the root element's own preserveAspectRatio is ignored and treated as none. n/a donner/svg/renderer/RendererDriver.cc:4698-4722: the sub-document is laid out at its own canvas size with its own root viewBox transform, then that rectangle is mapped with the image's preserveAspectRatio resvg structure/image/preserveAspectRatio=*-on-svg.svg (7 cases) pass because their roots have matching aspect ratios low M Differs only when the root's width/height ratio differs from its viewBox ratio.
feat:svg2/image-no-intrinsic-ratio partial https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html#ImageElement If the embedded image has no intrinsic aspect ratio, preserveAspectRatio is ignored and the image fills the positioning rectangle. n/a donner/svg/renderer/RendererDriver.cc:4698-4714 always uses the sub-document canvas size, which has a default when the root has neither size nor viewBox none low S By code reading an SVG with no viewBox and no size is fitted by its default canvas ratio rather than filling the rectangle.
feat:svg2/image-overflow divergent https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html#ImageElement overflow on image (hidden by UA sheet, author-overridable) decides clipping to the positioning rectangle; for SVG images the root's overflow decides clipping to the image-rendering rectangle. donner/svg/core/UserAgentStylesheet.h:19 donner/svg/renderer/RendererDriver.cc:3479-3481 and 4702-4705 always push a clip to the image bounds; the overflow value is not read none for overflow: visible on image low S
feat:svg2/image-object-fit-position missing https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html#ImageElement object-fit and object-position determine the concrete object size and position before preserveAspectRatio applies. none: a search for 'object-fit' and 'objectFit' under donner/svg and donner/css returns no match none none low M
feat:svg2/image-rendering conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#ImageRenderingProperty image-rendering selects the resampling of the image (property row in painting_properties.md). donner/svg/properties/PropertyRegistry.cc:228-262 donner/svg/renderer/RendererDriver.cc:2034; donner/svg/renderer/ImageSampling.cc resvg painting/image-rendering/optimizeSpeed.svg (Geode disabled with a documented bug), optimizeSpeed-on-SVG.svg, on-feImage.svg; ImageSampling tests - - Reference row only; value-level rows belong to painting_properties.md.
feat:svg2/image-broken conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#processingURL-fetch A fetch error or empty response makes the reference invalid; nothing is rendered for the image. n/a donner/svg/components/resources/ResourceManagerContext.cc:363-376 (failure recorded, empty LoadedImageComponent); donner/svg/renderer/RendererDriver.cc:2016-2022 (no pixels, no draw) ImageLoader.CorruptRasterDataUrlReturnsDataCorrupt, ReturnsUrlLoaderErrors; ResourceManagerContextTest.LoadExternalSVGFileNotFound - - No broken-image placeholder is drawn; the CR does not require one.
feat:svg2/image-href-resolution conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#processingURL The href URL is resolved and fetched as a complete document. donner/svg/parser/AttributeParser.cc:1466-1467 donner/svg/resources/UrlLoader.cc:105-169; donner/svg/resources/UrlReference.cc; sandboxed file loader UrlLoader.FetchExternalResource; UrlReference.RelativePathMergesWithRelativeBaseDirectory; resvg structure/image/external-png.svg, external-svg.svg - - Network fetch is delegated to the host loader.
feat:svg2/image-data-url conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#TermDataURL data: URLs embed the document and are allowed in every processing mode. donner/svg/resources/UrlLoader.cc:146 donner/svg/components/resources/ResourceManagerContext.cc:163-168 (data URLs need no external loader) UrlLoader.FetchDataUrlBase64, FetchDataUrlUrlEncodedWithMime; ResourceManagerContextTest.SecureModesLoadDataImagesWithoutExternalRequests; corpus structure/image/nested-data-raster.svg - -
feat:svg2/image-fragment-only-href divergent https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html#ImageElementHrefAttribute A target-only URL refers to the same file, rendered again as an independent image in secure mode. donner/svg/parser/AttributeParser.cc:1466-1467 donner/svg/components/resources/ResourceManagerContext.cc:346-348 (href starting with # is skipped) none low M
feat:svg2/image-media-fragments missing https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html#ImageElement SVG view fragments and basic media fragments on the image URL select a view or crop region and can change the intrinsic size. n/a no fragment interpretation in donner/svg/resources/UrlLoader.cc (fragment is only stripped for MIME detection, lines 38-39) none low L
feat:svg2/image-external-resource-restrictions conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#processingURL-fetch In secure modes external file references are disallowed (treated as network errors); data URLs remain allowed. donner/svg/parser/SVGParser.cc:996-999 donner/svg/components/resources/ResourceManagerContext.cc:166-168, 388-400, 766-769 ResourceManagerContextTest.LoadExternalSVGSecureModeBlocked, SecureDataImageLoadingCannotReuseCachedExternalSvg; resvg structure/image/recursive-1.svg, recursive-2.svg - -
feat:svg2/image-recursion conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html#ImageElementHrefAttribute Because embedded images are processed in secure mode, their own external references are not loaded, which prevents infinite recursion. n/a donner/svg/components/resources/SubDocumentCache.cc (loading-set recursion detection); donner/svg/components/resources/ResourceManagerContext.cc:388-400 SubDocumentCacheTest.RecursionDetection, IndirectRecursionDetection; resvg structure/image/recursive-1.svg, recursive-2.svg - -
feat:svg2/image-no-inheritance conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html#ImageElement The referenced resource is a separate document; properties do not inherit into it. n/a donner/svg/renderer/RendererDriver.cc:4688-4740 (separate registry and style resolution) resvg structure/image/external-svg.svg, external-svg-with-transform.svg - - No case isolates inheritance explicitly.
feat:svg2/image-cannot-reference-element conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html#ImageElement image cannot reference an element inside an SVG file; the whole document is rendered. n/a donner/svg/renderer/RendererDriver.cc:4728-4729 traverses the whole sub-document; no fragment lookup for image none low S
feat:svg2/href-over-xlink-href-precedence divergent https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#XLinkRefAttrs When both href and xlink:href are present, href is used and xlink:href ignored. donner/svg/parser/AttributeParser.cc:452-453, 1466-1467, 1569-1570 (both names call the same setter) xlink:href always wins for gradients, pattern and image, whatever the source order, because attributes are applied sorted by local name and then prefix and href therefore comes first; the shared precedence helper is used elsewhere (donner/svg/parser/AttributeParser.cc:1775-1777) none for these four elements low S Shared with structure.md and xml_data_formats.md (feat:xlink/href-precedence#2); listed because it affects every href row here.

Tests to create

  • feat:svg2/gradient-href-gradientTransform (pservers.html#LinearGradientElementHrefAttribute): template linearGradient with gradientTransform="rotate(90)" and stops; derived gradient with only href; rect filled with the derived gradient. Same for radialGradient.
  • feat:svg2/pattern-href-patternTransform (pservers.html#PatternElementHrefAttribute): template pattern with patternTransform="rotate(45)"; derived pattern with only href.
  • feat:svg2/pattern-href-viewBox-preserveAspectRatio: (a) template with viewBox, derived with only preserveAspectRatio="xMaxYMax slice"; (b) template with preserveAspectRatio="none", derived with only viewBox.
  • feat:svg2/linear-gradient-zero-length-vector (pservers.html#LinearGradientNotes): x1=x2, y1=y2 with pad, reflect and repeat, three stops; expect the last stop color on both backends.
  • feat:svg2/gradient-zero-size-bbox (coords.html#ObjectBoundingBoxUnits): horizontal line stroked with an objectBoundingBox gradient, once with url(#g) and once with url(#g) red; expect nothing painted in both.
  • feat:svg2/stop-zero-stops (pservers.html#StopNotes): fill="url(#empty) red"; expect nothing painted.
  • feat:svg2/gradient-color-interpolation-property (painting.html#ColorInterpolationProperty): black-to-white gradient with color-interpolation="linearRGB" beside the sRGB default.
  • feat:svg2/gradient-href-cycle (linking.html#TermCircularReference): two gradients referencing each other where only one sets spreadMethod and x2; expect each to use initial values for what it does not set itself.
  • feat:svg2/gradient-href-stops-restyled-in-shadow-tree: template stop with stop-color="currentColor"; derived gradient with a different color; expect the derived gradient's color.
  • feat:svg2/gradientTransform-is-presentation-attribute and feat:svg2/patternTransform-is-presentation-attribute: style="transform: rotate(90deg)" on a gradient and on a pattern overriding the attribute.
  • feat:svg2/gradient-geometry-not-presentation-attributes: stylesheet radialGradient { r: 10px; cx: 0 }; expect no change.
  • feat:svg2/pattern-attributes-not-css (pservers.html#PatternElementAttributes): stylesheet pattern { width: 5px; height: 5px; x: 3px } on a pattern with attribute width/height 20; expect the attribute values.
  • feat:svg2/pattern-negative-size and feat:svg2/pattern-objectBoundingBox-zero-bbox: pattern with width="-20"; pattern applied to a zero-height line; expect nothing painted.
  • feat:svg2/pserver-referencable-when-display-none (pservers.html#Introduction): pattern and gradient each with display="none" on themselves and, separately, inside <g display="none">; expect normal painting.
  • feat:svg2/radial-negative-radius-error: r="-1" and fr="-1" with authored references showing no fill (the resvg references are placeholders).
  • feat:svg2/radial-focal-on-circle-repeat (pservers.html#RadialGradientNotes): focal point exactly on the end circle, spreadMethod="repeat"; expect the weighted-average color beyond the circle.
  • val:orient/<angle>-deg: orient="45deg".
  • attr:orient@marker: orient="45 foo"; expect the initial value 0.
  • feat:svg2/marker-overflow-visible: marker with overflow="visible" and content outside the viewport.
  • feat:svg2/marker-units-strokeWidth-scale (painting.html#MarkerUnitsAttribute): stroke-width="5%", "2mm" and vector-effect="non-scaling-stroke" under scale(3).
  • feat:svg2/marker-orient-closed-subpath: orient="auto" markers on M L L Z compared against the bisector reading.
  • feat:svg2/marker-vertex-selection: M 50 50 Z with marker-start and marker-end.
  • feat:svg2/marker-display-none-on-marker, feat:svg2/marker-display-none-on-ancestor (painting.html#RenderingMarkers): marker with display="none"; marker inside <g display="none">.
  • feat:svg2/marker-no-inheritance-from-referencing-element (painting.html#RenderingMarkers): shape with fill="red" and stroke-width="10" referencing a marker whose content sets no fill or stroke-width; expect the marker content to use initial or marker-ancestor values.
  • feat:svg2/marker-rendering-order (painting.html#Markers): closed triangle with three opaque, differently colored start, mid and end markers that overlap at the first vertex; expect end over mid over start.
  • feat:svg2/marker-invalid-reference (painting.html#VertexMarkerProperties): marker-end pointing at a missing id and at a rect; expect no marker.
  • feat:svg2/marker-on-ellipse: marker-start/mid/end on an ellipse.
  • attr:crossorigin@image (embedded.html#ImageElementCrossoriginAttribute): loader-level test that the requested CORS mode reaches the host resource loader.
  • feat:svg2/image-auto-size-svg, feat:svg2/image-no-intrinsic-size-300x150, feat:svg2/image-no-intrinsic-ratio (embedded.html#Placement): image without width/height referencing an SVG of intrinsic size 200x100; an SVG with only a viewBox; an SVG with neither.
  • feat:svg2/image-svg-root-preserveAspectRatio-ignored: embedded root with width=100 height=50 viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet" in an image of 100x50.
  • feat:svg2/image-overflow: image with style="overflow: visible" and preserveAspectRatio="xMidYMid slice".
  • feat:svg2/image-fragment-only-href: image href="#" style self reference; expect one nested static rendering.
  • feat:svg2/image-rgba-result: grayscale PNG and grayscale JPEG.
  • feat:svg2/image-cannot-reference-element: image href="file.svg#someId"; expect the whole document.
  • feat:svg2/href-over-xlink-href-precedence (linking.html#XLinkRefAttrs): href listed before a conflicting xlink:href on linearGradient, pattern and image; expect href.
  • attr:width@pattern family: covered by the CSS-leak and negative-size cases above.

Unverified / could not fetch

  • All pages listed under "Specs read" were fetched; none failed.
  • Nothing was executed. Every behavior statement is by code reading. The statements most in need of a run are: display:none on a pattern or marker element (feat:svg2/pserver-referencable-when-display-none, feat:svg2/marker-display-none-on-marker); Geode's first-stop result for a zero-length gradient vector; the focal-on-circle repeat case; CSS leakage into the pattern tile; inherited-stop restyling.
  • Whether leading or trailing whitespace must be accepted in enumerated attribute values (gradientUnits, spreadMethod, patternUnits, patternContentUnits, markerUnits, orient keywords) was not located in a normative sentence of the CR data-types chapter; Donner compares exactly.
  • The Geode pattern-tile path (RendererGeode.cc) and its handling of negative tile sizes were not traced separately from the shared driver code.
  • The CSS Images default sizing algorithm text was fetched but only the 300x150 and intrinsic-ratio rules cited by the SVG CR were checked against Donner; object-fit and object-position value grammars were not inventoried because the properties are absent.
  • The exact count of resvg cases per directory is from the directory listing of the pinned checkout; per-case pass status is inferred from the override table in resvg_test_suite.cc (cases not listed there run at default thresholds), not from a run.