Donner SVG main
0.8.0 ยท 766e862a0.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
Design: W3C Specification Audit and Gap Closure

Status: Draft. The audit is complete as a source reading of revision b39a524a2; nothing was built or executed, no gap has been fixed and no new suite case has been authored. The ledgers under docs/spec_audit/ hold the evidence; the plan below orders the work. Author: Claude Fable 5.2 Drafted by: Claude Fable 5.2 and Claude Opus 5.5 Created: 2026-11-14

Summary

This document reports a row-by-row audit of Donner against the SVG 2 Candidate Recommendation Snapshot of 06 October 2026 and against the latest published W3C Technical Report of each specification SVG 2 depends on: CSS syntax, values, selectors, cascade, color, transforms, text, fonts, writing modes, Filter Effects, CSS Masking, Compositing and Blending, XML with its companion specifications, and the WOFF font containers. It also compares the SVG 2 feature set with the vendored resvg test suite to find features that no portable test exercises.

The audit is inventory driven. Every element in the CR element index, every row of the CR attribute index, every property in the CR property index and every property the styling chapter requires has a matrix row, as does every keyword or grammar alternative of each property. For each dependent specification a feature inventory was derived from its own text (productions, algorithms, value definitions, numbered rules) and each inventory item has a row. Each row records the specification anchor, the requirement, the Donner code that parses it, the Donner code that consumes it, the tests that assert it, and a class.

Everything in this document is the result of reading source at revision b39a524a2 and reading the dated specification text. No code was built and no test was run. A behavioral claim is a code-reading result until a test confirms it.

The matrix has 4,140 rows in 17 ledgers:

Class Rows Meaning
conformant 1,763 The code was read and a named test asserts the behavior.
conformant-untested 345 The code was read and matches; no test asserts it.
partial 543 Implemented with named missing values, cases or sub-features.
divergent 219 Implemented, and behaves differently from the specification.
missing 829 Not implemented.
not-applicable 363 Outside what a script-free XML renderer must do, with a stated reason.
spec-ambiguity 45 The text is unclear, or two normative texts conflict.
legacy 33 Donner implements something the CR or the dependent TR removed.

These counts are not a conformance percentage; Audit Totals and How to Read Them explains why. Of the 1,591 partial, divergent and missing rows, 35 are rated high impact, 207 medium and 1,349 low. The 35 high rows describe 13 distinct defects.

The findings that matter most:

  • Inheritance compares cascade priority across elements. A child's own declaration of an inherited property is replaced by its parent's value whenever the parent's declaration has a strictly higher specificity, for example a parent style attribute against a child presentation attribute. Nine properties carry a repair; 35 inherited properties do not.
  • Ordinary files fail to load. Any processing instruction whose target starts with xml, including <?xml-stylesheet?>, is parsed as the XML declaration and fails the document. The 1,001st character or predefined entity reference is a fatal error. A pretty-printed file with about 4,095 elements exceeds the default node limit. A custom entity reference with 64 KiB or more of document after it is silently left unexpanded.
  • color: hsl(...) aborts the process. The computed color keeps its HSL form and every drawn element that inherits it reads it through an accessor that assumes RGB. This is a known defect with a fix in review.
  • Transforms pivot about the wrong point or compose in the wrong order. CSS transform lists reverse runs of adjacent non-translate functions. The transform reference box is offset by the viewBox origin, so rotate(45) inside viewBox="100 100 200 200" pivots about (100,100). On use and nested svg, x and y act as the pivot of the element's own transform.
  • The CSS engine has no conditional rules, custom properties or math. @media and @supports blocks are dropped whole, including @media all; var() and calc() invalidate the declaration; :hover, :link, :focus and :lang() invalidate the whole rule.
  • Cascade order has two defects that affect static rendering. Several style elements apply in reverse document order, and a selector list takes the specificity of its first matching member instead of its most specific one.
  • Bidirectional text is reordered only in part of the layout space. Wrapped text, text on a path, text with preserved line breaks and upright vertical text get no UAX #9 reordering.

Core static rendering is otherwise in good shape. Path data, basic shapes, the transform attribute grammar, viewBox and preserveAspectRatio, fills, strokes, all sixteen blend modes, clipPath, mask elements, gradients, patterns, markers and every filter primitive are implemented on both renderers and run against the resvg suite, with the edge-case gaps listed per area below.

Goals

  • Record, for every element, attribute, property, value and feature of the SVG 2 CR of 06 October 2026 and of the latest published version of each dependent specification, whether Donner conforms, with source evidence for both the parse step and the consuming step.
  • Separate the kinds of finding: missing implementation, partial implementation, divergent behavior, conformant code with no asserting test, specification ambiguity, and legacy behavior.
  • Record where the two renderers (the CPU renderer and the Geode GPU renderer) or the two text backends (the basic backend and the HarfBuzz backend) disagree with each other.
  • List the SVG 2 behaviors that the resvg suite does not assert, and name the cases to author for the Donner SVG suite described in 0057.
  • Turn the findings into ordered work items with engineer-day ranges, so each milestone can become its own implementation slice.

Non-Goals

  • Fixing any gap in this change. Every milestone is a later slice with its own tests and review.
  • Executed conformance results. Each behavioral claim is a code-reading result. Rows that could not be settled by reading are listed in each ledger's "Unverified" section.
  • A conformance percentage. Row counts measure how finely a specification was itemized, not how much of it Donner implements.
  • Auditing Editor's Drafts. Dependent specifications are read at their latest published Technical Report. SVG Animations Level 2 has no published TR, so its Editor's Draft was read and those rows carry draft status.
  • Script execution, the SVG DOM as Web IDL, HTML rendering inside foreignObject, and platform accessibility APIs. Donner is an XML-only renderer without a script engine or an HTML layout engine. These have not-applicable rows that name the C++ counterpart where one exists.
  • Replacing docs/svg2_audit.md. That ledger tracks requirement-level test evidence against the Editor's Draft. This audit is an inventory against the published CR and its dependencies.

Next Steps

  • Decide the items under Open Questions that gate Milestone 1 and Milestone 2: the default XML limits, whether gradientTransform and patternTransform inherit through href, and the invalid presentation attribute rule.
  • Start Milestone 1. For each item write the failing test first, on both renderers where the defect is in rendering, then fix it and update the ledger rows listed for the item.
  • Start Milestone 3 in parallel: author the P1 suite cases so later milestones have portable tests to turn green.

Implementation Plan

Estimates are engineer-day ranges per work item, where a work item is one change that closes a group of matrix rows. They are not sums of the per-row sizes in the ledgers: a missing property contributes one row per value, and one parser fix can close thirty rows. Ranges include the tests and the ledger update. They are planning numbers, not commitments. An item that closes matrix rows lists their keys; a key ending in * is a prefix. Milestone 3 items author tests and close no rows, so they cite TC and RC identifiers instead. An item that waits on a decision or tracks a change in review has no range and says so.

  • Milestone 1: small fixes with high impact (13 to 21 days). Each item says whether the independent re-read covered it.
    • Inheritance: use the parent's computed value only when the element has no cascaded value, and remove the nine per-property repairs (1 to 2 days; independently re-read). feat:css-cascade-4/inheritance-parent-priority-overrides-child, feat:css-cascade-4/value-stage-specified in selectors_cascade; feat:svg2/painting-inherited-value-vs-declared-value in painting_properties; feat:css-cascade-4/inheritance-ignores-specificity in styling_properties.
    • Treat xml as the XML declaration only when followed by white space or ?>, so <?xml-stylesheet?> and other xml-prefixed processing instructions parse (0.5 to 1 day; independently re-read). feat:xml/prod-17-PITarget, feat:xml-stylesheet/pi-recognition, feat:svg2-conform/interpreter-xml-constructs in xml_data_formats; feat:svg2/xml-stylesheet-processing-instruction in structure; the parse half of feat:svg2/styling-css-xml-stylesheet-pi in styling_properties.
    • XML limits: measure expanded entity output instead of unread input; stop counting predefined and numeric references, which cannot amplify; set the default node limit by decision and stop counting ignorable white space toward it (2 to 4 days; independently re-read). feat:xml/limit-entity-expansion-bytes, feat:xml/entity-internal-general-content, feat:xml/entity-internal-general-attvalue, feat:xml/avn-entityref-recursive, feat:xml/limit-entity-substitution-count, feat:xml/limit-tree-nodes in xml_data_formats.
    • Apply style sheets from several style elements in document order (1 day; independently re-read). feat:svg2/style-multiple-sheets-order in structure; feat:svg2/styling-style-element-multiple-sheet-order in styling_properties; feat:css-cascade-4/order-of-appearance-multiple-style-elements, feat:css-cascade-4/value-stage-cascaded in selectors_cascade.
    • Compose adjacent CSS transform functions left to right (1 day; independently re-read). feat:css-transforms-1/transform-function-list-order, prop:transform, feat:svg2/coords-transform-property-support in transforms_coordinates.
    • Transform reference box: place the view-box reference box at the user-space origin, use the nearest viewport for use and nested svg, and apply use x and y as a translation after the element's transform (2 to 4 days; independently re-read). feat:css-transforms-1/view-box-reference-box-origin, feat:css-transforms-1/reference-box-of-sized-elements, val:transform-box/view-box, prop:transform-origin in transforms_coordinates; feat:svg2/use-xy-translate in structure.
    • Give href precedence over xlink:href on every element through the logic use already has (1 to 2 days; independently re-read). feat:xlink/href-precedence#2 in xml_data_formats; attr:href@a in structure; feat:svg2/href-over-xlink-href-precedence, attr:href@linearGradient, attr:href@radialGradient, attr:href@pattern in paint_servers_markers_images; feat:svg2/textpath-href-over-xlink-href in text_layout; attr:href@feImage, attr:xlink:href@feImage in filters_generators_lighting.
    • Accept transform: none (0.5 to 1 day; not independently re-read). val:transform/none in transforms_coordinates.
    • Accept none and quoted url("...") for marker, marker-start, marker-mid, marker-end and mask, and reject trailing tokens (1 to 2 days; not independently re-read). prop:marker, prop:marker-start, prop:marker-mid, prop:marker-end, val:marker/none, val:marker-start/none, val:marker-mid/none, val:marker-end/none in painting_properties; val:mask/none, val:mask/<mask-source> url() in clipping_masking; feat:css-values-4/url-quoted in css_syntax_values.
    • Apply a selector list at the specificity of its most specific matching member (1 day; independently re-read). feat:selectors-4/specificity-selector-list-most-specific-match in selectors_cascade.
    • Correct the hwb() conversion and add rebeccapurple (1 day; independently re-read). feat:css-color-4/hwb-to-srgb, val:color/hwb(), val:color/named-colors, feat:css-color-4/resolving-srgb-values in color_compositing.
    • Read the whole font-family descriptor of @font-face, not its first token (1 day; independently re-read). feat:css-fonts-4/font-face-font-family in text_font_properties.
    • Track the fix in review for the color: hsl() abort and add the regression test on both renderers (no range for the fix, which is in review; under 1 day for the test; independently re-read). feat:css-color-4/color-property-hsl-storage, prop:color, feat:css-color-4/non-rgba-storage-paths in color_compositing.
  • Milestone 2: remaining small defects with visible effect (31 to 53 days)
    • Clipping and masking correctness: clip-rule on the referencing element must not change the clip; apply the bounding-box mapping after the child transform for clipPathUnits="objectBoundingBox"; ignore display, opacity and filter on the mask element; inherit into mask and pattern content from the element's own ancestors (4 to 7 days). prop:clip-rule, feat:css-masking-1/clip-rule-referencing-element-ignored, val:clipPathUnits/objectBoundingBox, feat:css-masking-1/mask-display-opacity-filter-not-applied, feat:css-masking-1/mask-property-inheritance in clipping_masking; feat:css-cascade-4/inheritance-through-pattern-element in selectors_cascade.
    • Paint server templates: copy gradientTransform, patternTransform and a derived pattern's preserveAspectRatio through href, after the decision in Open Questions (1 to 2 days). feat:svg2/gradient-href-gradientTransform, feat:svg2/pattern-href-patternTransform, feat:svg2/pattern-href-viewBox-preserveAspectRatio in paint_servers_markers_images.
    • Hit testing: hit raster images on their rectangle, exclude clipped-away area, and use half the stroke width for the stroke band (3 to 5 days). feat:svg2/interact-hit-image-rectangle, feat:svg2/interact-hit-clip-path, feat:svg2/interact-hit-stroke-region, val:pointer-events/visibleStroke in interactivity_accessibility; feat:css-masking-1/clip-pointer-events in clipping_masking.
    • Attribute and declaration parsing: accept surrounding white space in viewBox, preserveAspectRatio and number attributes; match property names case-insensitively; require units in CSS declarations; reject negative stroke-width, stroke-miterlimit and dash entries at parse time (3 to 5 days). feat:svg2/coords-viewbox-surrounding-whitespace, feat:svg2/coords-par-surrounding-whitespace in transforms_coordinates; feat:svg2-types/other-attr-css-grammar-parsing, feat:css-syntax-3/declaration-name-case-insensitive, feat:css-values-4/unitless-nonzero-length-in-css in css_syntax_values; val:stroke-width/negative, val:stroke-miterlimit/negative, val:stroke-dasharray/negative in painting_properties.
    • Structure: apply the root transform outside the viewBox mapping; evaluate empty requiredExtensions as false; downgrade an element child of style to a warning; honor symbol refX and refY with a non-zero viewBox origin (3 to 5 days). feat:svg2/coords-transform-on-outermost-svg in transforms_coordinates; val:requiredExtensions/empty-string, feat:svg2/style-child-element-error, feat:svg2/symbol-refxy-placement in structure.
    • Markers: scale markerUnits="strokeWidth" by the used stroke width and honor non-scaling-stroke (2 to 3 days). feat:svg2/painting-vector-effect-markers in painting_properties; feat:svg2/marker-units-strokeWidth-scale in paint_servers_markers_images.
    • SVG used as an image: size from the referenced document's intrinsic dimensions and ratio, honor overflow on image, isolate the embedded document (3 to 6 days). feat:svg2/image-auto-size-svg, feat:svg2/image-no-intrinsic-size-300x150, feat:svg2/image-overflow in paint_servers_markers_images; feat:compositing-1/image-content-is-isolated in color_compositing.
    • Filter arithmetic: scale the feDisplacementMap scale to device space on both renderers; use the default divisor when divisor="0"; anchor turbulence to user space; implement stitching per the reference code; fix the seed truncation and the lighting edge factors (6 to 10 days). attr:scale@feDisplacementMap, val:divisor/zero-uses-default in filters_core; feat:filter-effects-1/turbulence-point-coordinates, feat:filter-effects-1/turbulence-stitching, feat:filter-effects-1/turbulence-seed-setup, feat:filter-effects-1/lighting-surface-normal-edges, feat:filter-effects-1/lighting-surface-normal-corners in filters_generators_lighting.
    • Renderer parity: agree on the zero-length gradient vector, dash text strokes on the CPU renderer, draw the zero-length closed subpath cap on the GPU renderer (4 to 7 days). feat:svg2/linear-gradient-zero-length-vector in paint_servers_markers_images; feat:svg2/painting-stroke-on-text, feat:svg2/painting-stroke-zero-length-subpath in painting_properties. The other rows in Renderer and Backend Disagreements land with the milestone that owns their area.
    • Animation and linking details: ignore a non-positive dur; let to override by in animateTransform; recognize XLink attributes by namespace URI (2 to 3 days). attr:dur@animate, animateMotion, animateTransform, set, val:to/to-overrides-by in animation; feat:xml-names/xlink-namespace-matching in xml_data_formats.
  • Milestone 3: Donner SVG suite coverage (23 to 38 days)
    • Author the 37 P2 case groups (12 to 20 days).
    • Promote the existing unit and renderer-golden scenes for vector-effect, pathLength, inline-size, white-space, basic-shape clip paths and fr to portable SVG and PNG pairs (3 to 5 days).
    • Add cited Donner cases for the reference conflicts RC1 to RC9 (3 to 5 days).
    • Add the per-ledger "Tests to create" items as each milestone reaches their rows. No separate range: each is counted in the item that fixes its row.
  • Milestone 4: CSS engine (53 to 93 days)
    • A computed-value stage that keeps values symbolic until computed-value time, then custom properties and var() with cycle detection (10 to 18 days). feat:css-variables-1/* in css_syntax_values.
    • A media query engine with a defined evaluation environment, used by @media, the style element's media attribute and @import conditions; @supports by trial parsing (8 to 14 days). feat:css-conditional-3/*, feat:mediaqueries-4/* in css_syntax_values; feat:css-cascade-4/filtering, feat:css-cascade-4/at-import-media-query in selectors_cascade; attr:media@style in structure; feat:svg2/styling-css-at-media, feat:svg2/styling-style-element-media in styling_properties.
    • Pseudo-classes: parse the link, user-action, :target, :lang() and :focus pseudo-classes so rules survive, match them from host-supplied state, and drop a rule that contains an unsupported pseudo-element (5 to 9 days). feat:selectors-4/link, feat:selectors-4/hover, feat:selectors-4/lang, feat:selectors-4/unsupported-pseudo-element-handling, feat:selectors-3/conformance-floor in selectors_cascade; feat:svg2/styling-css-pseudo-class-* in styling_properties; feat:svg2/interact-focus-pseudo-class, feat:svg2/interact-event-dynamic-pseudo-classes in interactivity_accessibility.
    • Cascade layers, revert, revert-layer and all (4 to 7 days). feat:css-cascade-5/layer-* in selectors_cascade.
    • Namespace-aware and case-sensitive selector matching with @namespace (4 to 7 days). feat:selectors-4/default-namespace-unprefixed-type-selector, feat:selectors-4/ns-prefix-type-selector, feat:selectors-4/ns-none-type-selector, feat:selectors-4/case-sensitivity-element-names in selectors_cascade; feat:css-namespaces-3/* in css_syntax_values.
    • Block parsing per the current CSS Syntax text, then nesting (5 to 8 days). feat:css-syntax-3/consume-block-contents, feat:css-syntax-3/parse-block-contents, feat:css-nesting-1/* in css_syntax_values.
    • Resolve font-relative and viewport units against the element's computed font size and the real viewport at every call site, and add the Values 4 units (6 to 10 days). feat:css-values-4/unit-em, feat:css-values-4/unit-rem in css_syntax_values; feat:svg2/coords-unit-* in transforms_coordinates.
    • Decide and implement the invalid presentation attribute rule (1 to 2 days). feat:svg2/styling-presattr-invalid-value-initial in styling_properties; feat:svg2/painting-presentation-attribute-invalid-value in painting_properties; feat:svg2-types/invalid-presentation-attr-as-initial in css_syntax_values.
  • Milestone 5: structure, coordinates and linking (27 to 50 days)
    • transform-box and the individual translate, rotate and scale properties (4 to 8 days). prop:transform-box, val:transform-box/fill-box, prop:translate, prop:rotate, prop:scale in transforms_coordinates.
    • Style scoping for use shadow trees (3 to 7 days). feat:svg2/use-style-rule-scoping in structure; feat:css-scoping-1/shadow-tree-style-encapsulation in selectors_cascade.
    • The view element, svgView() and media fragments, with an API to render a document at a view (5 to 8 days). el:view, feat:svg2/fragment-* in structure; feat:svg2/image-fragment-only-href, feat:svg2/image-media-fragments in paint_servers_markers_images.
    • External style sheets: load xml-stylesheet targets and HTML-namespace link elements through the existing @import loader (3 to 6 days). feat:xml-stylesheet/* in xml_data_formats; feat:svg2/styling-link-element-stylesheet in styling_properties.
    • Bounding boxes over rendered descendants only (2 to 3 days). feat:svg2/coords-bbox-nonrendered-not-contributing, feat:svg2/coords-bbox-alg-container in transforms_coordinates.
    • Sizing: auto for width and height, CSS sizing of the outermost svg, the intrinsic ratio rules, path-length, pathLength="0" (4 to 7 days). val:width/auto, val:height/auto, prop:path-length, feat:svg2/pathLength-zero in shapes_paths; feat:svg2/coords-initial-viewport-css-sizing, feat:svg2/coords-intrinsic-ratio-ignores-preserveAspectRatio in transforms_coordinates.
    • object-fit and object-position on image; processing modes for static and animated hosts; lang resolution (6 to 11 days). feat:svg2/image-object-fit-position in paint_servers_markers_images; feat:svg2/processing-mode-static, feat:svg2/processing-mode-animated, feat:svg2/referencing-mode-image, feat:svg2/lang-xml-lang-precedence in structure.
  • Milestone 6: painting, paint servers and color (23 to 45 days)
    • color-interpolation for gradient stops, and for compositing if kept in scope (3 to 7 days). prop:color-interpolation, feat:svg2/painting-color-interpolation-* in painting_properties; feat:svg2/gradient-color-interpolation-property in paint_servers_markers_images.
    • Color syntax at CSS Color 4: oklab(), oklch(), color(), none components, mixed number and percentage channels, system colors, gamut mapping (6 to 12 days). val:color/oklab(), val:color/oklch(), val:color/color(), val:color/color()-display-p3, feat:css-color-4/color-type-grammar, feat:css-color-4/gamut-mapping in color_compositing.
    • CSS Color 5 (color-mix(), relative colors, light-dark()), after Color 4 (8 to 15 days). feat:css-color-5/* and the Color 5 val:color/* rows in color_compositing.
    • Stroke parity and remaining painting gaps: closed-subpath dash seam, dash limits, shape-rendering, the at-risk vector-effect values, zero-stop and zero-size-box fallback rules (5 to 9 days). feat:svg2/painting-stroke-dash-closed-subpath-seam, feat:svg2/painting-stroke-dash-resource-limits, prop:shape-rendering, prop:vector-effect in painting_properties; feat:svg2/stop-zero-stops, feat:svg2/gradient-zero-size-bbox in paint_servers_markers_images.
    • Standalone output backdrop, after the decision in Open Questions (1 to 2 days). feat:svg2-render/standalone-document-white-backdrop in color_compositing.
  • Milestone 7: masking and filters (40 to 75 days)
    • The CSS mask shorthand, its longhands, multiple layers and image sources; mask-border only if wanted (20 to 35 days). prop:mask, prop:mask-*, val:mask/*, val:mask-image/*, feat:css-masking-1/mask-image-css-images, feat:css-masking-1/multiple-mask-layers in clipping_masking.
    • clip-path grammar: a geometry box alone, rect(), xywh(), shape(), rounded polygons (4 to 8 days). prop:clip-path, val:clip-path/* in clipping_masking.
    • The legacy clip property (1 to 2 days). prop:clip, feat:svg2-render/stacking-context-clip-property in clipping_masking.
    • BackgroundImage and BackgroundAlpha after a scope decision; FillPaint and StrokePaint as region-filling paints on both renderers (10 to 20 days). val:in/BackgroundImage, val:in/BackgroundAlpha, val:in/FillPaint, val:in/StrokePaint in filters_core.
    • A defined degradation when a filter exceeds a structural limit, in place of hiding the element; kernelUnitLength; nested clip-path on a text child of clipPath (5 to 10 days). feat:filter-effects-1/implementation-limits, el:feConvolveMatrix in filters_core; feat:filter-effects-1/error-resource-limits in filters_generators_lighting; feat:css-masking-1/clip-path-on-clippath-child in clipping_masking.
  • Milestone 8: text and fonts (75 to 135 days)
    • Bidi reordering for wrapped, pre-formatted, on-path and vertical text, and direction in every mode, continuing 0069 (10 to 20 days). feat:svg2/text-bidi-scope-all-layouts in text_layout; feat:uax9/application-scope, prop:direction, val:direction/rtl in text_font_properties.
    • unicode-bidi embeddings and isolates on inline elements (8 to 15 days). prop:unicode-bidi, val:unicode-bidi/*, feat:uax9/HL3-css-embedding-controls in text_font_properties.
    • Wrapped text rules: ignore positioning lists in auto-wrapped text, line-height, UAX #14 line breaking, text-overflow, text-align (15 to 25 days). feat:svg2/text-list-ignored-in-auto-wrap, feat:svg2/text-wrap-css-line-breaking, prop:text-overflow in text_layout; prop:line-height, feat:css-text-3/line-breaking-uax14, prop:word-break, prop:text-align in text_font_properties.
    • Font selection: generic families, font-variant longhands, font-feature-settings, font-variation-settings, @font-face descriptors including unicode-range (18 to 30 days). prop:font-family, val:font-family/*, prop:font-variant*, prop:font-feature-settings, prop:font-variation-settings, feat:css-fonts-4/@font-face, feat:css-fonts-4/font-face-* in text_font_properties.
    • Font formats: COLR version 0 then version 1, color bitmaps from document fonts, variable document fonts (12 to 25 days). feat:font-format/* in text_font_properties.
    • Baselines from font tables, CSS Inline alignment, UAX #50 orientation, text-transform case mapping (12 to 20 days). prop:dominant-baseline, prop:alignment-baseline, val:text-orientation/mixed, prop:text-transform in text_font_properties.
    • Decide what the basic text backend does with document fonts and shaping. No range until the decision is made. feat:svg2/text-font-fallback in text_layout; feat:css-fonts-4/default-features in text_font_properties.
  • Milestone 9: interaction, accessibility and animation (16 to 29 days)
    • Per-character text hit testing and links inside text; the nested link rule (4 to 7 days). feat:svg2/interact-hit-text-character-cells, feat:svg2/interact-a-link-in-text, feat:svg2/interact-a-nested-links-inert in interactivity_accessibility.
    • Animation targets and timing: CSS-only properties as animation targets, the remaining animatable attributes, timing events, conditional processing on animation elements, the interval edge cases (8 to 14 days). attr:attributeName@animate, animateTransform, set, val:attributeName/css-property, feat:svg-animations/* in animation.
    • An accessibility tree export for hosts, if wanted. No range until the decision is made. attr:role@* and attr:aria-* in interactivity_accessibility.
  • Milestone 10: XML and data formats (13 to 25 days)
    • UTF-16 and declared-encoding input (3 to 7 days). feat:xml/encoding-utf16 in xml_data_formats.
    • Well-formedness enforcement, after the decision in Open Questions; end-of-line and attribute-value normalization; entity replacement text rules (7 to 12 days). feat:xml/error-recovery-policy, feat:xml/wfc-*, feat:xml/entity-* in xml_data_formats.
    • Data URL parsing, multi-member gzip, the WOFF header rules (3 to 6 days). feat:data-url/*, feat:svgz/multi-member-gzip in xml_data_formats; feat:woff1/*, feat:woff2/reserved-field in text_font_properties.

The ten milestones sum to roughly 314 to 564 engineer-days. Milestones 1 and 2 are about an eighth of that. Milestone 1 closes eight of the 13 high-impact defects. The other five are larger: conditional rules and custom properties close in Milestone 4, and bidi scope, generic font families and the rest of @font-face close in Milestone 8.

Background

Three existing documents overlap this one. 0057 owns the Donner SVG suite and the requirement-level ledger in docs/svg2_audit.md, which targets the SVG Working Group Editor's Draft. 0058 inventories what remains for the static subset from the resvg run. 0062 is the active completion program for paint, text, clip and mask parity. 0069 is the bidi design that Milestone 8 continues.

This audit adds three things those documents do not have: the published CR as the baseline, the dependent specifications at their latest published level, and a row for every inventory item instead of a row for every known problem.

Audit Totals and How to Read Them

Row counts are an itemization, not a score. Three distortions are known.

  • Registration cross-check rows. styling_properties contains 160 rows that only check that a property the styling chapter names is registered: 72 with keys matching feat:svg2/styling-presattr/* (the presentation attribute table) and 88 with keys matching feat:svg2/styling-required/* (the required property list). The full property and value rows live in the ledger that owns each property. 122 of the 160 are conformant-untested, which is why that class is inflated in the styling ledger; the others are 18 missing, 13 conformant, 6 partial and 1 divergent. Without these rows the matrix has 3,980 rows, of which 223 are conformant-untested.
  • One row per value. A property that is wholly absent contributes its property row and one row per keyword or grammar alternative. 373 of the 829 missing rows are value rows and 69 are property rows. In text_font_properties, 191 of the 261 missing rows are value rows spread over 47 properties: 166 belong to the 38 properties that are missing outright, and 25 are missing values of 9 partial properties. The same holds for the mask longhands, the math functions, the media features and CSS Color 5. The opposite also occurs: 49 partial rows in interactivity_accessibility are role and the aria-* attributes, which are retained as attributes with no accessibility tree behind them, and 60 not-applicable rows there are event handler attributes.
  • The same defect in several ledgers. A defect that two specifications describe has a row in each owning ledger. The inheritance defect has four rows in three ledgers, the processing-instruction defect five rows in three ledgers, @media four rows in three ledgers. 118 keys appear in more than one ledger (238 rows), and more defects recur under different keys. Where ledgers rate the same defect differently this document says so and cites both rows.

Rows for the same behavior that the ledgers class or rate differently:

Behavior Ledger rows Difference
xml-stylesheet instruction fails the parse feat:xml-stylesheet/pi-recognition in xml_data_formats; feat:svg2/xml-stylesheet-processing-instruction in structure high against medium
xlink:href overrides href feat:xlink/href-precedence#2 in xml_data_formats; attr:href@a in structure; feat:svg2/href-over-xlink-href-precedence in paint_servers_markers_images medium against low
Invalid presentation attribute feat:svg2/styling-presattr-invalid-value-initial in styling_properties; feat:svg2/painting-presentation-attribute-invalid-value in painting_properties; feat:svg2-types/invalid-presentation-attr-as-initial in css_syntax_values medium against low
Selectors cross the use boundary feat:svg2/use-style-rule-scoping in structure; feat:css-scoping-1/shadow-tree-style-encapsulation in selectors_cascade medium against low
Unprefixed type selectors in a prefixed document feat:selectors-4/default-namespace-unprefixed-type-selector in selectors_cascade; feat:css-namespaces-3/default-namespace in css_syntax_values medium against low
:link rejected feat:selectors-4/link in selectors_cascade; feat:svg2/styling-css-pseudo-class-link in styling_properties; feat:svg2/link-pseudo-classes-and-ua-cursor in structure medium against low
style media attribute ignored feat:mediaqueries-4/style-element-media-attribute in css_syntax_values; attr:media@style in structure divergent against missing, same behavior
visibility: hidden in a clip path val:visibility/hidden in color_compositing; feat:svg2-render/visibility-hidden-in-clip in clipping_masking conformant for painting and bounding boxes with the clip clause carved out, against spec-ambiguity
line-height missing prop:line-height in text_layout and in text_font_properties the two rows differ on whether a test touches the area

This document uses the higher impact in each case.

Per ledger:

Ledger Rows conformant conformant-untested partial divergent missing not-applicable spec-ambiguity legacy Non-conformant: high medium low
structure 214 84 20 34 12 21 39 3 1 1 7 59
shapes_paths 156 107 16 18 4 5 2 4 0 0 0 27
text_layout 185 111 8 28 9 10 8 3 8 1 5 41
paint_servers_markers_images 199 129 16 28 11 8 4 2 1 0 14 33
clipping_masking 192 75 2 20 9 76 6 4 0 0 18 87
filters_core 212 147 22 22 6 6 4 4 1 0 8 26
filters_generators_lighting 151 94 0 18 22 7 2 6 2 0 6 41
animation 145 99 8 20 3 8 6 1 0 0 4 27
interactivity_accessibility 233 55 6 69 9 25 68 1 0 0 6 97
painting_properties 191 116 15 25 16 10 4 3 2 1 9 41
text_font_properties 566 142 5 112 8 261 23 1 14 5 71 305
styling_properties 374 118 137 17 12 63 22 2 3 3 8 81
css_syntax_values 355 113 14 26 17 155 30 0 0 4 14 180
selectors_cascade 200 77 5 18 17 33 50 0 0 3 11 54
color_compositing 351 127 37 18 15 102 46 5 1 1 10 124
transforms_coordinates 254 112 29 37 14 19 39 4 0 7 9 54
xml_data_formats 162 57 5 33 35 20 10 2 0 9 7 72
Total 4,140 1,763 345 543 219 829 363 45 33 35 207 1,349

partial, divergent and missing rows by impact and by the size recorded in the ledgers (S up to 2 days, M 3 to 7, L 8 to 20, XL above 20, for the row taken alone):

Impact Rows partial divergent missing
high 35 17 12 6
medium 207 85 48 74
low 1,349 441 159 749
Size S M L XL
Rows 1,177 299 108 7

613 of these 1,591 rows have a test that touches the area; 978 have none. Of the 2,108 rows in the two conformant classes, 1,763 name an asserting test and 345 do not.

Audit Method

Inventory. For SVG 2, the inventory is the CR's own indexes: all 63 elements of the element index (el: keys), every row of the attribute index (attr: keys, 331 rows), every property of the property index and every property the styling chapter requires (prop: keys, 190 rows), and each keyword or grammar alternative of each attribute and property (val: keys, 1,228 rows). Prose rules and algorithms of each chapter are feature rows (feat:svg2/...). For each dependent specification the inventory is derived from that specification: grammar productions, numbered algorithms, value definition tables and normative sentences each become a feature row keyed by the specification's short name (2,328 feat: rows in all). Each ledger has an "Inventory" section that states the derivation and lists the keys, so a missing row is detectable.

Evidence standard. A row cites the parse site and the consuming site as path:line at revision b39a524a2. A property that parses and has no consumer is not conformant.

Class Evidence required
conformant The implementing lines were read against the requirement and a named test or resvg case asserts it.
conformant-untested The implementing lines were read against the requirement. No test asserts it.
partial The row names what works and what does not, each with evidence.
divergent The row cites the lines that produce the different behavior and, where one fits, a minimal example.
missing The row cites the search that found no implementation, or the line that rejects the input.
not-applicable The row states why a script-free XML renderer has no such requirement, and names the C++ counterpart.
spec-ambiguity The row quotes or paraphrases the conflicting or silent text and states what Donner does.
legacy The row cites the specification text that removed the feature and the Donner code that keeps it.

Independent re-read. An independent re-read of the source tried to refute every non-conformant row rated high and a list of 40 named medium and low claims. All 13 distinct high-impact defects hold as the ledgers state them. The headline tables mark each row the re-read covered as confirmed and each row it did not cover as not covered. The same re-read sampled 42 rows classed conformant: 2 were not conformant and 2 named a test that does not assert the behavior.

Limits.

  • Nothing was executed. Every example outcome in this document and in the ledgers is derived from the cited lines.
  • The sample puts the rate of conformant rows that are not actually conformant at about 5 percent (2 of 42), and the rate of rows whose named test does not assert the behavior at about 5 percent more. The 1,763 conformant total should be read with that error rate: outside the sample, the class was read once.
  • Test evidence is a named test read far enough to see what it asserts. For resvg cases it is the registration in donner/svg/renderer/tests/resvg_test_suite.cc (compared, thresholded, render-only or skipped), not an observed pass.
  • Parts not read in depth, collected from the ledgers' "Unverified" sections:
    • Geode shader math for the blend, composite, color matrix, component transfer and displacement programs was not read line by line; Geode evidence for those rows is the dispatch and parameter code (filters_core). The independent re-read of the turbulence and lighting rows covered the CPU path only.
    • The JFIF document was not fetched, so the JPEG requirement rows are not backed by its text (color_compositing).
    • The SMIL interval pseudo-code was not compared line by line with the timeline code, and the base-value and path-value animation sources were read at the function level only (animation).
    • The vendored CPU stroker's join and cap geometry was not traced (painting_properties).
    • text_layout read only the SVG 2 text chapter; the dependent CSS text specifications are audited in text_font_properties. The OpenType specification was used for table names only.
    • RFC 1952, RFC 3986, RFC 3987, RFC 7303 and the URL and Fetch standards were not fetched; statements that rely on them are marked (xml_data_formats). HTML, DOM, WAI-ARIA and the accessibility mapping specifications other than SVG-AAM were not fetched (structure, interactivity_accessibility).
    • The @import loader beyond its entry point, the incremental source-edit path of the XML document, external-document URL resolution, and the Geode pattern-tile and clip-stack paths were not traced.
    • Browser behavior was not consulted. Where a ledger mentions what browsers do, it is marked as general knowledge.

Specification Baseline

SVG 2 is read at https://www.w3.org/TR/2026/CR-SVG2-20261006/. Every dependent specification is read at the latest version published under /TR/, which is the dated URL in the table, with one exception: PNG was read at the Second Edition, the edition the CR cites, and a newer Third Edition exists. The "Cited by the SVG 2 CR" column is filled only where a ledger records what the CR cites.

Specification Level Maturity and date Dated URL read Cited by the SVG 2 CR, as recorded Ledgers
SVG 2 CR Snapshot, 2026-10-06 https://www.w3.org/TR/2026/CR-SVG2-20261006/ (chapters conform, render, types, struct, styling, geometry, coords, paths, shapes, text, embedded, painting, pservers, interact, linking; appendices animate, access, mimereg, changes, refs; the element, attribute and property indexes; masking is a removal stub that points to CSS Masking) baseline all
SVG Animations 2 Editor's Draft, 2026-11-10; no published TR https://w3c.github.io/svgwg/specs/animations/ the draft the CR indexes link to animation, structure
SMIL Animation 1 REC, 2001-09-04 https://www.w3.org/TR/2001/REC-smil-animation-20010904/ not recorded animation
CSS Syntax 3 CRD, 2026-10-01 https://www.w3.org/TR/2026/CRD-css-syntax-3-20261001/ not recorded css_syntax_values
CSS Values and Units 4 WD, 2024-03-12 https://www.w3.org/TR/2024/WD-css-values-4-20240312/ Level 3 css_syntax_values
CSS Values and Units 3 CRD, 2024-03-22 (status reference) https://www.w3.org/TR/2024/CRD-css-values-3-20240322/ this level css_syntax_values
CSS Custom Properties 1 CR Snapshot, 2022-06-16 https://www.w3.org/TR/2022/CR-css-variables-1-20220616/ not recorded css_syntax_values
CSS Conditional Rules 3 CRD, 2024-08-15 https://www.w3.org/TR/2024/CRD-css-conditional-3-20240815/ @media required through CSS 2.1 css_syntax_values
Media Queries 4 CRD, 2026-02-19 https://www.w3.org/TR/2026/CRD-mediaqueries-4-20260219/ not recorded css_syntax_values
CSS Namespaces 3 REC, 2014-03-20 https://www.w3.org/TR/2014/REC-css-namespaces-3-20140320/ not recorded css_syntax_values
CSS Nesting 1 WD, 2026-01-22 https://www.w3.org/TR/2026/WD-css-nesting-1-20260122/ not recorded css_syntax_values
CSS Style Attributes 1 REC, 2013-11-07 https://www.w3.org/TR/2013/REC-css-style-attr-20131107/ not recorded css_syntax_values, styling_properties
CSS 2.1 (syntax section 4.1.3 only) 2.1 REC https://www.w3.org/TR/CSS2/syndata.html (dated URL not confirmed) required CSS features styling_properties
Selectors 4 WD, 2026-01-22 https://www.w3.org/TR/2026/WD-selectors-4-20260122/ not recorded selectors_cascade
Selectors 3 REC, 2018-11-06 https://www.w3.org/TR/2018/REC-selectors-3-20181106/ not recorded selectors_cascade
CSS Cascading and Inheritance 4 CR Snapshot, 2022-01-13 https://www.w3.org/TR/2022/CR-css-cascade-4-20220113/ not recorded selectors_cascade, styling_properties
CSS Cascading and Inheritance 5 CR Snapshot, 2022-01-13 https://www.w3.org/TR/2022/CR-css-cascade-5-20220113/ not recorded selectors_cascade, styling_properties
CSS Cascading and Inheritance 6 WD, 2024-09-06 https://www.w3.org/TR/2024/WD-css-cascade-6-20240906/ not recorded selectors_cascade
CSS Scoping 1 First Public WD, 2014-04-03 https://www.w3.org/TR/2014/WD-css-scoping-1-20140403/ cited for use shadow trees selectors_cascade
CSS Color 4 CRD, 2026-11-12 https://www.w3.org/TR/2026/CRD-css-color-4-20261112/ CSS Color 3 is the normative reference color_compositing, styling_properties
CSS Color 5 WD, 2026-11-14 https://www.w3.org/TR/2026/WD-css-color-5-20261114/ not recorded color_compositing
Compositing and Blending 1 CRD, 2024-03-21 https://www.w3.org/TR/2024/CRD-compositing-1-20240321/ not recorded color_compositing, styling_properties
CSS Images 3 CRD, 2023-12-18 https://www.w3.org/TR/2023/CRD-css-images-3-20231218/ not recorded color_compositing, clipping_masking, paint_servers_markers_images
CSS Display 3 CRD, 2026-06-05 https://www.w3.org/TR/2026/CRD-css-display-3-20260605/ not recorded styling_properties
CSS Display (force-hidden only) 4 WD, 2025-11-06 https://www.w3.org/TR/2025/WD-css-display-4-20251106/ not recorded styling_properties
CSS Overflow 3 WD, 2025-10-07 https://www.w3.org/TR/2025/WD-css-overflow-3-20251007/ not recorded styling_properties
CSS Will Change 1 CRD, 2022-05-05 https://www.w3.org/TR/2022/CRD-css-will-change-1-20220505/ not recorded styling_properties
CSS Containment (one sentence) 2 WD, 2022-09-17 https://www.w3.org/TR/2022/WD-css-contain-2-20220917/ not recorded styling_properties
CSS Transforms 1 CR, 2019-02-14 https://www.w3.org/TR/2019/CR-css-transforms-1-20190214/ not recorded transforms_coordinates
CSS Transforms 2 WD, 2021-11-09 https://www.w3.org/TR/2021/WD-css-transforms-2-20211109/ not recorded transforms_coordinates
Geometry Interfaces 1 CRD, 2025-12-04 https://www.w3.org/TR/2025/CRD-geometry-1-20251204/ not recorded transforms_coordinates
Filter Effects 1 WD, 2018-12-18 (latest published) https://www.w3.org/TR/2018/WD-filter-effects-1-20181218/ the CR delegates the filter elements to it filters_core, filters_generators_lighting
CSS Masking 1 CRD, 2021-08-05 https://www.w3.org/TR/2021/CRD-css-masking-1-20210805/ the CR masking chapter points to it clipping_masking, styling_properties
CSS Shapes (basic shapes, shape box) 1 CRD, 2025-06-12 https://www.w3.org/TR/2025/CRD-css-shapes-1-20250612/ not recorded clipping_masking
CSS Backgrounds and Borders (three value types) 3 CRD, 2024-03-11 https://www.w3.org/TR/2024/CRD-css-backgrounds-3-20240311/ not recorded clipping_masking
CSS Fonts 4 WD, 2026-11-12 https://www.w3.org/TR/2026/WD-css-fonts-4-20261112/ not recorded text_font_properties
CSS Text 3 CRD, 2026-08-14 https://www.w3.org/TR/2026/CRD-css-text-3-20260814/ not recorded text_font_properties
CSS Text (white-space longhands only) 4 WD, 2026-08-14 https://www.w3.org/TR/2026/WD-css-text-4-20260814/ named by the CR's UA style sheet text_font_properties
CSS Text Decoration 3 CRD, 2022-05-05 https://www.w3.org/TR/2022/CRD-css-text-decor-3-20220505/ not recorded text_font_properties
CSS Writing Modes 4 CR, 2019-07-30 https://www.w3.org/TR/2019/CR-css-writing-modes-4-20190730/ Level 3 text_font_properties
CSS Writing Modes 3 REC, 2019-12-10 https://www.w3.org/TR/2019/REC-css-writing-modes-3-20191210/ this level text_font_properties
CSS Inline Layout 3 WD, 2024-12-18 https://www.w3.org/TR/2024/WD-css-inline-3-20241218/ not recorded text_font_properties
UAX #9, Unicode Bidirectional Algorithm Unicode 18.0.0, revision 52 Unicode Standard Annex, 2026-09-01 https://www.unicode.org/reports/tr9/tr9-52.html not recorded text_font_properties
WOFF 1.0 REC, 2012-12-13 https://www.w3.org/TR/2012/REC-WOFF-20121213/ not recorded text_font_properties
WOFF 2.0 REC, 2024-08-08 https://www.w3.org/TR/2024/REC-WOFF2-20240808/ not recorded text_font_properties
OpenType (table names only) 1.9.1 not a W3C TR https://learn.microsoft.com/en-us/typography/opentype/spec/ not recorded text_font_properties
CSS Basic User Interface (cursor) 4 WD, 2026-01-20 https://www.w3.org/TR/2026/WD-css-ui-4-20260120/ the CR no longer defines cursor interactivity_accessibility
SVG Accessibility API Mappings 1.0 WD, 2026-10-21 https://www.w3.org/TR/2026/WD-svg-aam-1.0-20261021/ not recorded interactivity_accessibility
Pointer Events (scope check only) 4 WD, 2026-10-08 https://www.w3.org/TR/2026/WD-pointerevents4-20261008/ not recorded interactivity_accessibility
XML 1.0, Fifth Edition REC, 2008-11-26 https://www.w3.org/TR/2008/REC-xml-20081126/ not recorded xml_data_formats
Namespaces in XML 1.0, Third Edition REC, 2009-12-08 https://www.w3.org/TR/2009/REC-xml-names-20091208/ not recorded xml_data_formats
Associating Style Sheets with XML documents 1.0, Second Edition REC, 2010-10-28 https://www.w3.org/TR/2010/REC-xml-stylesheet-20101028/ not recorded xml_data_formats, styling_properties
XML Base Second Edition REC, 2009-01-28 https://www.w3.org/TR/2009/REC-xmlbase-20090128/ one sentence in the linking chapter xml_data_formats
xml:id 1.0 REC, 2005-09-09 https://www.w3.org/TR/2005/REC-xml-id-20050909/ not mentioned by the CR xml_data_formats
XLink 1.1 REC, 2010-05-06 https://www.w3.org/TR/2010/REC-xlink11-20100506/ xlink:href and xlink:title kept as deprecated xml_data_formats
RFC 2397, the data URL scheme none Proposed Standard https://www.rfc-editor.org/rfc/rfc2397.txt required by the conformance chapter xml_data_formats
PNG Second Edition REC, 2003-11-10; a newer Third Edition exists and was not read https://www.w3.org/TR/2003/REC-PNG-20031110/ this edition color_compositing
JPEG File Interchange Format 1.02 not a W3C TR; not fetched https://www.w3.org/Graphics/JPEG/jfif3.pdf cited by the CR references color_compositing

Notes on the baseline:

  • SVG Animations Level 2 has no published Technical Report. The Editor's Draft of 10 November 2026 was read, it still contains editorial notes, and every row anchored to it carries draft status. Where it defers to SMIL Animation the Recommendation text was used.
  • The latest published Filter Effects is the Working Draft of 18 December 2018.
  • CSS Color 5, Selectors 4, CSS Values 4, CSS Fonts 4, CSS Nesting 1 and CSS Cascade 6 are Working Drafts. Rows against them describe a moving target and are rated accordingly.
  • The CR's normative color reference is CSS Color 3, so modern color syntax is a gap against the latest published level, not against the CR.
  • The block-contents divergence in CSS Syntax exists only against the Candidate Recommendation Draft of 1 October 2026; Donner matches the 2021 algorithm (feat:css-syntax-3/consume-block-contents in css_syntax_values).

Headline Findings

The first table has every non-conformant row rated high, with rows that describe one defect collapsed into one line. The second has the medium rows that matter most. "Pinned" names an existing test that asserts the non-conformant result and must change with the fix. "Re-read" says whether the independent re-read covered the row: "confirmed" means it was re-read and holds as stated, "not covered" means it was read once. Line numbers are at revision b39a524a2.

High impact

Defect The specification requires Donner does Minimal example Evidence Pinned Re-read Rows
Inherited value replaces the element's own value Inheritance supplies a value only when the cascade yields none for the element; priority is never compared between parent and child. When the element has a value or initial, and its direct parent's computed value carries a strictly higher specificity, the parent's value and specificity replace it. The override is transitive down a chain of weaker declarations. Nine properties are repaired afterwards; 35 inherited properties are not. <g style="stroke-width:10"><rect stroke="black" stroke-width="2"/></g> strokes 10 wide. donner/svg/properties/Property.h:208-213; donner/svg/components/style/StyleSystem.cc:797-806 Property.InheritFromCoversStateAndSpecificityBranches confirmed feat:css-cascade-4/inheritance-parent-priority-overrides-child, feat:css-cascade-4/value-stage-specified in selectors_cascade; feat:svg2/painting-inherited-value-vs-declared-value in painting_properties; feat:css-cascade-4/inheritance-ignores-specificity in styling_properties
xml-prefixed processing instruction fails the parse Only the exact target xml (any case) is reserved; xml-stylesheet is an ordinary target and must at least parse. Any target that begins with lowercase xml is routed to the XML declaration parser, which fails. The document does not load. <?xml-stylesheet type="text/css" href="a.css"?> donner/base/xml/XMLParser.cc:1624-1630, :1133-1152 SVGParser.XmlStylesheetInstructionIsRejectedBeforeSvgProjection confirmed feat:xml/prod-17-PITarget, feat:xml-stylesheet/pi-recognition, feat:svg2-conform/interpreter-xml-constructs in xml_data_formats; feat:svg2/styling-css-xml-stylesheet-pi in styling_properties; feat:svg2/xml-stylesheet-processing-instruction (rated medium) in structure
Custom entities stay literal in large files A reference to a declared internal entity is replaced by its replacement text. The size check adds every unread byte of the document, so a reference with about 64 KiB or more of document after it is left as &name;, with no error. Illustrator-style xmlns="&ns_svg;" on the root of a file larger than 64 KiB: the namespace stays literal and the document is rejected. donner/base/xml/XMLParser.cc:47, :1034-1042, :1067-1077 none for a small entity in a large document confirmed feat:xml/limit-entity-expansion-bytes, feat:xml/entity-internal-general-content, feat:xml/entity-internal-general-attvalue, feat:xml/avn-entityref-recursive in xml_data_formats
1,000 character references are fatal Predefined entities and character references are always legal and cannot amplify input. Each &amp;, &lt; or &#45; counts toward a per-document limit of 1,000; the 1,001st is a fatal error. Any file with 1,001 &amp; references. donner/base/xml/XMLParser.cc:946-954, :533-541; donner/base/xml/XMLParser.h:104 XMLParser test BuiltInEntitySubstitutionLimitExceeded confirmed feat:xml/limit-entity-substitution-count in xml_data_formats
Default node limit rejects ordinary files XML sets no limit on the number of nodes. Elements, text runs (including white space between elements), comments and processing instructions count toward a default of 8,192. A pretty-printed file with about 4,095 elements fails. Callers can raise the limit. A map or plot with 5,000 shapes, one per line. donner/base/xml/XMLParser.cc:1604-1610, :1378; donner/svg/parser/SVGParser.h:36 XMLParser test MaxElementsLimitAppliesToDataSplitByIgnoredComments confirmed feat:xml/limit-tree-nodes in xml_data_formats
color: hsl() aborts hsl() resolves to an sRGB color wherever color is read. The computed color keeps the HSL alternative. Fill and stroke color resolution reads it through an accessor that assumes RGB for every drawn element that inherits the color, which raises std::bad_variant_access or terminates. A fix is in review. <g color="hsl(120 100% 25%)"><rect width="10" height="10"/></g> donner/svg/renderer/RendererDriver.cc:1761, :1786; donner/css/Color.h:186 none confirmed feat:css-color-4/color-property-hsl-storage in color_compositing
CSS transform functions compose in reverse A function list is the left-to-right matrix product. In a CSS declaration, a run of adjacent matrix, scale, rotate or skew functions is merged earlier-then-later. The transform attribute and lists that alternate with translate are right. style="transform: rotate(90deg) scale(2,1)" rotates first, then scales. donner/svg/core/CssTransform.h:92-101 TransformParserCss.CompositeCaseSensitivity confirmed feat:css-transforms-1/transform-function-list-order, prop:transform, feat:svg2/coords-transform-property-support in transforms_coordinates
Transform reference box is offset The view-box reference box sits at the user-space origin; for use and nested svg it is the nearest viewport, and use x, y are a translation appended after the transform. The origin is the top left of the viewBox rectangle plus the offset, so every non-translate transform pivots about (min-x, min-y). use and nested svg use their own x, y, width, height box. <svg viewBox="100 100 200 200"><rect transform="scale(2)" .../></svg> maps p to 2p - (100,100). <use x="100" y="50" transform="scale(2)"> maps p to 2p + (100,50); the CR gives 2p + (200,100). donner/svg/components/layout/LayoutSystem.cc:796-815, :150-170, :458-463 LayoutSystemTest.NestedSvgWithoutViewBoxUsesBoundsAsViewBox confirmed feat:css-transforms-1/view-box-reference-box-origin, feat:css-transforms-1/reference-box-of-sized-elements, val:transform-box/view-box, prop:transform-origin in transforms_coordinates; feat:svg2/use-xy-translate in structure
Conditional rules are dropped Rules in @media apply while the query matches; SVG 2 lists @media as required. @media and @supports blocks are discarded with a warning, including @media all and @media screen. @media screen { rect { fill: green } } styles nothing. donner/css/parser/StylesheetParser.cc:519-530, :728-730 StylesheetParser.ConditionalRulesWarnAndPreserveFollowingRules, StylesheetParser.ConditionalBlocksDoNotRegisterNestedFontFaces confirmed feat:css-conditional-3/at-media, feat:css-conditional-3/conditional-group-processing in css_syntax_values; feat:css-cascade-4/filtering in selectors_cascade; feat:svg2/styling-css-at-media in styling_properties
No custom properties or var() A name starting with two dashes is always a valid declaration; var() substitutes it anywhere in a value. --x: red is an unknown property. A value containing var() fails its grammar and the declaration is dropped, so a lower-priority declaration wins. rect { --c: red; fill: var(--c) } leaves the fill at its inherited or initial value. donner/svg/properties/PropertyRegistry.cc:3455-3464 none confirmed feat:css-variables-1/custom-property-declaration, feat:css-variables-1/var-function in css_syntax_values
Bidi reordering covers part of the layout space UAX #9 applies to all SVG text: wrapped, multi-line, vertical and on a path. The reordering plan is skipped when inline-size is set, when any span is on a path, when a span preserves a newline or tab, in vertical text with an upright span, and in vertical text with textLength. The base direction is ignored in every vertical mode and on a path. Mixed-direction text with inline-size set is not reordered across runs. donner/svg/text/TextEngine.cc:4453-4481, :842-844, :4372-4379 TextEngineTest.BidiNormalInlineSizeKeepsTheExistingSimpleShapingScope, TextEngineTest.BidiNormalExcludedScopesKeepControlsOutOfPositionListIndices, RtlPreservedNewlineKeepsHebrewLinesInSourceOrder confirmed feat:svg2/text-bidi-scope-all-layouts in text_layout; feat:uax9/application-scope, prop:direction, val:direction/rtl in text_font_properties
Generic font families resolve to one face serif, sans-serif, monospace, cursive and fantasy map to distinct faces. Without a host mapping, every generic falls through to the embedded sans-serif face. List walking and name matching are right. font-family="monospace" draws proportional sans-serif. donner/svg/resources/FontManager.cc:696-697, :602-705 none confirmed prop:font-family, with the value rows val:font-family/serif, val:font-family/monospace, val:font-family/cursive, val:font-family/fantasy (rated medium), in text_font_properties
@font-face supports a subset A face is defined by its descriptors; the family is the whole descriptor value. Family, src and the three matching descriptors exist; every other descriptor is ignored. An unquoted multi-word family registers only its first word. The basic text backend never uses document faces. @font-face { font-family: Noto Sans; src: url(n.woff) } registers Noto. donner/css/parser/StylesheetParser.cc:457-481; donner/svg/text/TextEngine.cc:244-250 none confirmed feat:css-fonts-4/@font-face, feat:css-fonts-4/font-face-font-family (rated medium) in text_font_properties

Medium impact, selected

Defect The specification requires Donner does Minimal example Evidence Pinned Re-read Rows
style elements cascade in reverse A later sheet wins ties. Sheets are applied newest first, so the earliest style element wins ties; the order can change again after a sheet is removed. <style>rect{fill:red}</style><style>rect{fill:green}</style> gives red. donner/svg/components/style/StyleSystem.cc:689-704 none confirmed feat:svg2/style-multiple-sheets-order in structure; feat:svg2/styling-style-element-multiple-sheet-order in styling_properties; feat:css-cascade-4/order-of-appearance-multiple-style-elements in selectors_cascade
Selector list specificity A list applies at the specificity of its most specific matching member. The first matching member in source order is used. rect, #a { fill: green } .c { fill: red } on <rect id="a" class="c"> gives red. donner/svg/components/style/StyleSystem.cc:517-531; donner/css/Selector.h:119-127 none confirmed feat:selectors-4/specificity-selector-list-most-specific-match in selectors_cascade
xlink:href overrides href href wins when both are present. On linearGradient, radialGradient, pattern, image, feImage, a, textPath and filter, attributes are applied sorted by local name then prefix, so xlink:href always overwrites href. use and the animation elements are right. <linearGradient href="#a" xlink:href="#b"> inherits from b. donner/svg/parser/AttributeParser.cc:452-453, :1466-1467, :1569-1570, :2003-2004, :2161-2162 none confirmed feat:xlink/href-precedence#2 in xml_data_formats; attr:href@a (low) in structure; feat:svg2/href-over-xlink-href-precedence (low) in paint_servers_markers_images; feat:svg2/textpath-href-over-xlink-href (low) in text_layout
transform: none rejected none is valid and overrides a lower-priority transform. The CSS parser accepts only function tokens; the declaration is dropped. rect { transform: none } cannot cancel transform="rotate(45)". donner/svg/parser/CssTransformParser.cc:170-246 none not covered val:transform/none in transforms_coordinates
marker-*, marker and mask reject none and quoted URLs none is the initial value and the way to cancel an inherited marker; url("#m") equals url(#m). The shared reference parser accepts only a url token. none and the quoted form are parse errors; trailing tokens are accepted silently. <g marker-end="url(#m)"><path marker-end="none"/></g> still draws the marker. donner/svg/properties/PropertyRegistry.cc:1343-1364 none not covered val:marker-end/none, val:marker-start/none, val:marker-mid/none, val:marker/none, prop:marker in painting_properties; val:mask/none, val:mask/<mask-source> url() in clipping_masking; feat:css-values-4/url-quoted in css_syntax_values
hwb() converts wrongly; rebeccapurple missing Scale each RGB channel of the pure hue by (1 - W - B) and add W. 148 named colors. The scale and offset are applied to the HSL triple, and the gray branch rounds a 0 to 1 value as if it were a 0 to 255 channel. Correct only when W and B are 0. 147 of 148 names exist. hwb(0 50% 50%) gives rgb(1 1 1); the specification gives rgb(128 128 128). donner/css/parser/ColorParser.cc:616-631 ColorParser tests at donner/css/parser/tests/ColorParser_tests.cc:299-301 confirmed feat:css-color-4/hwb-to-srgb, val:color/named-colors in color_compositing
No calc() or math functions Math functions are valid wherever a numeric type is allowed; CSS Values 3 already requires calc(). A function where a number or length is expected is an error; the declaration is ignored. width: calc(100% - 10px) donner/svg/parser/LengthPercentageParser.cc:26-29 none not covered feat:css-values-4/math-calc in css_syntax_values
Required pseudo-classes invalidate the rule SVG 2 requires :link, :visited, :hover, :active, :focus, :lang(). They are parse errors, so a selector list that contains one drops the whole rule. The built-in :link, :visited { cursor: pointer } rule is itself discarded. a, a:hover { fill: blue } styles nothing. donner/css/parser/SelectorParser.cc:613-616; donner/css/parser/StylesheetParser.cc:485-489 SelectorParser.Level4StrictPseudoClassArguments not covered feat:selectors-4/link, feat:selectors-4/hover, feat:selectors-4/lang in selectors_cascade; feat:svg2/styling-css-pseudo-class-link in styling_properties; feat:svg2/interact-focus-pseudo-class, feat:svg2/interact-event-dynamic-pseudo-classes in interactivity_accessibility
style media attribute ignored The sheet applies only when its media query list matches. The attribute is not parsed; a media="print" sheet applies. <style media="print"> donner/svg/components/style/StyleSystem.cc:68-79 none confirmed attr:media@style in structure; feat:svg2/styling-style-element-media in styling_properties; feat:mediaqueries-4/style-element-media-attribute (classed divergent) in css_syntax_values
Selectors cross the use shadow boundary Document rules match against the shadow tree's own structure; selectors cannot reach from the host into it. Ancestors of the use match cloned content, and structural pseudo-classes on the instance root are evaluated against the children of the use. The source element's original ancestors correctly stop matching. use > rect { fill: red } styles a cloned rect. donner/svg/components/style/StyleSystem.cc:374-386, :670-704 none not covered feat:svg2/use-style-rule-scoping in structure; feat:css-scoping-1/shadow-tree-style-encapsulation (rated low) in selectors_cascade
gradientTransform and patternTransform not inherited through href Both are in the list of attributes copied from the template. Only units, spread method and coordinates are copied. A code comment documents this as intended. A gradient that references a template carrying gradientTransform renders untransformed. donner/svg/components/paint/GradientComponent.cc:12-37; donner/svg/SVGGradientElement.h:79-81; donner/svg/renderer/RendererDriver.cc:777-789 none confirmed feat:svg2/gradient-href-gradientTransform, feat:svg2/pattern-href-patternTransform in paint_servers_markers_images
clip-rule on the clipped element changes the clip clip-rule applies only to graphics elements inside a clipPath. The referencing element's clip-rule is combined into every child that has none of its own. <rect clip-path="url(#c)" clip-rule="evenodd"> switches the children of #c to evenodd. donner/svg/renderer/RendererDriver.cc:1034-1037 none confirmed prop:clip-rule, feat:css-masking-1/clip-rule-referencing-element-ignored in clipping_masking
objectBoundingBox clip paths apply child transforms in the wrong order The child transform applies in bounding-box units. The bounding-box matrix is applied before the child's transform. Only an identity child transform is safe in general. A child transform="translate(.5 0)" moves 0.5 user units, not half the box width. donner/svg/renderer/RendererDriver.cc:983-989; donner/svg/renderer/RendererTinySkia.cc:1099-1100 none confirmed val:clipPathUnits/objectBoundingBox in clipping_masking
Mask content does not inherit from the mask's ancestors; display applies to mask Properties inherit into the mask from its own ancestors; display, opacity and filter do not apply to the mask element. The offscreen mask root has no parent, so nothing above the mask is inherited. display="none" on the mask leaves the element unmasked. <g fill="white"><mask id="m"><rect .../></mask></g> paints the rect black. donner/svg/components/style/StyleSystem.cc:850-869; donner/svg/renderer/RenderingContext.cc:443-446 none confirmed feat:css-masking-1/mask-property-inheritance, feat:css-masking-1/mask-display-opacity-filter-not-applied in clipping_masking
CSS mask is one unquoted url() mask is a shorthand over layered longhands with image sources. Only mask: url(#id) works. No longhand is registered; mask-image: url(#m) has no effect. mask: url(#m) alpha uses the element's own mask-type. donner/svg/properties/PropertyRegistry.cc:1352-1357 none not covered prop:mask, prop:mask-image, val:mask-image/<image> in clipping_masking
Hit testing misses images and ignores clipping Images hit on their rectangle; clipped-away area must not capture events. An image has no hit path, so it is hit only with pointer-events: bounding-box. Hit geometry never reads the clip path. Text hits on one ink box for the whole text root. A link around a bitmap never resolves. donner/svg/renderer/RenderingContext.cc:1711-1727, :1760-1794 TextPathHitTestUsesTransformedGlyphBounds (text) confirmed for image and clip feat:svg2/interact-hit-image-rectangle, feat:svg2/interact-hit-clip-path, feat:svg2/interact-hit-text-character-cells in interactivity_accessibility
viewBox with surrounding white space is dropped Attributes with CSS value syntax allow leading and trailing white space. The attribute is an error and is ignored, which changes the whole document scale. viewBox=" 0 0 100 100" donner/svg/parser/AttributeParser.cc:280-285 ViewBoxParser.ExtraData not covered feat:svg2/coords-viewbox-surrounding-whitespace in transforms_coordinates
Root transform applied inside the viewBox mapping A transform on the outermost svg applies outside the element. It is applied in viewBox user units, while its origin is computed from the canvas box. Wrong whenever the root viewBox scale is not 1 or its origin is not 0. donner/svg/components/layout/LayoutSystem.cc:458-459; donner/svg/renderer/RenderingContext.cc:474-480 none confirmed feat:svg2/coords-transform-on-outermost-svg in transforms_coordinates
transform-box missing fill-box selects the object bounding box as the reference box. The property is not registered. transform-box: fill-box; transform-origin: center no match for transform-box under donner/ none not covered prop:transform-box, val:transform-box/fill-box in transforms_coordinates
Font-relative units use default metrics em and rem resolve against the computed font size. Correct for basic shapes and stroke widths. About 50 call sites pass default metrics (16px), including x, y, width, height of svg, image, use, symbol, and transform lengths. <svg font-size="32"><use x="1em" .../></svg> donner/svg/components/layout/LayoutSystem.cc:376, :387, :406 none not covered feat:css-values-4/unit-em, feat:css-values-4/unit-rem in css_syntax_values; feat:svg2/coords-unit-em in transforms_coordinates
Invalid presentation attribute is ignored An attribute that fails to parse acts as the initial value and still takes part in the cascade. The property stays unset and inherits. <g fill="red"><rect fill="bogus"/></g>: the CR gives black, Donner red. donner/svg/properties/PropertyParsing.h:113-119 PropertyRegistry.ParsePresentationAttribute confirmed as a divergence from explicit CR text feat:svg2/styling-presattr-invalid-value-initial in styling_properties; feat:svg2/painting-presentation-attribute-invalid-value (rated low) in painting_properties
Positioning lists honored in wrapped text In auto-wrapped text x, y, dx, dy, rotate are ignored except for the initial position. Later x or y restart the line, dx accumulates, rotate applies. Content with per-line x/y fallbacks plus inline-size is not reflowed. donner/svg/text/TextEngine.cc:3015-3018, :3224-3232, :3084-3098 WrappedExplicitPositionStartsIndependentAnchorChunk, WrappedRelativeInlineShiftSurvivesFollowingLines confirmed feat:svg2/text-list-ignored-in-auto-wrap in text_layout
SVG image without a size fills the viewport Auto sizing uses the referenced document's intrinsic dimensions and ratio. Intrinsic size is reported only for raster images. <image href="icon.svg"/> donner/svg/components/resources/ResourceManagerContext.cc:756-763 none confirmed feat:svg2/image-auto-size-svg in paint_servers_markers_images
Filters over a structural limit hide the element The specification sets no limit. Above 32 primitives, 16 merge inputs, 1,024 table values or kernel order 64 the computed filter is removed and the element is not rendered. A filter with 33 primitives. donner/svg/components/filter/FilterGraph.h:68-83 FilterSystemTest.FilterOverPrimitiveLimitIsRejectedWithoutTruncation not covered feat:filter-effects-1/implementation-limits in filters_core; feat:filter-effects-1/error-resource-limits in filters_generators_lighting
Turbulence is anchored to the raster and does not stitch Noise is a function of the user-space point; stitchTiles="stitch" snaps frequencies and wraps at the tile edge. Only the linear part of the transform is used, so a translation does not move the pattern. Stitching has no frequency adjustment and no tile-origin term. A translated shape with a turbulence fill shows the noise sliding. donner/svg/renderer/FilterGraphExecutor.cc:486-502; third_party/tiny-skia-cpp/src/tiny_skia/filter/Turbulence.cpp:523-533 none confirmed on the CPU path feat:filter-effects-1/turbulence-point-coordinates, feat:filter-effects-1/turbulence-stitching in filters_generators_lighting
UTF-16 input rejected Every XML processor must read UTF-16. Bytes go to the parser with no transcoding; a UTF-16 file fails as invalid UTF-8. A UTF-16LE file with a byte order mark. donner/base/xml/XMLParser.cc:254-274; donner/svg/parser/SVGParser.cc:1022-1034 none not covered feat:xml/encoding-utf16 in xml_data_formats
XLink matched by prefix text The legacy attribute is href in the XLink namespace under any prefix. xl:href bound to XLink is ignored; xlink:href with the prefix unbound is honored. <use xl:href="#a" xmlns:xl="http://www.w3.org/1999/xlink"> donner/svg/parser/SVGParser.cc:571-585 SVGParser test XLinkAttributeUnderAnotherPrefixWarnsThatItIsNotInterpreted not covered feat:xml-names/xlink-namespace-matching in xml_data_formats
Nested rule swallows the next declaration Under the 2026 CSS Syntax text a failed declaration is retried as a nested rule and later declarations survive. The nested rule and the following declaration are discarded together. a { b { fill: red } stroke: blue; } loses stroke: blue. donner/css/parser/DeclarationListParser.cc:86-134, :268-305 DeclarationListParser.InvalidTokens confirmed; conformant under the 2021 text feat:css-syntax-3/consume-block-contents, feat:css-nesting-1/nested-style-rules in css_syntax_values

Findings by Area

One subsection per ledger. Each gives the class counts, what is solid, and the notable gaps. The tables are a selection: every high row, the medium rows that matter most, and low rows that are cheap and visible. The medium rows not cited here, most of them in the text and font ledger, are in the ledgers. Keys in a subsection belong to that subsection's ledger unless a link says otherwise. The ledger has every row with its anchor, evidence and tests.

Document structure

Ledger: structure. 214 rows: 84 conformant, 20 conformant-untested, 34 partial, 12 divergent, 21 missing, 39 not-applicable, 3 spec-ambiguity, 1 legacy.

Donner has an element type for 61 of the 63 elements in the CR element index; foreignObject and view are the two without one, and script is deliberately inert. The use shadow tree (16 of 28 feature rows conformant with tests), symbol sizing, switch with systemLanguage, nested svg viewports, title, desc and metadata retention, and the error rule for attribute and reference errors are solid.

Key Class Impact Size Gap
feat:svg2/use-xy-translate partial high S With a non-translate transform on the use, x and y act as the pivot. Same defect as the reference-box rows in transforms_coordinates.
feat:svg2/use-style-rule-scoping divergent medium M Rules that depend on ancestors of the use match cloned content.
feat:svg2/style-multiple-sheets-order divergent medium S Several style elements cascade newest first.
feat:svg2/xml-stylesheet-processing-instruction divergent medium S A document with <?xml-stylesheet?> does not load. Rated high in xml_data_formats.
attr:media@style missing medium S media is not parsed; print-only sheets apply.
el:foreignObject missing medium XL No element type; the subtree is skipped. Rendering foreign content is optional in the CR. The switch fallback pattern works because the foreignObject child is skipped; without requiredExtensions the CR selects the foreignObject instead (feat:svg2/switch-eligible-children).
el:view, feat:svg2/fragment-bare-name-view, feat:svg2/fragment-svgview, feat:svg2/fragment-media-spatial missing low S to M No view element, svgView() or media fragments, and no API to render a document at a view.
val:requiredExtensions/empty-string divergent low S An empty requiredExtensions evaluates true; the CR says false. One-line fix.
feat:svg2/style-child-element-error divergent low S An element child inside style makes the whole file unloadable.
attr:href@a divergent low S xlink:href wins over href on a.
feat:svg2/symbol-refxy-placement, feat:svg2/symbol-transform divergent low S refX/refY are wrong when the viewBox origin is not 0 or alignment adds an offset; transform on symbol is ignored (SVG 1.1 behavior).
feat:svg2/referencing-mode-image, feat:svg2/processing-mode-static, feat:svg2/processing-mode-animated divergent, missing low S to M Sub-documents always use secure static mode; there is no static or animated mode that allows external resources.
feat:svg2/use-negative-width-height-ignored divergent low S A negative size on use hides the instance instead of being ignored.
feat:svg2/lang-xml-lang-precedence, feat:svg2/conditional-animation-elements missing low S to M lang has no consumer; conditional attributes on animation elements are not evaluated.

Basic shapes, paths and geometry properties

Ledger: shapes_paths. 156 rows: 107 conformant, 16 conformant-untested, 18 partial, 4 divergent, 5 missing, 2 not-applicable, 4 spec-ambiguity.

This is the most conformant area and has no high or medium row. All 20 path command rows, the path grammar and error handling, arc out-of-range handling, the equivalent paths of the basic shapes and the non-rendering conditions are conformant with tests.

Key Class Impact Size Gap
feat:svg2/geometry-css-declaration-requires-units divergent low S circle and ellipse accept unitless CSS values such as r: 5; rect is strict.
val:width/auto, val:height/auto partial low S The auto keyword is a parse error, so a CSS width: auto cannot override a valid attribute.
prop:path-length, feat:svg2/pathLength-zero, feat:svg2/pathLength-scales-textPath-startOffset missing, divergent low S No path-length property; pathLength="0" is ignored; startOffset is not scaled by pathLength.
feat:svg2/points-error-renders-prefix divergent low S The x,y,,x,y form of points loses the valid prefix.
feat:svg2/path-closepath-repeated divergent low S Repeated closepath; observable only through markers or caps.
feat:svg2/geometry-calc-values missing low M No calc() in geometry properties (the cross-cutting CSS values gap).
prop:r, prop:d partial low S A negative r is stored instead of being invalid; an unparseable CSS d does not fall back to the attribute.

Text layout

Ledger: text_layout. 185 rows: 111 conformant, 8 conformant-untested, 28 partial, 9 divergent, 10 missing, 8 not-applicable, 3 spec-ambiguity, 8 legacy.

Per-character positioning lists, the layout algorithm (21 of 28 rows conformant), textLength, text on a path with startOffset, side, method and path, vertical text, and glyph-cell bounding boxes are solid on both text backends. The gaps are bidi scope and the rules for wrapped text.

Key Class Impact Size Gap
feat:svg2/text-bidi-scope-all-layouts partial high L No reordering for wrapped, on-path, preserved-newline and upright vertical text.
feat:svg2/text-list-ignored-in-auto-wrap divergent medium M Positioning lists are honored inside auto-wrapped text.
prop:line-height missing medium M Line advance is fixed by font metrics; authored line spacing is ignored.
prop:direction partial medium M direction on a tspan moves the anchor edge only; no rtl on a path or in vertical text.
feat:svg2/text-wrap-css-line-breaking partial medium L Soft breaks only after spaces.
feat:svg2/text-font-fallback partial medium M The basic backend replaces document fonts with the built-in face.
prop:text-overflow missing low M Not implemented.
feat:svg2/textpath-href-over-xlink-href divergent low S xlink:href wins on textPath.
feat:svg2/text-algo-textlength-not-with-inline-size divergent low S textLength is still applied with inline-size when the text fits on one line.
feat:svg2/text-list-invalid-attribute-empty-list divergent low S The parse path and the DOM mutation path disagree on an invalid positioning list.
el:textPath partial low S text > a > textPath is hidden although a is transparent to the content model.
feat:svg2/text-render-chunk-fill-stroke-as-one partial low S An earlier span's stroke paints before a later span's fill within one chunk.

Paint servers, markers and images

Ledger: paint_servers_markers_images. 199 rows: 126 conformant, 16 conformant-untested, 30 partial, 12 divergent, 8 missing, 4 not-applicable, 2 spec-ambiguity, 1 legacy.

Gradient geometry and units, the radial focal rules including the SVG 2 cone, stop rules, pattern tiling (12 of 19 rows conformant), marker placement and orientation (18 of 29), and raster images are solid on both renderers.

Key Class Impact Size Gap
feat:svg2/gradient-href-gradientTransform, feat:svg2/pattern-href-patternTransform divergent medium S Template transforms are not copied through href.
attr:href@linearGradient, attr:href@radialGradient, attr:href@pattern partial medium S to M Same-document targets only; xlink:href wins over href.
feat:svg2/image-auto-size-svg divergent medium M An SVG image without a size is not sized from its intrinsic dimensions.
feat:svg2/linear-gradient-zero-length-vector divergent low S The two renderers disagree with each other and mostly with the CR.
feat:svg2/marker-units-strokeWidth-scale partial low S markerUnits="strokeWidth" ignores units and non-scaling-stroke.
feat:svg2/marker-orient-closed-subpath divergent low S Orientation at the closing vertex follows the resvg references, not the literal CR sentence.
feat:svg2/image-overflow, feat:svg2/image-svg-root-preserveAspectRatio-ignored, feat:svg2/image-fragment-only-href divergent low S to M overflow is ignored on image; the embedded root's preserveAspectRatio is honored; a fragment-only href is not resolved.
feat:svg2/image-object-fit-position, feat:svg2/image-media-fragments missing low M to L No object-fit, object-position or media fragments.
feat:svg2/gradient-color-interpolation-property missing low M Gradients always interpolate in sRGB.
feat:svg2/stop-zero-stops, feat:svg2/gradient-zero-size-bbox partial low S The fallback color is painted for a valid but unusable reference.
feat:svg2/pattern-attributes-not-css, feat:svg2/pserver-referencable-when-display-none divergent, partial low S A style sheet width or height changes a pattern tile; display="none" on the pattern element itself suppresses it.

Clipping and masking

Ledger: clipping_masking. 192 rows: 74 conformant, 2 conformant-untested, 21 partial, 9 divergent, 76 missing, 6 not-applicable, 4 spec-ambiguity.

clipPath with clipPathUnits, nested clip paths, basic-shape clip-path functions, mask with maskUnits, maskContentUnits and mask-type, and the overflow rules are conformant against the resvg cases on both renderers. 65 of the 76 missing rows are the CSS mask longhands (43) and mask-border (22), which no SVG content needs while only mask element references exist.

Key Class Impact Size Gap
prop:clip-rule, feat:css-masking-1/clip-rule-referencing-element-ignored divergent medium S clip-rule on the referencing element changes the clip.
val:clipPathUnits/objectBoundingBox divergent medium S Child transforms apply in the wrong order.
feat:css-masking-1/mask-property-inheritance divergent medium M Mask content inherits nothing from above the mask element.
feat:css-masking-1/mask-display-opacity-filter-not-applied divergent medium S display, opacity and filter on the mask element take effect.
val:mask/none, val:mask/<mask-source> url() divergent, partial medium S mask: none and quoted URLs are rejected.
prop:mask, val:mask/<mask-layer> full grammar, prop:mask-image, val:mask-image/<image>, feat:css-masking-1/mask-image-css-images partial, missing medium L to XL No shorthand grammar, longhands, layers or image sources.
prop:clip-path, val:clip-path/<geometry-box> alone partial, missing medium S to M A box keyword alone, rect(), xywh(), shape() and rounded polygons are missing.
feat:css-masking-1/clip-pointer-events missing medium M Clipped-away regions still receive hits.
prop:clip, feat:svg2-render/stacking-context-clip-property missing low S The legacy clip property, which CSS Masking still requires.
feat:css-masking-1/clip-path-on-clippath-child partial low M A text child of clipPath with its own clip-path contributes nothing.
feat:css-masking-1/clippath-use-direct-reference partial low S Visibility is checked on the use, not on the referenced element.
feat:css-masking-1/invalid-mask-reference, val:clip-path/stroke-box divergent low S Both follow the resvg references and browsers against the letter of the text; see the ambiguity section.

Filter Effects: filter element, properties and the first primitives

Ledger: filters_core. 212 rows: 147 conformant, 22 conformant-untested, 22 partial, 6 divergent, 6 missing, 4 not-applicable, 4 spec-ambiguity, 1 legacy.

The filter element, filter region and subregions, input and result routing, color-interpolation-filters, every shorthand filter function, and feBlend through feDropShadow are implemented on both renderers; 147 rows are conformant with tests. Nine feBlend modes have a parse test and no render test, and are conformant by reading only: val:mode/overlay, val:mode/color-dodge, val:mode/hard-light, val:mode/soft-light, val:mode/difference, val:mode/exclusion, val:mode/saturation, val:mode/color and val:mode/luminosity.

Key Class Impact Size Gap
attr:scale@feDisplacementMap, feat:filter-effects-1/operating-coordinate-space divergent, partial medium S The CPU renderer treats scale as raster pixels; the GPU renderer uses a uniform factor that is exact only for uniform scaling.
val:in/BackgroundImage, val:in/BackgroundAlpha missing medium L Unknown input names fall back to the previous result.
feat:filter-effects-1/implementation-limits divergent medium S Exceeding a structural limit hides the filtered element.
el:feConvolveMatrix partial medium M kernelUnitLength is missing; edge modes use the raster edge.
val:divisor/zero-uses-default divergent low S divisor="0" gives transparent black instead of the default divisor.
attr:kernelMatrix@feConvolveMatrix divergent low S A wrong value count gives transparent black; the TR carries an open issue on this rule and the resvg references render nothing.
val:in/FillPaint, val:in/StrokePaint partial low M Neither renderer fills the filter region with the paint, and the two differ.
feat:filter-effects-1/feDisplacementMap-color-space divergent low S in is converted to the primitive color space; only in2 should be read that way.
prop:color-interpolation-filters, prop:filter partial low S The attribute on filter does not enter the cascade; the filter list parser skips commas.

Filter Effects: generators, lighting and the remaining primitives

Ledger: filters_generators_lighting. 151 rows: 93 conformant, 19 partial, 22 divergent, 7 missing, 2 not-applicable, 6 spec-ambiguity, 2 legacy.

feFlood, feGaussianBlur, feImage, feMerge, feMorphology, feOffset, feTile, both lighting primitives and the three light sources are implemented on both renderers, and every conformant row has a test. The 22 divergent rows are concentrated in the turbulence reference algorithm, the lighting border kernels and the resource limits. The ledger has its own table of the four places where the two renderers differ.

Key Class Impact Size Gap
feat:filter-effects-1/turbulence-stitching, attr:stitchTiles@feTurbulence, val:stitchTiles/stitch divergent medium M Stitching does not follow the reference code; tiles do not join.
feat:filter-effects-1/turbulence-point-coordinates divergent medium M The noise is anchored to the raster origin, not to user space.
feat:filter-effects-1/error-resource-limits divergent medium S Over a limit the filtered element is not rendered.
feat:filter-effects-1/turbulence-seed-setup divergent low S A seed between 0 and 1 degenerates the generator into a regular pattern.
feat:filter-effects-1/turbulence-gradient-setup divergent low S Follows the SVG 1.1 form of the gradient setup, as the resvg references do; the 2018 text adds a rejection step. Decision needed.
val:numOctaves/zero, val:numOctaves/non-integer, val:numOctaves/large divergent low S Zero octaves of fractal noise differ per renderer; 2.5 renders 2 octaves; more than 16 octaves drops the element.
feat:filter-effects-1/lighting-surface-normal-edges, feat:filter-effects-1/lighting-surface-normal-corners divergent low S Border normals use the wrong factors, and the two renderers define the border differently.
feat:filter-effects-1/feTile-transformed divergent low M Under rotation or skew the repeated cell is the axis-aligned bounding box.
feat:filter-effects-1/gaussian-blur-default-subregion divergent low S The default subregion of a blur is expanded beyond the rule.
attr:href@feImage, attr:xlink:href@feImage divergent low S xlink:href wins over href.

Animation

Ledger: animation. 145 rows: 99 conformant, 8 conformant-untested, 20 partial, 3 divergent, 8 missing, 6 not-applicable, 1 spec-ambiguity.

Timing (begin and end forms, clock values, min, max, repeat), calcMode, additive and cumulative behavior, the from, to, by, values combinations, animateTransform and animateMotion are implemented with unit tests; 99 of 145 rows are conformant. 148 of the 156 attribute index rows marked animatable are wired fully or in part. There is no high row.

Key Class Impact Size Gap
attr:attributeName@animate, animateTransform, set, val:attributeName/css-property, feat:svg-animations/css-property-vs-attribute partial medium M Only presentation attribute names are reachable as properties, so CSS-only properties such as mix-blend-mode cannot be animated; prefixes are not resolved through namespace declarations.
val:attributeName/xml-attribute partial medium M Eight animatable attributes have no applier; the ledger's sub-table lists them.
attr:dur@animate, animateMotion, animateTransform, set divergent low S A zero or negative dur is stored instead of being ignored.
val:to/to-overrides-by divergent low S animateTransform with to and by and no from uses by.
feat:svg-animations/animateMotion-target-elements, el:mpath divergent, partial low S Motion on an unsupported target writes an override; mpath references to basic shapes are rejected.
feat:svg-animations/timing-events, feat:svg-animations/conditional-processing partial, missing low S to M Begin, end and repeat boundaries are not fed back as events; conditional attributes on animation elements are ignored.
feat:svg-animations/interval-computation, feat:svg-animations/sandwich-priority-order partial low S to M The no-interval case and the syncbase tie-break are not implemented.

Interactivity and accessibility

Ledger: interactivity_accessibility. 233 rows: 55 conformant, 6 conformant-untested, 69 partial, 9 divergent, 25 missing, 68 not-applicable, 1 spec-ambiguity.

The pointer-events keyword set for filled and stroked shapes, the cursor value set (37 rows conformant), and hit testing through use instances are implemented with tests. The 49 partial rows for role and aria-* record that the attributes are retained with no accessibility tree; the 60 event handler attributes are not applicable without a script engine.

Key Class Impact Size Gap
feat:svg2/interact-hit-image-rectangle missing medium S Raster images are hit only with pointer-events: bounding-box.
feat:svg2/interact-hit-clip-path divergent medium M Clipped-away area captures hits.
feat:svg2/interact-hit-text-character-cells divergent medium M Text is hit on one ink box for the whole text root; tspan, textPath and a inside text are never the target.
feat:svg2/interact-focus-pseudo-class, feat:svg2/interact-event-dynamic-pseudo-classes missing medium M No focus, hover or active state; rules that use those pseudo-classes are dropped.
prop:pointer-events partial medium M The keywords select the right tests, but the hit regions are wrong for images, text, clipped content and strokes.
feat:svg2/interact-hit-stroke-region, val:pointer-events/visibleStroke divergent low S to M The stroke hit band is twice the painted stroke width and ignores caps, joins and dashes.
feat:svg2/interact-hit-text-paint-and-visibility divergent low S Text with fill="none" stroke="none" still hits under the painted values.
feat:svg2/interact-a-nested-links-inert, feat:svg2/interact-a-link-in-text divergent low S to M A nested link resolves to the innermost link; an a inside text is never reported.
feat:css-ui-4/cursor-ua-link-rule divergent low S The built-in :link cursor rule is discarded by the selector parser.

Painting properties

Ledger: painting_properties. 191 rows: 116 conformant, 15 conformant-untested, 25 partial, 16 divergent, 10 missing, 4 not-applicable, 3 spec-ambiguity, 2 legacy.

The paint grammar including context-fill and context-stroke, fill rules, stroke width, caps, joins, miter limit and dashing, paint-order, image-rendering and non-scaling-stroke on paths are conformant: 71 of 112 value rows and 32 of 55 feature rows have asserting tests.

Key Class Impact Size Gap
feat:svg2/painting-inherited-value-vs-declared-value divergent high S The inheritance defect, seen from the painting properties.
prop:marker, prop:marker-start, prop:marker-mid, prop:marker-end, val:marker-start/none, val:marker-mid/none, val:marker-end/none, val:marker/none divergent medium S none and quoted URLs are parse errors, so an inherited marker cannot be cancelled.
feat:svg2/painting-vector-effect-markers divergent medium S markerUnits="strokeWidth" uses the raw number and ignores non-scaling-stroke.
val:stroke-width/negative, val:stroke-miterlimit/negative, val:stroke-dasharray/negative divergent low S Negative values are accepted at parse time instead of invalidating the declaration.
feat:svg2/painting-presentation-attribute-invalid-value divergent low S An invalid presentation attribute is ignored instead of acting as the initial value.
feat:svg2/painting-css-declarations-require-units divergent low S Unitless lengths are accepted in CSS declarations.
prop:color-interpolation, feat:svg2/painting-color-interpolation-gradient-stops partial, missing low M Consumed only by luminance masks.
prop:shape-rendering, prop:vector-effect missing, partial low S to M shape-rendering has no consumer; the three at-risk vector-effect values behave as none.
feat:svg2/painting-stroke-on-text, feat:svg2/painting-stroke-zero-length-subpath, feat:svg2/painting-stroke-dash-closed-subpath-seam partial low S The two renderers disagree; see the disagreement table.

Text and font properties

Ledger: text_font_properties. 566 rows: 142 conformant, 5 conformant-untested, 112 partial, 8 divergent, 261 missing, 23 not-applicable, 1 spec-ambiguity, 14 legacy.

This ledger audits CSS Fonts 4, CSS Text 3, CSS Text Decoration 3, CSS Writing Modes 4, CSS Inline 3, UAX #9, the font formats and both WOFF versions, and holds 71 of the 208 medium rows. Font size, weight, width and style matching, font-kerning, white-space processing, text decoration lines, styles and colors, writing-mode and text-orientation for the Level 3 values, the UAX #9 rules themselves, and TrueType, CFF and WOFF decoding are conformant. Most missing rows are values of properties that do not exist: the font-variant longhands (60), text alignment and justification (40), text decoration extras (26), line breaking (16), and the CSS Text 4 white-space longhands (15).

Key Class Impact Size Gap
prop:font-family, val:font-family/serif, val:font-family/monospace, val:font-family/cursive, val:font-family/fantasy partial high, medium S to M Every generic family draws the embedded sans-serif face unless the host maps it.
feat:css-fonts-4/@font-face, feat:css-fonts-4/font-face-src, feat:css-fonts-4/font-face-unicode-range partial, missing high, medium M to L Only family, src and three matching descriptors; local() never resolves; no unicode-range, so subsetted web-font sheets use one subset.
feat:css-fonts-4/font-face-font-family divergent medium S An unquoted multi-word family registers its first word only.
feat:uax9/application-scope, prop:direction, val:direction/rtl partial high M to L The bidi scope defect.
prop:unicode-bidi, val:unicode-bidi/embed, val:unicode-bidi/isolate, feat:uax9/HL3-css-embedding-controls partial medium M to L Parsed; consumed only as an override on the text element.
prop:font-variant, prop:font-variant-ligatures, prop:font-feature-settings, prop:font-variation-settings partial, missing medium M font-variant is one enum with the CSS 2.1 values; no feature or variation control.
feat:font-format/colr-v0, feat:font-format/colr-v1, feat:font-format/cbdt, feat:font-format/variable-fonts, feat:font-format/woff2 missing, partial medium S to XL No COLR; color bitmaps only from host fonts on the HarfBuzz backend; document variable fonts draw at the default instance; WOFF2 only in the full text configuration.
feat:css-fonts-4/default-features, feat:font-format/kern-gpos-gsub, feat:uax9/shaping-with-reordering partial medium L The basic backend has no GSUB or GPOS: no ligatures, no joining, no mark positioning.
prop:line-height, feat:css-text-3/line-breaking-uax14, prop:word-break, prop:text-align missing medium M to L No line height, Unicode line breaking or alignment property.
prop:text-transform, val:text-transform/uppercase, val:text-transform/lowercase, val:text-transform/capitalize partial, missing medium M Two of six keywords; case mapping is missing.
val:text-orientation/mixed divergent medium M Uses a code point threshold instead of UAX #50.
prop:dominant-baseline, prop:alignment-baseline partial medium M Baselines are fixed fractions of ascent and descent; alignment follows the resvg model instead of aligning to the parent's baseline.
prop:font-size, prop:letter-spacing partial medium S rem in font-size resolves against a fixed size; letter-spacing is applied after the last cluster.
val:font-weight/bolder, val:font-weight/lighter divergent low S The relative weight table is wrong at its edges.
feat:woff2/reserved-field divergent low S A nonzero reserved field is rejected, which the Recommendation forbids.
val:text-decoration-line/blink, val:word-spacing/<percentage>, feat:css-text-3/segment-break-transformation divergent low S blink invalidates the declaration; percentages use the SVG 1.1 basis; a segment break between CJK characters leaves a space.

Styling chapter and its properties

Ledger: styling_properties. 374 rows: 118 conformant, 137 conformant-untested, 17 partial, 12 divergent, 63 missing, 22 not-applicable, 2 spec-ambiguity, 3 legacy.

160 of the rows are registration cross-checks, which is why 137 rows are conformant-untested. The rows this ledger owns in full are solid: display (21 conformant), visibility, opacity, overflow on viewport elements, isolation, all mix-blend-mode values, presentation attribute specificity, !important, and the CSS-wide keywords initial, inherit and unset. 15 of the 88 required properties are not registered at all, among them transform-box, vertical-align, text-align, font-feature-settings and the font-variant longhands.

Key Class Impact Size Gap
feat:css-cascade-4/inheritance-ignores-specificity divergent high S The inheritance defect.
feat:svg2/styling-css-xml-stylesheet-pi missing high M The instruction fails the parse; external sheets are not loaded.
feat:svg2/styling-css-at-media missing high M @media blocks are dropped.
feat:svg2/styling-presattr-invalid-value-initial divergent medium S An invalid presentation attribute is ignored.
feat:svg2/styling-style-element-multiple-sheet-order divergent medium S style elements cascade in reverse.
feat:svg2/styling-style-element-media, feat:svg2/styling-link-element-stylesheet missing medium M No media check; no HTML-namespace link style sheets.
feat:svg2/styling-css-pseudo-class-link missing medium S :link is a parse error; the other required pseudo-classes have low rows with the same cause.
feat:svg2/styling-required/transform-box, feat:svg2/styling-required/vertical-align missing medium M Required properties with no registry entry.
feat:css-syntax-3/property-name-case-insensitive divergent low S FILL: red is an unknown property.
feat:svg2/styling-presattr/transform divergent low S A plain transform attribute on pattern or a gradient changes the paint server.
feat:svg2/styling-presattr-extra/inline-size, feat:svg2/styling-presattr-extra/text-orientation divergent low S Accepted as presentation attributes although the CR table does not list them.
feat:svg2/render-display-none-on-mask-pattern-marker divergent low S display="none" on a mask, pattern or marker empties it.
feat:svg2/render-overflow-on-image, feat:svg2/render-overflow-on-pattern, feat:svg2/render-overflow-nested-svg-stacking-context divergent low S to M overflow is not honored on image and pattern; a nested svg is not a stacking context for blending.
feat:svg2/styling-presattr-svg-namespace-only divergent low S A presentation attribute on a foreign-namespace element sets the property.

CSS syntax, values and SVG data types

Ledger: css_syntax_values. 355 rows: 113 conformant, 14 conformant-untested, 26 partial, 17 divergent, 155 missing, 30 not-applicable.

The tokenizer (30 of 35 rows conformant), the parser entry points, error recovery, the An+B microsyntax, the absolute and font-relative units, and style attribute parsing are solid. Whole sections are absent: the math functions (36 rows), media queries (42), conditional rules (12), custom properties (13), the Values 4 units (28) and nesting (7).

Key Class Impact Size Gap
feat:css-variables-1/custom-property-declaration, feat:css-variables-1/var-function missing high L No custom properties or var().
feat:css-conditional-3/at-media, feat:css-conditional-3/conditional-group-processing missing high M Conditional group rules are dropped.
feat:css-values-4/math-calc missing medium L No calc() or other math function.
feat:css-conditional-3/at-supports missing medium S Dropped; could be answered by trial parsing.
feat:mediaqueries-4/media-query-list, feat:mediaqueries-4/viewport-for-svg, feat:mediaqueries-4/style-element-media-attribute missing, divergent medium S to M No media query parser or evaluator, and no defined viewport for one.
feat:css-syntax-3/consume-block-contents, feat:css-syntax-3/parse-block-contents, feat:css-nesting-1/nested-style-rules, feat:css-nesting-1/nesting-selector divergent, missing medium S to M The older declaration-list algorithm; nested rules swallow the next declaration.
feat:css-values-4/unit-em, feat:css-values-4/unit-rem partial medium M About 50 call sites resolve against default metrics.
feat:css-values-4/url-quoted partial medium S Quoted URLs are rejected for mask and the marker properties.
feat:css-variables-1/var-fallback, feat:css-variables-1/invalid-at-computed-value-time missing medium S Part of var().
feat:css-syntax-3/declaration-name-case-insensitive divergent low S Property names are matched as written.
feat:css-values-4/unitless-nonzero-length-in-css divergent low S font-size: 12 and circle { r: 5 } are accepted from a style sheet.
feat:svg2-types/other-attr-css-grammar-parsing divergent low S x1=" 10" and x1="10 " fail.
feat:css-syntax-3/escape-trailing-whitespace divergent low S White space after a hex escape is consumed too greedily.
feat:css-namespaces-3/default-namespace, feat:css-namespaces-3/qualified-name-in-type-selector divergent low M Namespace prefixes are compared as text; rated medium in selectors_cascade.

Selectors and the cascade

Ledger: selectors_cascade. 200 rows: 77 conformant, 5 conformant-untested, 18 partial, 17 divergent, 33 missing, 50 not-applicable.

Compound and complex selectors, attribute selector operators, the logical combinations :is(), :where(), :not() and :has(), the tree-structural pseudo-classes (12 of 14 rows conformant), specificity computation, @import, origins and !important are solid. 30 of the 50 not-applicable rows are the resource-state and input pseudo-classes, which have no meaning in SVG.

Key Class Impact Size Gap
feat:css-cascade-4/inheritance-parent-priority-overrides-child, feat:css-cascade-4/value-stage-specified divergent, partial high S The inheritance defect; this row has the exact trigger and the property lists.
feat:css-cascade-4/filtering partial high M Conditional rules are never true.
feat:selectors-4/specificity-selector-list-most-specific-match divergent medium S The first matching member's specificity is used.
feat:css-cascade-4/order-of-appearance-multiple-style-elements, feat:css-cascade-4/value-stage-cascaded divergent, partial medium S No cascade sort; declarations are folded in application order, which is wrong across style elements.
feat:selectors-4/default-namespace-unprefixed-type-selector divergent medium M rect {} matches nothing in a document that writes <svg:rect>; the built-in rules are affected too.
feat:selectors-4/link, feat:selectors-4/hover, feat:selectors-4/lang, feat:selectors-3/conformance-floor missing, partial medium S to M Required pseudo-classes are parse errors that drop the rule.
feat:css-cascade-5/layer-block, feat:css-cascade-5/layer-ordering missing medium M @layer blocks contribute nothing.
feat:css-cascade-4/at-import-media-query partial medium M Only all is honored on @import; @import url(a.css) screen is discarded.
feat:selectors-4/unsupported-pseudo-element-handling divergent low S rect, text::first-line { fill: red } paints rect; the rule should be dropped.
feat:selectors-4/case-sensitivity-element-names divergent low S RECT {} styles rect.
feat:selectors-4/compound-selector-grammar-order, feat:selectors-4/id-selector-hash-must-be-identifier divergent low S [x]rect and #1a are accepted.
feat:selectors-4/scope, feat:selectors-4/child-indexed-without-parent divergent low S :scope and the indexed pseudo-classes never match the root.
feat:css-cascade-4/inheritance-through-pattern-element divergent low S <pattern fill="green"><rect/></pattern> paints the rect black.
feat:css-scoping-1/shadow-tree-style-encapsulation divergent low M Selectors cross the use boundary; rated medium in structure.

Color, compositing and the rendering model

Ledger: color_compositing. 351 rows: 127 conformant, 37 conformant-untested, 18 partial, 15 divergent, 102 missing, 46 not-applicable, 5 spec-ambiguity, 1 legacy.

Hex, rgb(), hsl(), lab() and lch() parsing, currentcolor, all sixteen mix-blend-mode values and isolation (23 rows conformant), group opacity, the painter's order and stacking rules, display and visibility, and PNG and JPEG decoding are solid on both renderers. 41 missing rows are CSS Color 5, a Working Draft, and 20 are system colors and related keywords.

Key Class Impact Size Gap
feat:css-color-4/color-property-hsl-storage, prop:color divergent, partial high, medium S to M color: hsl() aborts; fix in review.
feat:css-color-4/hwb-to-srgb, val:color/hwb() divergent, partial medium S Wrong conversion; number components and none are rejected.
val:color/named-colors partial medium S rebeccapurple is missing.
val:color/oklab(), val:color/oklch(), val:color/color(), val:color/color()-display-p3, feat:css-color-4/color-type-grammar missing, partial medium S to M Rejected; the paint silently falls back.
feat:css-color-4/resolving-srgb-values partial medium S Adds no defect beyond the hwb() and hsl() rows.
feat:svg2-render/standalone-document-white-backdrop partial low S Both renderers return a transparent canvas; the CR requires an opaque white backdrop for a top-level document.
feat:compositing-1/image-content-is-isolated, feat:svg2-render/svg-element-is-isolated-group divergent low S Blending inside an SVG image or a nested svg reaches content outside it.
feat:svg2-render/overflow-image divergent low S overflow: visible is ignored on image.
val:color/rgb()-modern-mixed-number-percentage, val:color/hsl()-modern-numbers divergent low S rgb(255 50% 0) and hsl(120 100 50) are rejected.
feat:css-color-4/gamut-mapping divergent low M Out-of-gamut colors are clipped per channel.
feat:compositing-1/blend-fallback-on-non-copyable-target divergent low S The GPU renderer falls back to source-over when the target cannot be copied from.
feat:css-color-4/non-rgba-storage-paths partial low S Two residual paths where an unresolved color can reach an RGB accessor; reachability unverified.

Transforms and coordinate systems

Ledger: transforms_coordinates. 254 rows: 112 conformant, 29 conformant-untested, 37 partial, 14 divergent, 19 missing, 39 not-applicable, 4 spec-ambiguity.

The transform attribute grammar (17 of 22 rows conformant), the 2D transform functions, preserveAspectRatio and the equivalent transform (18 conformant), viewBox, viewport establishment, object bounding box units and the unit conversions for basic shapes are solid. Seven of the 35 high rows are here, all from two defects in how the computed transform is composed.

Key Class Impact Size Gap
feat:css-transforms-1/transform-function-list-order, prop:transform, feat:svg2/coords-transform-property-support divergent, partial high S to M CSS function lists reverse runs of adjacent non-translate functions.
feat:css-transforms-1/view-box-reference-box-origin, feat:css-transforms-1/reference-box-of-sized-elements, val:transform-box/view-box, prop:transform-origin divergent, partial high S The reference box is offset by the viewBox origin or by the element's own x, y.
val:transform/none divergent medium S Rejected in CSS.
prop:transform-box, val:transform-box/fill-box missing medium S to M Not registered.
feat:svg2/coords-viewbox-surrounding-whitespace divergent medium S A viewBox with surrounding white space is dropped.
feat:svg2/coords-transform-on-outermost-svg divergent medium S The root transform is applied inside the viewBox mapping.
feat:svg2/coords-unit-em, feat:svg2/coords-units-css-values-types partial medium S to M Sized elements and transform lengths use a fixed 16px; no math functions.
feat:svg2/coords-bbox-nonrendered-not-contributing, feat:svg2/coords-bbox-alg-container partial medium S Shapes under defs, clipPath, mask, marker and pattern inflate a group's bounding box.
val:transform-origin/three-value-form divergent low S The three-value form drops the whole declaration.
feat:svg2/coords-initial-viewport-css-sizing, feat:svg2/coords-intrinsic-ratio-ignores-preserveAspectRatio divergent low S CSS width and height are ignored on the outermost svg; the intrinsic ratio ignores preserveAspectRatio="none".
feat:svg2/coords-default-object-size-300x150 divergent low S The default size is a documented API default of 512, not 300 by 150.
feat:svg2/coords-par-surrounding-whitespace divergent low S Trailing white space after meet or slice is an error.
prop:translate, prop:rotate, prop:scale missing low M The individual transform properties of CSS Transforms 2 (a Working Draft).

XML and data formats

Ledger: xml_data_formats. 162 rows: 57 conformant, 5 conformant-untested, 33 partial, 35 divergent, 20 missing, 10 not-applicable, 2 spec-ambiguity.

Element and attribute parsing, namespace resolution for elements, entity depth bounds, refusal of external entities, the SVG namespace requirement on the root, URL reference processing for same-document and external targets (12 rows conformant), and bounded gzip inflation are solid. This ledger has nine of the 35 high rows and 35 divergent rows, most of them places where the parser is lenient where XML requires a fatal error. The ledger also lists the places outside the parser that scan XML text by hand.

Key Class Impact Size Gap
feat:xml/prod-17-PITarget, feat:xml-stylesheet/pi-recognition, feat:svg2-conform/interpreter-xml-constructs divergent, partial high S to M xml-prefixed processing instructions fail the parse.
feat:xml/limit-entity-expansion-bytes, feat:xml/entity-internal-general-content, feat:xml/entity-internal-general-attvalue, feat:xml/avn-entityref-recursive divergent, partial high S An entity reference with 64 KiB or more of document after it stays literal.
feat:xml/limit-entity-substitution-count, feat:xml/limit-tree-nodes divergent high S The reference count and node count limits reject ordinary files.
feat:xml/encoding-utf16 missing medium M UTF-8 only.
feat:xml/error-recovery-policy divergent medium M Well-formedness violations are accepted silently.
feat:xml-names/xlink-namespace-matching, feat:xlink/href-precedence#2 divergent medium S XLink is matched by prefix text; xlink:href overrides href.
feat:xml-stylesheet/pa-href, feat:xml-stylesheet/pa-type, feat:xml-stylesheet/pseudo-attribute-parsing missing medium S to M No handling of the style sheet instruction once it parses.
feat:xml/wfc-uniqattspec divergent low S <rect fill="red" fill="green"/> renders green with no diagnostic.
feat:xml/entity-wellformed-replacement divergent low M An entity value can split an element.
feat:xml/prod-76-NDataDecl divergent low S A well-formed document that declares an unparsed entity is rejected.
feat:data-url/scheme-and-base64-token-case divergent low S DATA: and ;BASE64 are not recognized.
feat:xml/entity-external-not-fetched partial low S External entities are correctly not fetched, but the literal reference text appears with no warning.
feat:svgz/multi-member-gzip divergent low S Later gzip members are ignored.

Renderer and Backend Disagreements

Each row is a place where the CPU renderer and the Geode GPU renderer, or the basic and HarfBuzz text backends, produce different output for the same document by code reading. Each is a conformance defect in at least one of them. Rows marked "neither" match the specification on neither side.

Area CPU renderer Geode GPU renderer Which matches the specification Row
Linear gradient with a zero-length vector Last stop for pad; average color for reflect and repeat First stop CPU for pad only feat:svg2/linear-gradient-zero-length-vector in paint_servers_markers_images
stroke-dasharray on text Solid stroke Dashed stroke Geode feat:svg2/painting-stroke-on-text, prop:stroke-dasharray in painting_properties
Dash that straddles the start of a closed subpath The two dashes are merged with a join Two butt ends Geode follows the CR text literally; CPU matches browsers feat:svg2/painting-stroke-dash-closed-subpath-seam in painting_properties
Zero-length closed subpath with a round or square cap Draws the dot Draws nothing for M 30,30 Z CPU feat:svg2/painting-stroke-zero-length-subpath in painting_properties
Dash resource limits A work budget rejects the draw; no entry cap Solid stroke above 256 dash entries; emission stops after 65,536 dashes per subpath neither (both are resource bounds) feat:svg2/painting-stroke-dash-resource-limits in painting_properties
mix-blend-mode when the target cannot be copied from No fallback Falls back to source-over silently CPU feat:compositing-1/blend-fallback-on-non-copyable-target in color_compositing
feDisplacementMap scale Raster pixels, not scaled to device space Scaled by the square root of the area factor Geode for uniform scaling; neither in general attr:scale@feDisplacementMap in filters_core
FillPaint and StrokePaint filter inputs The fill or stroke pass replayed into a buffer clipped to the shape StrokePaint resolves to SourceGraphic neither val:in/FillPaint, val:in/StrokePaint in filters_core
Primitive subregion with a negative size The box is normalized to a positive region Clamped to empty not settled feat:filter-effects-1/subregion-negative-or-zero-size in filters_core
Hard clip to the filter region Source, every primitive result and the output are clipped One composite path carries an open gap CPU feat:filter-effects-1/filter-region-hard-clip in filters_core
feTurbulence fractal noise with zero octaves White at half alpha The reference value Geode val:numOctaves/zero in filters_generators_lighting
Lighting border pixels Border kernels at the filter raster edge Border kernels at the bounds of the input's subregion; transparent outside neither (both use the wrong factors) feat:filter-effects-1/lighting-surface-normal-edges in filters_generators_lighting
feTile input subregion past the raster edge Origin clamped to the raster; transparent outside the raster Origin not clamped; edge texel repeated outside neither val:feTile/input-subregion in filters_generators_lighting
feMorphology erode at the raster border Samples beyond the raster are ignored Samples beyond the texture are transparent Geode feat:filter-effects-1/feMorphology-kernel in filters_generators_lighting
Area Basic text backend HarfBuzz text backend Row
Document fonts (@font-face) Replaced by the embedded fallback face Used feat:css-fonts-4/@font-face in text_font_properties; feat:svg2/text-font-fallback in text_layout
WOFF2 Cannot load Loads feat:font-format/woff2 in text_font_properties
OpenType layout (GSUB, GPOS) Pair kerning only: no ligatures, contextual forms or mark attachment Full shaping feat:css-fonts-4/default-features, feat:font-format/kern-gpos-gsub in text_font_properties
Arabic and other cursive scripts Isolated forms in every layout Joined feat:uax9/shaping-with-reordering in text_font_properties
Text outside the bidi reordering scope Logical order, left to right Per-run direction detection, no reordering across runs feat:uax9/application-scope in text_font_properties
Vertical alternates and vertical metrics Synthesized from horizontal metrics From the font feat:font-format/vertical-metrics, feat:css-writing-modes-4/vertical-typesetting in text_font_properties
Color bitmap glyphs Never drawn Drawn from host-supplied fonts only feat:font-format/cbdt in text_font_properties
CFF2 outlines No decoder (unverified by test) Static CFF2 loads feat:font-format/cff2 in text_font_properties
Ligatures under letter-spacing Not applicable (no ligatures) Optional ligatures are not disabled for spaced text feat:svg2/text-ligature-letter-spacing in text_layout

Specification Ambiguities and Legacy Behavior

Ambiguities and conflicts

All 45 spec-ambiguity rows, with rows about one question merged. "Internal" means the CR or the dependent TR contradicts itself; "cross" means two specifications conflict; "silent" means the text gives no rule. None of these needs a code change until the question is decided; several are worth reporting to the working group.

Question Kind The texts Donner does Rows
rect corner radius percentages internal The rx and ry property tables say percentages refer to the viewport width and height; the rect algorithm resolves them against the rectangle's used width and height. The viewport basis, as browsers and resvg do. feat:svg2/rect-radii-percent-reference in shapes_paths
rect with one zero radius internal The prose says a zero radius in either dimension gives square corners; the literal path steps still offset the lines by the non-zero radius. Follows the prose. feat:svg2/rect-one-zero-radius in shapes_paths
Sign of arc radii and rotation in the path grammar internal The arc production uses an unsigned number; the prose makes negative radii positive and the CR's own example has a negative rotation. Follows the prose and the examples. feat:svg2/path-grammar-arc-number-sign in shapes_paths
pathLength and percentage dash lengths silent pathLength has no effect on percentage distance-along-a-path calculations; whether that covers dash percentages is unclear. Unaffected for textPath; dash percentages are scaled like other dash values. feat:svg2/pathLength-percentage-unaffected in shapes_paths
visibility: hidden inside a clip path cross SVG 2 rendering model: a hidden element still contributes to clipping paths. CSS Masking: a clipPath child made invisible does not contribute. Follows CSS Masking and the resvg reference. A hidden element reached through a use child still contributes, so Donner is not consistent with either reading there. feat:svg2-render/visibility-hidden-in-clip in clipping_masking; feat:svg2/render-visibility-hidden-clip-contribution in styling_properties; noted on val:visibility/hidden in color_compositing
switch language reordering internal The normative sentence requires SMIL allowReorder="yes" semantics (best language match); the element summary and the examples say the first matching child. Implements the reorder rule. Browsers implement first match. feat:svg2/switch-allowreorder-language-priority in structure
systemLanguage prefix direction internal The algorithm matches when the user language is a prefix of the attribute tag; the example in the same section describes the opposite. Follows the algorithm. feat:svg2/conditional-systemlanguage-prefix-direction in structure
Unknown elements in the SVG namespace silent The CR has no rule; earlier drafts rendered them as groups. The element and its subtree do not render, as in browsers and resvg. feat:svg2/unknown-svg-namespace-elements in structure
overflow on text internal The overflow summary table lists text with a UA value of hidden; the UA style sheet has no rule for text. Text is never overflow-clipped. feat:svg2-render/overflow-text in clipping_masking and in color_compositing; feat:svg2/render-overflow-on-text in styling_properties
overflow initial value internal The table gives visible; the closing prose says auto. No rendering difference. feat:svg2-render/overflow-initial-value in color_compositing
overflow: visible on pattern silent Rendering is explicitly undefined; implementers are encouraged to render the overflow. Always clips to the tile. feat:svg2/pattern-overflow-visible in paint_servers_markers_images; feat:svg2-render/overflow-pattern in color_compositing
Overflow clipping and hit testing silent The interactivity chapter states the rule for clip paths only. Content outside a clipping viewport is hit. feat:svg2/interact-hit-overflow-clip in interactivity_accessibility
Legacy writing-mode values internal The CR announces a mapping table "as follows" that is absent from the published page. Uses the CSS Writing Modes 3 mapping. prop:writing-mode in text_layout
Shaped wrapping areas internal Two notes describe line boxes in a non-rectangular wrapping area, which the CR no longer defines a way to create. Not applicable. feat:svg2/text-wrap-first-line-shift, feat:svg2/text-wrap-broken-lines in text_layout
baseline-shift percentage basis cross CSS Inline 3 uses the line height; SVG 1.1 used the font size; SVG 2 defers without restating. The font size, as the resvg references do. val:baseline-shift/<percentage> in text_font_properties
Coincident radial gradient circles silent No gradient is drawn when the start circle "fully overlaps" the end circle; equality is not addressed. Paints nothing. feat:svg2/radial-coincident-circles in paint_servers_markers_images
Fallback for a valid paint server on a zero-size box silent The fallback color is defined for invalid references only. Uses the fallback, matching the resvg reference. feat:svg2/painting-paint-server-zero-size-bbox-fallback in painting_properties
Join at the closing vertex of a closed subpath internal Read literally, the stroke algorithm gives a closed undashed subpath caps and no closing join. Draws the join, as every implementation does. feat:svg2/painting-stroke-join-closed-subpath in painting_properties
Combined vector-effect values internal The grammar is a single keyword; the prose tabulates combinations and refers to viewport and screen values the grammar does not define. Follows the grammar. val:vector-effect/multiple-values in painting_properties; feat:svg2/coords-vector-effect-combinations, feat:svg2/coords-vector-effect-nested-viewport-keywords in transforms_coordinates
Separator between transform functions internal The production requires a comma or white space between functions, so rotate(1)scale(2) is not in the language. Accepts adjacent functions, as browsers do. feat:css-transforms-1/svg-transforms-separator in transforms_coordinates
CSS syntax in the transform attribute cross SVG 2 parses presentation attributes with the property grammar, which would allow rotate(45deg); CSS Transforms gives the attribute a number-only grammar. Units make the attribute invalid. feat:svg2/coords-transform-attribute-css-syntax in transforms_coordinates
Gradient interpolation and premultiplication cross CSS Color 4 premultiplies before interpolating; the SVG 2 CR describes component-wise interpolation and never mentions premultiplication. Straight interpolation. feat:css-color-4/interpolation-premultiplied-alpha in color_compositing
Blending color space silent Compositing 1 names a blending color space and never defines how it is chosen; SVG 2 assigns it to color-interpolation. sRGB. feat:compositing-1/blending-color-space in color_compositing
Indirect use references in clipPath internal An indirect reference is an error that voids the clipPath; the TR carries an open issue noting that no browser does this. Ignores the offending child only, matching resvg. feat:css-masking-1/clippath-use-indirect-reference in clipping_masking
Default mask region internal The 2021 text defines the default region only when at least one of x, y, width, height is specified. Always applies the default region, as SVG 1.1, browsers and resvg do. feat:css-masking-1/mask-xywh-defaults-all-unspecified in clipping_masking
Zero or negative filter region silent Filter Effects gives no rule (SVG 1.1 disabled rendering for zero and called negative an error). The negative case can leave part of the element rendered (unverified by execution). feat:filter-effects-1/filter-region-zero-or-negative-size in filters_core
A primitive in error silent Per-attribute fallbacks exist; there is no general in-error state for a primitive. Per-attribute behavior. feat:filter-effects-1/erroring-primitive in filters_core
feConvolveMatrix order and target out of range silent The values are constrained; no fallback is stated. An invalid order is treated as absent; out-of-range targets match the resvg references. val:order/zero-or-negative, val:targetX/out-of-range in filters_core
feMorphology radius of zero on one axis silent A zero value disables the effect; one-axis zero is not addressed. A no-op on that axis, matching the resvg reference. val:radius/zero-one-axis in filters_generators_lighting
Negative baseFrequency and numOctaves silent Negative values are unsupported; what is rendered is not defined. Transparent black for a negative frequency; a negative octave count acts as zero. val:baseFrequency/negative, val:numOctaves/negative in filters_generators_lighting
Number of light sources silent The content model requires exactly one; none or several is not addressed. None gives transparent black; several uses the first. Both renderers agree. feat:filter-effects-1/lighting-light-source-count in filters_generators_lighting
Light z under objectBoundingBox silent The TR does not say which box dimension scales z. Uses the height. feat:filter-effects-1/lighting-light-coordinates-primitiveUnits in filters_generators_lighting
feImage element reference placement silent The TR does not say whether the subregion origin offsets the referenced content. Applies the offset and passes the resvg references. feat:filter-effects-1/feImage-element-reference in filters_generators_lighting
To-only animateTransform silent The behavior is undefined. accumulate is applied to the single keyframe. feat:svg-animations/animateTransform-to-animation in animation
xml:base internal The linking chapter resolves relative URLs as described in XML Base; the changes appendix says xml:base was removed. Follows the removal. feat:xmlbase/xml-base-attribute in xml_data_formats
Rendering a malformed document cross The CR error rule continues past an element in error; XML requires normal processing to stop at a well-formedness error. Stops, as XML requires; element-level errors continue with warnings. feat:svg2-conform/error-processing in xml_data_formats

Conflicts that the ledgers record on rows of another class:

Question The texts Donner does Row
feConvolveMatrix bias The formula weights bias by the result alpha; the attribute prose says the bias is added to each component. Implements the formula. No test asserts it, because the three resvg bias cases are skipped. attr:bias@feConvolveMatrix (conformant-untested) in filters_core
Isolation of a nested svg The CR says the svg element always creates an isolated group; Compositing 1 does not list it as an isolating feature. Does not isolate, so blending inside a nested svg reaches content painted before it. feat:svg2-render/svg-element-is-isolated-group (divergent) in color_compositing
Invalid mask reference CSS Masking counts a missing mask as a transparent black layer; its later section says a fetch error behaves as none. Keeps the element visible, as browsers and resvg do. feat:css-masking-1/invalid-mask-reference (divergent) in clipping_masking
Stroke bounding box SVG 2 defines it from the stroke shape; CSS Masking Appendix B from an inflation formula. Uses the tight stroke shape. val:clip-path/stroke-box (divergent) in clipping_masking
kernelMatrix with the wrong value count The TR text is explicit and carries an inline open issue on the rule; the resvg references render nothing. Transparent black. attr:kernelMatrix@feConvolveMatrix (divergent) in filters_core
Processing mode of an SVG image The embedded content chapter calls for secure animated mode in an animated host; the linking chapter says fetched subresources use secure static mode. Secure static mode. feat:svg2/image-svg-secure-mode (partial) in paint_servers_markers_images
Marker orientation at the ends of a closed subpath The CR sentence implies the bisector rule; the resvg references use the one-sided direction. Follows the references. feat:svg2/marker-orient-closed-subpath (divergent) in paint_servers_markers_images
Turbulence gradient setup The 2018 reference code adds a rejection step that the SVG 1.1 code and the resvg references lack. Follows the SVG 1.1 form on both renderers. feat:filter-effects-1/turbulence-gradient-setup (divergent) in filters_generators_lighting
Invalid presentation attribute The CR text is explicit (the initial value applies); the ledgers note as general knowledge that browsers ignore the attribute. Ignores the attribute. feat:svg2/styling-presattr-invalid-value-initial (divergent) in styling_properties

Legacy behavior

All 33 legacy rows: things Donner implements that the CR or the dependent TR removed. Each needs a keep-as-extension or remove decision; none changes the rendering of conforming content.

Behavior Donner does Rows
stroke-linejoin: miter-clip and arcs miter-clip is implemented on both renderers; arcs is accepted and mapped to miter. A CR-strict agent ignores both declarations. val:stroke-linejoin/miter-clip, val:stroke-linejoin/arcs in painting_properties
Removed dominant-baseline keywords use-script and reset-size act as auto; no-change copies the parent; text-before-edge and text-after-edge are accepted. prop:dominant-baseline, val:dominant-baseline/use-script, val:dominant-baseline/no-change, val:dominant-baseline/reset-size in text_layout; the same three values plus val:dominant-baseline/text-before-edge, val:dominant-baseline/text-after-edge in text_font_properties
Removed alignment-baseline keywords auto, before-edge, after-edge and hanging are accepted and mapped. val:alignment-baseline/auto, val:alignment-baseline/before-edge, val:alignment-baseline/after-edge in text_layout and in text_font_properties; val:alignment-baseline/hanging in text_font_properties
baseline-shift: baseline Accepted. val:baseline-shift/baseline in text_layout and in text_font_properties
font-stretch: narrower and wider One step relative to the parent. val:font-stretch/narrower, val:font-stretch/wider in text_font_properties
letter-spacing percentages Kept from SVG 1.1 instead of invalidating the declaration. val:letter-spacing/<percentage> in text_font_properties
writing-mode: tb-lr Accepted as an extension. val:writing-mode/tb-lr in text_font_properties
Presentation attributes the CR table lacks color-rendering and glyph-orientation-horizontal are accepted and ignored; a font attribute is ignored. feat:svg2/styling-presattr-extra/color-rendering, feat:svg2/styling-presattr-extra/glyph-orientation-horizontal, feat:svg2/styling-presattr-extra/font in styling_properties
requiredFeatures Stored; has no effect, which equals the CR result. feat:svg2/requiredfeatures-removed in structure
Radial gradient with r="0" Keeps the SVG 1.1 behavior, matching the resvg references. feat:svg2/radial-r-zero in paint_servers_markers_images
href inheritance between filter elements Kept for SVG 1.1 content. feat:filter-effects-1/filter-href-inheritance in filters_core
specularExponent range Keeps the SVG 1.1 range of 1 to 128; below 1 gives transparent black, above 128 clamps. attr:specularExponent@feSpecularLighting, val:specularExponent@feSpecularLighting/range in filters_generators_lighting
GIF decoding An extra image format; animated files show one frame. feat:image-formats/gif in color_compositing

Tests That Pin Non-Conformant Behavior

Existing tests that, by the ledgers' reading, assert the non-conformant result. Each must change in the same commit as the fix, and the change description must say so. A passing resvg case whose reference encodes the divergent result is listed with the case name.

Test What it asserts Row
Property.InheritFromCoversStateAndSpecificityBranches A child at specificity (0,1,0) loses to its parent at (0,2,0). feat:css-cascade-4/inheritance-parent-priority-overrides-child in selectors_cascade
SVGParser.XmlStylesheetInstructionIsRejectedBeforeSvgProjection A document with <?xml-stylesheet?> is rejected. feat:xml/prod-17-PITarget in xml_data_formats
BuiltInEntitySubstitutionLimitExceeded (XML parser tests) The 1,001st predefined reference is fatal. feat:xml/limit-entity-substitution-count in xml_data_formats
MaxElementsLimitAppliesToDataSplitByIgnoredComments and the neighboring limit tests Text and comment nodes count toward the node limit. feat:xml/limit-tree-nodes in xml_data_formats
TransformParserCss.CompositeCaseSensitivity skew(45deg) skewX(45deg) skewY(45deg) equals matrix(1,1,2,3,0,0); the left-to-right product is matrix(3,1,2,1,0,0). feat:css-transforms-1/transform-function-list-order in transforms_coordinates
LayoutSystemTest.NestedSvgWithoutViewBoxUsesBoundsAsViewBox The (x, y) box of a nested svg is the transform reference box. feat:css-transforms-1/view-box-reference-box-origin in transforms_coordinates
ViewBoxParser.ExtraData, PreserveAspectRatioParser.InvalidWhitespace Leading or trailing white space is an error. feat:svg2/coords-viewbox-surrounding-whitespace, feat:svg2/coords-par-surrounding-whitespace in transforms_coordinates
LayoutSystemTest.PercentageWidthHeightNoViewBox The default size is 512. feat:svg2/coords-default-object-size-300x150 in transforms_coordinates
ShapeSystemTest.GetShapeBoundsDisplayNone A non-rendered element has an empty box of its own. feat:svg2/coords-bbox-nonrendered-element-own-bbox in transforms_coordinates
StylesheetParser.ConditionalRulesWarnAndPreserveFollowingRules, StylesheetParser.ConditionalBlocksDoNotRegisterNestedFontFaces @media and @supports blocks are dropped. feat:css-conditional-3/at-media, feat:css-conditional-3/at-supports in css_syntax_values
DeclarationListParser.InvalidTokens The older recovery after a failed declaration. feat:css-syntax-3/consume-block-contents in css_syntax_values
Tokenizer.StringEscapedCodepoint A carriage return and a following space are both consumed after a hex escape. feat:css-syntax-3/escape-trailing-whitespace in css_syntax_values
SelectorParser.Level4StrictPseudoClassArguments :hover is a parse error. feat:svg2/styling-css-pseudo-class-link in styling_properties
PropertyRegistry.ParsePresentationAttribute, PropertyRegistry.ParseErrorsAreIgnored A property stays unspecified after an invalid presentation attribute. feat:svg2/styling-presattr-invalid-value-initial in styling_properties; feat:svg2/painting-presentation-attribute-invalid-value in painting_properties
PropertyRegistry.InlineSize, PropertyRegistry.FontShorthandIsNotAPresentationAttribute inline-size works as a presentation attribute; font does not. feat:svg2/styling-presattr-extra/inline-size, feat:svg2/styling-presattr-extra/font in styling_properties
ColorParser tests Hwb (lines 299 to 301) hwb(0 50% 50%) is rgb(1 1 1) and hwb(240 30% 30% / 80%) is a green. feat:css-color-4/hwb-to-srgb in color_compositing
ColorParser test at line 193; FunctionNotImplemented rgb(1 2 3%) is an error; color() is a stub error. val:color/rgb()-modern-mixed-number-percentage, val:color/color() in color_compositing
ColorParser test at line 439; Color test Resolve The percentage form of lch() chroma is capped; opacity multiplication truncates instead of rounding. feat:css-color-4/lch-chroma-clamp, feat:css-color-4/opacity-multiply-rounding in color_compositing
ConditionalProcessingComponent test EmptyRequiredExtensionsEvaluatesToTrue An empty requiredExtensions is true. val:requiredExtensions/empty-string in structure
SVGParser.StyleConcatenatesTextAndCDataButRejectsElementChildren An element child inside style rejects the document. feat:svg2/style-child-element-error in structure
RendererPublicApi test SecureDataSvgDoesNotExecuteExperimentalAnimation An SVG image never animates. feat:svg2/referencing-mode-image in structure
resvg structure/symbol/with-transform.svg transform on symbol is ignored (SVG 1.1). feat:svg2/symbol-transform in structure
WrappedExplicitPositionStartsIndependentAnchorChunk, WrappedRelativeInlineShiftSurvivesFollowingLines (text engine tests) Positioning lists act inside wrapped text. feat:svg2/text-list-ignored-in-auto-wrap in text_layout
TextEngineTest.BidiNormalInlineSizeKeepsTheExistingSimpleShapingScope, TextEngineTest.BidiNormalExcludedScopesKeepControlsOutOfPositionListIndices, RtlPreservedNewlineKeepsHebrewLinesInSourceOrder Wrapped and pre-formatted text are excluded from reordering. feat:svg2/text-bidi-scope-all-layouts in text_layout; feat:uax9/application-scope in text_font_properties
PropertyRegistry.TextTransformSupportedSubsetRejectsUnsupportedOperations uppercase, lowercase and capitalize are rejected. val:text-transform/uppercase in text_font_properties
Woff2ParserTest.RejectsNonzeroReservedFieldBeforeDecompression A nonzero reserved field is rejected. feat:woff2/reserved-field in text_font_properties
CircleClipPath tests StrokeBoxUsesStrokeShapeInsteadOfMiterEnvelope, DefaultAndStrokeBoxIncludeStrokeGeometry stroke-box is the tight stroke shape. val:clip-path/stroke-box in clipping_masking
RendererDriver test DrawRejectsNestedClipOnTextChildWithoutLeakingLayerRecords A text child of clipPath with its own clip-path is dropped. feat:css-masking-1/clip-path-on-clippath-child in clipping_masking
RendererTests.FilterDisplacementMap (golden image) The current CPU displacement scale. attr:scale@feDisplacementMap in filters_core
FilterGraphExecutorTest.InvalidConvolveDivisorFailsClosed; resvg filters/feConvolveMatrix/divisor=0.svg divisor="0" gives transparent black. val:divisor/zero-uses-default in filters_core
FilterSystemTest.FilterOverPrimitiveLimitIsRejectedWithoutTruncation, RendererRegressionTests.FilterPrimitiveLimitRefusesElementOverTheLimit A filter over the primitive limit hides the element. feat:filter-effects-1/implementation-limits in filters_core
FilterGraphExecutorTest.AccountsForTurbulenceOctaveWork, FilterGraphExecutorTest.GaussianBlurExpandsDefaultPrimitiveSubregion The octave budget; the expanded blur subregion. val:numOctaves/large, feat:filter-effects-1/gaussian-blur-default-subregion in filters_generators_lighting
TextPathHitTestUsesTransformedGlyphBounds Text hits on the ink box. feat:svg2/interact-hit-text-character-cells in interactivity_accessibility
NestedLinksResolveToInnermost A nested link resolves to the inner link. feat:svg2/interact-a-nested-links-inert in interactivity_accessibility
SVGParser test XLinkAttributeUnderAnotherPrefixWarnsThatItIsNotInterpreted XLink under another prefix is not interpreted. feat:xml-names/xlink-namespace-matching in xml_data_formats
XML parser tests that pin leniency: bare & kept literal, EntitiesRecursionLimits, ParameterEntities, EntityWithNoSemicolon, colon in processing-instruction targets Input that XML requires rejecting is accepted. feat:xml/wfc-entdeclared, feat:xml/wfc-norecursion, feat:xml/wfc-PEinInternalSubset, feat:xml/prod-68-EntityRef, feat:xml-names/no-colon-in-other-names in xml_data_formats

Test Suite Work

Coverage against the resvg suite

The coverage ledger is test_coverage. Its matrix has one row per SVG 2 feature (148 rows) with the resvg cases that exercise it, how Donner registers them, and any Donner corpus or unit coverage. It keeps its own TC and RC identifiers.

Verdict Features Meaning
covered 53 A resvg or Donner suite case asserts the SVG 2 behavior and Donner runs it.
resvg-only-skipped 10 Only resvg cases exist, and Donner skips or renders them without comparing.
needs-new-suite-case 71 No portable case anywhere.
removed-from-CR 14 The CR removed the feature; no case is needed.

The resvg suite contains no animation, interaction, linking or focus case, and no case for vector-effect, pathLength, inline-size, geometry as CSS properties, transform-box, symbol geometry or view fragments. It cannot measure SVG 2 in those areas.

Cases to author for the Donner SVG suite

Counts are case groups from the coverage ledger, which names each file, its CR anchor, the SVG content and the assertion. There are 14 P1 groups, 37 P2 and 16 P3.

Suite directory P1 P2 P3 Highest-priority cases
structure 4 5 3 symbol x, y, width, height, refX, refY and auto sizing; use visibility.
structure/image (embedded) 0 3 1 SVG image sizing; href precedence.
shapes 2 3 1 pathLength on paths and on every basic shape; zero-length closed subpath caps.
geometry 2 4 1 d and cx, cy, r, width, height as CSS properties; transform-box; non-scaling-stroke.
painting 1 4 1 Marker refX keywords; miter-clip treated as invalid; linearRGB gradients.
paint-servers 0 2 1 fr edge cases with cited references; transparent stops.
text 3 6 3 inline-size wrapping; white-space; textPath on basic shapes; text-overflow.
masking 1 1 0 clip-path basic shapes and reference boxes.
filters 0 1 0 drop-shadow() with non-pixel units.
styling 0 3 1 @media, selector pseudo-classes, WOFF and WOFF2 @font-face sources.
linking 1 2 2 svgView(), view elements and xywh fragments on image references.
interaction (native scenarios) 0 2 1 pointer-events values, hit testing against clip and mask, focus order.
animation 0 1 1 Secure static mode for an SVG image that contains animation.

Several features already have Donner unit or renderer-golden coverage and no portable pair: vector-effect, pathLength, inline-size, white-space, clip-path basic shapes and fr. Promoting those scenes to SVG and PNG pairs with independently reasoned references is the cheapest coverage gain.

Tests named by the ledgers

Each implementation ledger ends with a "Tests to create" list: one item per finding that has no test, with the row key, the anchor, the minimal content and the expected result. There are 768 items in all. The conformant-untested column counts rows where the code matches the specification and nothing asserts it; in styling_properties 122 of those are registration cross-check rows whose tests belong to the owning ledger.

Ledger Tests to create conformant-untested rows
structure 29 20
shapes_paths 21 16
text_layout 35 8
paint_servers_markers_images 38 16
clipping_masking 23 2
filters_core 20 22
filters_generators_lighting 21 0
animation 20 8
interactivity_accessibility 27 6
painting_properties 23 15
text_font_properties 291 5
styling_properties 34 137
css_syntax_values 28 14
selectors_cascade 29 5
color_compositing 35 37
transforms_coordinates 32 29
xml_data_formats 62 5
Total 768 345

Reference conflicts

The upstream resvg fixture stays unchanged in each case, and a Donner case with a cited rationale is needed. Details are in the coverage ledger.

  • RC1. painting/stroke-linejoin/miter-clip.svg shows the clipped miter. The CR removed miter-clip, so the declaration is invalid. Donner passes the case because it implements the removed value (val:stroke-linejoin/miter-clip in painting_properties).
  • RC2. The two non-presentational-attribute.svg cases expect SVG 1.1 to ignore height in style. In the CR it is a CSS property.
  • RC3. painting/fill/rgb-int-int-int.svg marks space-separated rgb() as undefined. The CR's normative color reference is CSS Color 3; Donner accepts the modern form (val:color/rgb()-modern in color_compositing).
  • RC4. Resolved: paint-servers/radialGradient/fr=0.7.svg paints a start circle containing the end circle by the canvas two-point rule that fr adopts, and Donner compares against it at default settings (feat:svg2/radial-start-circle-contains-end-circle in paint_servers_markers_images). Identical circles (fr=0.5.svg) remain an open question (feat:svg2/radial-coincident-circles).
  • RC5. Paint server bounding boxes on text use glyph ink extents in the references and glyph cells in Donner (feat:svg2/text-bbox-glyph-cells in text_layout).
  • RC6. Several skips and thresholds cite an opaque white reference background against Donner's transparent canvas. Both renderers return a transparent canvas, and the pixel comparison uses straight-alpha output against transparent-background references with no flattening, so the suite exercises only the embedded case and no test can detect a white backdrop either way. The CR requires an opaque white backdrop for a top-level standalone document and preserved opacity in every other case; the ledger rates the missing backdrop low for the library API and as an unmet requirement for standalone output (feat:svg2-render/standalone-document-white-backdrop in color_compositing). Whether flattening in the harness would let the affected cases compare was not established; each needs its own look.
  • RC7, RC8. textPath continuation after the path, and a method=stretch reference that is identical to the align reference.
  • RC9. Four drop-shadow() references truncate fractional device offsets that Donner resamples; those cases compare against Donner goldens and the others against their references (val:filter/drop-shadow() in filters_core).

Proposed Architecture

The audit introduces no runtime architecture. It adds documentation:

  • This design document, which carries the summary, the baseline and the plan.
  • Seventeen implementation ledgers and the coverage ledger under docs/spec_audit/, indexed by docs/spec_audit/README.md. Each implementation ledger has a "Specs read" table with dated URLs, an "Inventory" section, the matrix, "Tests to create" and "Unverified" sections.
  • docs/spec_audit/matrix.tsv, one line per matrix row with ledger, key, class, impact, size and whether a test exists. The numbers in this document were computed from it at the time of writing and can be recomputed from it.

A row is identified by its ledger and key. Keys have a kind prefix: el: element, attr: attribute (with @element where the row is element specific), prop: property, val: value of an attribute or property, feat: feature, with the specification short name after the colon. A fix cites the keys it closes, adds or names the test that proves the behavior, and updates the ledger rows and matrix.tsv in the same change.

Three cross-cutting observations shape the plan:

  • Shared value parsers. Several findings are one defect seen from different properties: the reference parser behind marker-* and mask, the href setters that ignore precedence, and the length resolution paths that pass default font metrics. Fixing the shared helper closes each group.
  • A computed-value stage. var(), calc() with percentages, relative units and color functions all need values that stay symbolic until computed-value time. Donner parses most properties straight to final typed values. Milestone 4 should design that stage once instead of per feature.
  • Cascade as a sort. Declarations are folded in application order with a priority comparison (feat:css-cascade-4/value-stage-cascaded in selectors_cascade). That is equivalent to the cascade sort for one style element and is the common cause of the sheet-order, selector-list and inheritance defects. Layers need a real ordering key in any case.

Security / Privacy

SVG, CSS, fonts and images are untrusted input. The audit touches the trust boundary in these ways.

  • Content-triggered process abort. color: hsl(...) on any ancestor of a drawn element terminates the process (feat:css-color-4/color-property-hsl-storage in color_compositing). A fix is in review. The same ledger records two residual paths where an unresolved color can reach an accessor that asserts, with reachability unverified (feat:css-color-4/non-rgba-storage-paths). The fix needs a regression test on both renderers and fuzzer coverage for non-RGB computed colors.
  • Parser limits that reject legitimate input. The entity byte budget, the reference count and the node count (feat:xml/limit-entity-expansion-bytes, feat:xml/limit-entity-substitution-count, feat:xml/limit-tree-nodes in xml_data_formats) are security bounds whose current form fails closed on ordinary files. The fixes must keep the amplification bound: measure expanded output, count only references that can amplify, and keep a node ceiling that a caller can raise. The entity depth bound and the inflation cap for compressed input are recorded as intentional and conformant (feat:xml/limit-entity-depth, feat:svgz/gzip-detection-and-decoding).
  • External entities and external resources. External entities are never fetched, which is the right posture; the gap is only that the reference text appears in output with no warning (feat:xml/entity-external-not-fetched, feat:xml/wfc-NoExternalRefs in xml_data_formats). SVG documents used as images are parsed in secure static mode with external loads disabled (feat:svg2/image-svg-secure-mode in paint_servers_markers_images). Loading xml-stylesheet targets, link style sheets, local() fonts and external paint server templates (Milestones 5 and 8) must go through the existing resource-loading policy; local() also exposes installed fonts and needs an explicit host opt-in.
  • Parser differentials. Donner accepts documents that XML requires rejecting, and some render with different content than in a conforming parser: duplicate attributes, undeclared entities kept as text, an entity value that splits an element (feat:xml/error-recovery-policy, feat:xml/wfc-uniqattspec, feat:xml/entity-wellformed-replacement in xml_data_formats). A file that a sanitizer and Donner parse differently is a risk for hosts that filter SVG before rendering it.
  • Limits must fail visibly. Where a resource limit makes content disappear (feat:filter-effects-1/implementation-limits in filters_core) or differ between renderers (the gradient stop limit, the dash limits, the blend fallback in Renderer and Backend Disagreements), the replacement behavior should be defined, tested and reported through the existing diagnostics.
  • New features widen the attack surface. var() substitution needs cycle detection and an expansion bound. Math functions need depth limits. UTF-16 decoding and stricter well-formedness checks run before any other validation and need fuzzing. View fragments and media fragments are attacker-controlled strings parsed from URLs.

Testing and Validation

  • Every fix lands with a test that fails before it. For a divergent row the test states the specified behavior and cites the anchor; the ledger's "Tests to create" item gives the minimal content.
  • Rendering fixes are asserted on both renderers. A fix for a row in Renderer and Backend Disagreements is not complete until both agree with the specification, and text fixes name the backend they cover.
  • The tests in Tests That Pin Non-Conformant Behavior change with the fix, and the change description says so.
  • Rows established only by reading a multi-step path (the ledgers mark them "by code reading") get the confirming test first. If the test passes, the ledger row is corrected instead of the code.
  • Renderer behavior is asserted through the Donner SVG suite cases listed above in addition to the resvg suite in donner/svg/renderer/tests/resvg_test_suite.cc. Skips and thresholds in that file are removed only after the focused case passes.
  • Parser changes extend the existing CSS and XML fuzzers. The vendored CSS parsing corpus predates the current CSS Syntax text (feat:css-syntax-3/ident-non-ascii-code-points in css_syntax_values), so a newer snapshot is needed before the block-parsing work.
  • The conformant-untested rows are closed by adding the asserting test, not by changing code. Given the sampled error rate, some of those tests will fail and convert the row to a finding.

Open Questions

Decisions the ledgers surface for the maintainer:

  • Invalid presentation attributes. Follow the CR (the initial value applies and blocks inheritance) or keep ignoring the attribute, as the ledgers understand browsers to do? The ledgers rate the gap medium in styling_properties (feat:svg2/styling-presattr-invalid-value-initial) and low in painting_properties (feat:svg2/painting-presentation-attribute-invalid-value) and css_syntax_values (feat:svg2-types/invalid-presentation-attr-as-initial).
  • Hidden content in clip paths. Follow SVG 2 (a hidden element contributes) or CSS Masking (it does not), and make the use case consistent either way (feat:svg2-render/visibility-hidden-in-clip in clipping_masking)?
  • Turbulence gradient setup. Keep the SVG 1.1 form that the existing reference images and the resvg references encode, or follow the 2018 text, which changes all turbulence output (feat:filter-effects-1/turbulence-gradient-setup in filters_generators_lighting)?
  • gradientTransform and patternTransform through href. A code comment documents the current behavior as intended; the CR lists both among the copied attributes (feat:svg2/gradient-href-gradientTransform in paint_servers_markers_images). Which holds?
  • Default XML limits. What should the default node ceiling be, should white-space text nodes count, and should the entity limits be configurable per host (feat:xml/limit-tree-nodes in xml_data_formats)?
  • XML strictness. Should well-formedness violations become fatal as XML requires, stay lenient, or be reported as warnings (feat:xml/error-recovery-policy in xml_data_formats)?
  • White backdrop. Should standalone output (the command-line tool writing an image) composite onto opaque white, with the library API keeping a transparent canvas (feat:svg2-render/standalone-document-white-backdrop in color_compositing)?
  • Default document size. Keep the documented default of 512 or use the 300 by 150 default object size (feat:svg2/coords-default-object-size-300x150 in transforms_coordinates)?
  • Media query environment. Which viewport and media type does a headless render evaluate @media against, and how does a host supply them (feat:mediaqueries-4/viewport-for-svg in css_syntax_values)?
  • switch selection. Keep the normative reorder rule or follow first match as browsers do (feat:svg2/switch-allowreorder-language-priority in structure)? Should foreignObject take part in selection (feat:svg2/switch-eligible-children)?
  • SVG 1.1 behaviors the resvg references encode. transform on symbol (feat:svg2/symbol-transform in structure), marker orientation on closed subpaths (feat:svg2/marker-orient-closed-subpath in paint_servers_markers_images) and the legacy keywords in the legacy table: follow the CR and add Donner cases, or keep the reference behavior?
  • Removed joins. Do miter-clip and arcs stay as documented extensions (val:stroke-linejoin/miter-clip in painting_properties)?
  • Nested svg isolation. Follow the CR (always an isolated group) or Compositing 1 (feat:svg2-render/svg-element-is-isolated-group in color_compositing)?
  • SVG images in an animated host. Should an SVG used as an image animate in secure animated mode (feat:svg2/referencing-mode-image in structure)?
  • The basic text backend. Should it render document-supplied fonts and shape complex scripts, or are those documented limits of that backend (feat:svg2/text-font-fallback in text_layout)?
  • Scope decisions. Is BackgroundImage in scope (val:in/BackgroundImage in filters_core)? foreignObject beyond an element type (el:foreignObject in structure)? mask-border (prop:mask-border in clipping_masking)? CSS Color 5 while it is a Working Draft? An accessibility tree export?
  • Filter limits. What should an over-limit filter do in place of hiding the element: render unfiltered, clamp, or report an error (feat:filter-effects-1/implementation-limits in filters_core)?
  • Two baselines. How should this audit and docs/svg2_audit.md share one baseline once the CR and the Editor's Draft diverge further?