All Donner paths are checkout-relative. No code was built or executed: every behavior statement is a code-reading result ("by code reading") unless a named test asserts it. A row is conformant only when the implementing code was read and a named test asserts the behavior; conformant-untested means the code was read and no test was found.
The HTML, DOM, CSS Scoping, Media Fragments, BCP 47 and Referrer Policy specifications are referenced by the chapters above for behavior that Donner does not implement (link navigation, shadow DOM scripting interfaces, focus). They were not fetched; rows that depend on them say so and are classified from the SVG 2 text alone.
Row keys, in matrix order. Element rows come from the SVG 2 element index, attr: rows from the attribute index (one per index line, split with #n where behavior differs per element), val: rows from each enumerated grammar, and feat: rows from the prose rules of the struct, embedded (foreignObject), linking, conform, render (3.2) and styling (6.2 to 6.5) chapters, taken section by section.
| Key | Class | Spec anchor | Requirement (paraphrase) | Parse evidence | Consume evidence | Tests | Impact | Size | Notes |
| el:svg | partial | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SVGElement | Container, renderable, structural element. Root of an SVG document fragment and, when nested, a new viewport. Accepts viewBox, preserveAspectRatio, transform, x, y, width, height and Window event handler attributes. The fragment root must be an svg in the SVG namespace. | donner/svg/SVGSVGElement.cc:13-25 (class SVGSVGElement, created for the root at donner/svg/parser/SVGParser.cc:903-947 and for nested svg through donner/svg/parser/SVGParser.cc:778-791); attributes at donner/svg/parser/AttributeParser.cc:1659-1673. A non-svg root or a wrong namespace is a parse error (donner/svg/parser/SVGParser.cc:906-927, :956-964). | Viewport and viewBox mapping in donner/svg/components/layout/LayoutSystem.cc:414-478, :845-870; overflow clip donner/svg/renderer/RenderingContext.cc:462-469; nested content model is not enforced (any child is accepted, unknown children are not rendered donner/svg/renderer/RenderingContext.cc:227-230, :407-409). | donner/svg/tests/SVGSVGElement_tests.cc:60-474; donner/svg/parser/tests/SVGParser_tests.cc:119 (WithoutNamespace), :653 (RootElementNotSvgFails); resvg third_party/resvg-test-suite/tests/structure/svg/*.svg (42 cases; not-UTF-8-encoding.svg skipped, no-size.svg compared against a Donner golden, 4 run without pixel comparison, 36 at default settings; registered under StructureSvg in donner/svg/renderer/tests/resvg_test_suite.cc). | low | S | Element itself is implemented. Gaps are in rows of their own: viewBox whitespace and zero size (val:viewBox/...), event handler attributes (not applicable), playbackorder/timelinebegin (missing). Content model violations are tolerated silently, which the error-processing rule allows. Each svg element (nested ones too) installs its own copy of the user agent style sheet (donner/svg/SVGSVGElement.cc:19-23), which is redundant but harmless by code reading. |
| el:g | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#GElement | Container, renderable, structural element that groups children; children render in order and inherit properties. | donner/svg/SVGGElement.cc (class SVGGElement, default rendering behavior), created through donner/svg/parser/SVGParser.cc:778-791. | Default traversal of children donner/svg/renderer/RenderingContext.cc:716-740; group opacity, clip, mask and filter are applied per instance in the renderer. | resvg third_party/resvg-test-suite/tests/structure/g/deeply-nested-groups.svg, third_party/resvg-test-suite/tests/structure/g/recursive-inheritance.svg (unskipped, donner/svg/renderer/tests/resvg_test_suite.cc:1120); third_party/resvg-test-suite/tests/structure/defs/style-inheritance.svg. | - | - | Content model is not validated (any element is accepted as a child); non-renderable children are skipped. |
| el:defs | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#DefsElement | Never-rendered container. Descendants are not rendered directly but stay referenceable; display on defs cannot make it render and does not block references. | donner/svg/SVGDefsElement.cc:8-13 (class SVGDefsElement, RenderingBehavior::Nonrenderable). | donner/svg/renderer/RenderingContext.cc:426-429 returns before style is consulted, so no author display value can render it; references resolve by id independently of rendering (donner/svg/graph/Reference.cc:21-28). | donner/svg/tests/SVGDefsElement_tests.cc:32 (NotRenderedDirectly), :67 (UseElementRendersDefinition); resvg third_party/resvg-test-suite/tests/structure/defs/*.svg (7 cases, unskipped, donner/svg/renderer/tests/resvg_test_suite.cc:1115). | - | - | The CR phrases this as a user agent display: none !important rule; Donner uses a type-level flag instead, so the computed display of a defs reads as inline through the style query API. Rendering result is the same. |
| el:symbol | partial | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SymbolElement | Container that is never rendered directly; when it is the instance root of a use it establishes a viewport (x, y, width, height, viewBox, preserveAspectRatio, refX, refY), with UA overflow: hidden and forced display: inline on the instance root. | donner/svg/SVGSymbolElement.cc:22-34 (class SVGSymbolElement, ShadowOnlyChildren, appliesSelfTransform = false); attributes donner/svg/parser/AttributeParser.cc:1875-1899. | Instance viewport donner/svg/components/layout/LayoutSystem.cc:958-1017, content transform donner/svg/components/layout/LayoutSystem.cc:414-452; display override donner/svg/components/style/StyleSystem.cc:188-199; UA rules donner/svg/core/UserAgentStylesheet.h (*\|symbol { display: none !important }, overflow hidden). | donner/svg/tests/SVGSymbolElement_tests.cc:18-463; donner/svg/components/style/tests/StyleSystem_tests.cc:1252, :1415, :1441; resvg third_party/resvg-test-suite/tests/structure/symbol/*.svg (16 cases, unskipped, donner/svg/renderer/tests/resvg_test_suite.cc:1239). | low | S | Partial because of three feature rows: feat:svg2/symbol-refxy-placement (wrong when the viewBox origin is not 0 or alignment adds an offset, and skipped without a viewBox), feat:svg2/symbol-refxy-unspecified-vs-zero and feat:svg2/symbol-transform (ignored). |
| el:use | partial | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#UseElement | Graphics referencing element. Clones the referenced SVG element (same document or external document) into a shadow tree rendered as the content of the use; in error when the target is not an SVG element or the reference is circular; an unresolved or invalid reference is not rendered. | donner/svg/SVGUseElement.cc:9-13 (class SVGUseElement); attributes donner/svg/parser/AttributeParser.cc:1768-1783; href resolution donner/svg/UseReference.cc:23-40. | Shadow tree build donner/svg/components/shadow/ShadowTreeSystem.cc:244-313, :339-434; instantiation and external documents donner/svg/renderer/RenderingContext.cc:1575-1613; style of instances donner/svg/components/style/StyleSystem.cc:837-857. | donner/svg/tests/SVGUseElement_tests.cc:56-328; resvg third_party/resvg-test-suite/tests/structure/use/*.svg (41 cases; xlink-to-an-external-file.svg compared against a Donner golden, 40 at default settings; registered under StructureUse in donner/svg/renderer/tests/resvg_test_suite.cc); donner/svg/renderer/tests/Renderer_tests.cc:461, :466; donner/svg/renderer/tests/RendererPublicApi_tests.cc:747-1992 (external use). | medium | M | Partial because of feat:svg2/use-style-rule-scoping (document selectors can match across the host boundary), feat:svg2/use-negative-width-height-ignored, and feat:svg2/url-same-document-detection. Children of use that are not allowed by the content model are rendered as ordinary children (not verified by test). |
| el:switch | partial | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SwitchElement | Renderable container that evaluates requiredExtensions and systemLanguage on its direct children and renders only the first child for which they are true; display and visibility do not affect the choice; style and script processing is not affected. | donner/svg/SVGSwitchElement.cc (class SVGSwitchElement), created through donner/svg/parser/SVGParser.cc:778-791. | Child selection donner/svg/renderer/RenderingContext.cc:767-788, scoring donner/svg/renderer/RenderingContext.cc:199-224, eligible child types donner/svg/renderer/RenderingContext.cc:160-178. | donner/svg/tests/SVGSwitchElement_tests.cc:103-529 (21 tests); resvg third_party/resvg-test-suite/tests/structure/switch/*.svg (13 cases, unskipped, donner/svg/renderer/tests/resvg_test_suite.cc:1234). | low | S | Partial because selection skips children that are not in a fixed list of rendered element types, which excludes foreignObject and unknown elements (feat:svg2/switch-eligible-children), and because an empty requiredExtensions is treated as true (val:requiredExtensions/empty-string). |
| el:desc | partial | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#DescElement | Descriptive, never-rendered element whose text is the long description of its parent. When several sibling desc exist, the one whose language best matches the user's preferences is selected; the selected text is exposed to accessibility APIs. | donner/svg/SVGDescElement.cc:11-16 (class SVGDescElement, Nonrenderable); text captured at donner/svg/parser/SVGParser.cc:403-429, :439-445. | Text is readable through SVGDescElement::textContent() (donner/svg/SVGDescElement.cc, backed by donner/svg/components/DescriptiveTextComponent.h:18). No language selection and no accessibility mapping exist (search for lang in donner/svg finds no consumer). | donner/svg/tests/SVGDescElement_tests.cc:16-54 (RecognizedElementType, TextContentAccessible, NestedDescInShape, NotRenderedChangesNoPixels); donner/svg/parser/tests/SVGParser_tests.cc:1029. | low | M | Non-rendering and text retention are implemented and tested. Missing: multilingual selection (feat:svg2/title-desc-language-selection) and any accessible-description computation (feat:svg2/title-desc-accessible-name). Only direct text and CDATA children are captured; markup from other namespaces inside desc is kept in the XML tree but its text is not concatenated. |
| el:title | partial | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#TitleElement | Descriptive, never-rendered element giving a short text alternative for its parent; language-based selection among siblings; interactive user agents should surface it (tooltip, document title for the root). | donner/svg/SVGTitleElement.cc:11-17 (class SVGTitleElement, Nonrenderable); text captured at donner/svg/parser/SVGParser.cc:403-429, :431-437. | SVGTitleElement::textContent() (donner/svg/SVGTitleElement.cc:19-23). No language selection, no document-title or tooltip API. | donner/svg/tests/SVGTitleElement_tests.cc:16-60 (RecognizedElementType, TextContentAccessible, EmptyTextContent, NestedTitleInShape, NotRenderedChangesNoPixels). | low | M | Same shape as el:desc. A host can read the text and build its own tooltip; nothing in the library selects among several title siblings. |
| el:metadata | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#MetadataElement | Descriptive, never-rendered element holding metadata, normally elements from other namespaces; content is not rendered. | donner/svg/SVGMetadataElement.cc:11-16 (class SVGMetadataElement, Nonrenderable); direct text captured at donner/svg/parser/SVGParser.cc:447-453. | donner/svg/renderer/RenderingContext.cc:426-429 skips it and its subtree; foreign-namespace children stay in the XML tree as unknown elements (donner/svg/parser/SVGParser.cc:886-896). | donner/svg/tests/SVGMetadataElement_tests.cc:15-40 (RecognizedElementType, TextContentAccessible, NotRenderedChangesNoPixels); donner/svg/parser/tests/SVGParser_tests.cc:1029. | - | - | Foreign-namespace children each produce one 'unsupported namespace' warning at the top of the foreign subtree (donner/svg/parser/SVGParser.cc:824-837); that is diagnostic noise for ordinary RDF metadata, not a conformance issue. |
| el:style | partial | https://www.w3.org/TR/2026/CR-SVG2-20261006/styling.html#StyleElement | Never-rendered element whose character data is a style sheet applied to the document; type (default CSS), media (must match for the sheet to apply) and title (alternate style sheets) follow the HTML style element; processing is identical to HTML. | donner/svg/SVGStyleElement.cc:10-36 (class SVGStyleElement); type at donner/svg/parser/AttributeParser.cc:1745-1764; content parse donner/svg/parser/SVGParser.cc:215-323. | Rules applied in donner/svg/components/style/StyleSystem.cc:666-705; not rendered through the UA rule *\|style { display: none !important } (donner/svg/core/UserAgentStylesheet.h). | donner/svg/tests/SVGStyleElement_tests.cc:12-30; donner/svg/parser/tests/SVGParser_tests.cc:142, :291; resvg third_party/resvg-test-suite/tests/structure/style/*.svg (16 cases, non-presentational-attribute.svg runs without pixel comparison, donner/svg/renderer/tests/resvg_test_suite.cc:1169-1180). | medium | M | Partial: media is not parsed or evaluated (attr:media@style), title is ignored (attr:title@style), a child element inside style fails the whole document (feat:svg2/style-child-element-error), and the cascade order between several style elements is reversed by code reading (feat:svg2/style-multiple-sheets-order). |
| el:script | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/interact.html#ScriptElement | Never-rendered element holding script; executed only when script execution is enabled and the type is supported. A user agent without the scripting feature must not run it and must not render it. | No element class: parsed as SVGUnknownElement in the SVG namespace (donner/svg/parser/SVGParser.cc:793-795, donner/svg/SVGUnknownElement.cc:8-13); search for "script" and ElementType::Script under donner/svg and donner/css finds nothing. | Never rendered (donner/svg/renderer/RenderingContext.cc:227-230, :407-409); never executed (donner/svg/core/ProcessingMode.h:13-16 states that no mode runs script). Text content is dropped from the projected tree (donner/svg/parser/SVGParser.cc:865-871) but stays in the source text. | donner/svg/parser/tests/SVGParser_tests.cc:720 (BrowserActiveMarkupIsInertInProjectionButRetainedInSource) asserts a script inside foreignObject is an inert unknown element. | - | - | Not applicable as an executing element because Donner implements no script engine in any processing mode, which the CR permits (script execution is a per-mode feature). The required non-scripting behavior, not rendered and not executed, holds; see feat:svg2/script-not-executed. |
| el:a | partial | https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#AElement | Renderable container that forms a hyperlink when it has href (or xlink:href); renders its children like a group; nested links are inactive but still rendered; links must be focusable and activatable; attributes target, download, ping, rel, hreflang, type, referrerpolicy as in HTML. | donner/svg/SVGAElement.cc:8-34 (class SVGAElement); href/xlink:href at donner/svg/parser/AttributeParser.cc:1999-2004; text children captured for a inside text at donner/svg/parser/SVGParser.cc:354-360. | Rendering as a transparent group (default traversal, donner/svg/SVGAElement.cc:11-17); link target stored in donner/svg/components/HyperlinkComponent.h:17 and read only by SVGAElement::href(). No navigation, focus or hit-region consumer exists. | donner/svg/tests/SVGAElement_tests.cc:16-64; resvg third_party/resvg-test-suite/tests/structure/a/*.svg (5 cases: on-shape, on-text, on-tspan, inside-text, inside-tspan; unskipped, donner/svg/renderer/tests/resvg_test_suite.cc:1110). | low | S | Rendering is conformant and tested. Link behavior is out of reach for a renderer without navigation, but two things are real gaps: xlink:href wins over href when both are present (attr:href@a), and the HTML link attributes have no typed accessors (retained as generic attributes only). |
| el:view | missing | https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#ViewElement | Element with no rendering of its own that defines a named view (viewBox, preserveAspectRatio); when a URL fragment targets it, its attributes override those of the root svg. | No element class or ElementType enumerator (donner/svg/AllSVGElements.h:76-137 has no view type; search for ElementType::View and "view" under donner/svg finds nothing). Parsed as an unknown SVG-namespace element (donner/svg/parser/SVGParser.cc:793-795). | None: no API selects a view and no fragment identifier is processed (search for svgView and xywh= under donner finds nothing). | none | low | M | The element is harmless when present (not rendered). The missing part is the ability for a host to say 'render this document at view X'; see the feat:svg2/fragment-* rows. |
| el:foreignObject | missing | https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html#ForeignObjectElement | Graphics element (x, y, width, height) that embeds non-SVG content rendered by another process; support for rendering the foreign content is optional, but the element participates in switch with requiredExtensions; SVG-namespace descendants are not rendered unless they form a proper nested svg fragment. | No element class or ElementType enumerator; parsed as an unknown SVG-namespace element (donner/svg/parser/SVGParser.cc:793-795). Only mentions are the UA sheet selector *:not(foreignObject) > svg (donner/svg/core/UserAgentStylesheet.h) and comments. | Not rendered, and its whole subtree is skipped (donner/svg/renderer/RenderingContext.cc:227-230, :407-409); not an eligible switch child (donner/svg/renderer/RenderingContext.cc:160-178). | donner/svg/parser/tests/SVGParser_tests.cc:720 (foreignObject is an unknown element). No rendering test. | medium | XL | Rendering arbitrary foreign content is explicitly optional in the CR, so the visible gap is small for a pure SVG renderer: the fallback pattern switch + foreignObject requiredExtensions=... works because the foreignObject child is skipped. What is missing is the element type itself (geometry, the containing block, HTML or text layout inside it). XL only if real HTML rendering is wanted; S to add an element type that reserves geometry and stays empty. |
| Key | Class | Spec anchor | Requirement (paraphrase) | Parse evidence | Consume evidence | Tests | Impact | Size | Notes |
| attr:crossorigin@script | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/interact.html#ScriptElementCrossoriginAttribute | CORS settings attribute (anonymous, use-credentials, or empty) for fetching an external script; animatable. | Retained as a generic attribute on an unknown script element (donner/svg/SVGElement.cc:806-811); never read. | None: scripts are never fetched or executed. | none | - | - | Meaningful only with script execution and network fetch, neither of which exists. |
| attr:download@a | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#AElementDownloadAttribute | Any value; marks the link as a download with an optional suggested file name (HTML semantics). | Not parsed into typed state: falls through donner/svg/parser/AttributeParser.cc:1999-2004 to the common path and is stored as a generic attribute (donner/svg/SVGElement.cc:806-811). Search for the attribute name under donner/svg finds no reader. | None. Donner has no link activation, navigation or download path (donner/svg/components/HyperlinkComponent.h:10-13 documents the link as informational). | none | - | - | Link traversal belongs to the interaction feature, which a static renderer does not provide. The value is preserved for a host application to read with getAttribute. |
| attr:href@a | divergent | https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#AElementHrefAttribute | URL of the link target; processed when the link is activated. When both href and xlink:href are present, the un-namespaced href is used and xlink:href is ignored. Animatable. | donner/svg/parser/AttributeParser.cc:2003-2004: both href and xlink:href call SVGAElement::setHref, so the attribute parsed last wins. Attributes are iterated in sorted name order (donner/base/xml/components/AttributesComponent.h:120-126, map at :201, ordering donner/base/xml/XMLQualifiedName.h:236-242: name first, then prefix), so xlink:href is always applied after href and overrides it. | SVGAElement::href() (donner/svg/SVGAElement.cc:26-34) is the only reader; no navigation. | donner/svg/tests/SVGAElement_tests.cc:37 (ParsesHref), :42 (ParsesXlinkHref), :48 (SetHref). No test with both attributes. | low | S | By code reading: <a href="A" xlink:href="B"> reports B, the opposite of the CR rule. use has the correct logic (donner/svg/UseReference.cc:27-30) and a test; a should share it. The value is not resolved against a base URL and is not animated through the typed accessor (animation of href is handled generically, see animation.md). |
| attr:href@script | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/interact.html#ScriptElementHrefAttribute | URL of an external resource providing the script; fetched as described in the Linking chapter. | Retained as a generic attribute on an unknown script element (donner/svg/SVGElement.cc:806-811); never read. | None: no fetch is attempted for script (no reader of the attribute; the resource loader is only invoked for images, fonts, CSS imports and use, donner/svg/components/resources/ResourceManagerContext.cc:524-640). | none | - | - | Desired outcome for a non-scripting user agent: the external script is never requested. |
| attr:href@use | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#UseElementHrefAttribute | URL of the element or document to clone; href takes precedence over xlink:href; a URL without a fragment refers to the root element of that document; animatable. | donner/svg/parser/AttributeParser.cc:1775-1778 stores the attribute and calls RetargetUseFromAttributes (donner/svg/UseReference.cc:23-40), which reads href first and falls back to xlink:href, independent of attribute order. | donner/svg/renderer/RenderingContext.cc:1575-1613 resolves the target (same-document #id through donner/svg/graph/Reference.cc:98-107, otherwise an external document through donner/svg/components/resources/ResourceManagerContext.cc:556-618). | donner/svg/tests/SVGUseElement_tests.cc:67, :123, :162 (HrefWinsOverXlinkHrefInEitherOrder), :168, :177, :202, :222, :234; resvg third_party/resvg-test-suite/tests/structure/use/href-without-the-xlink-namespace.svg; donner/svg/renderer/tests/RendererPublicApi_tests.cc:1701 (animated). | - | - | An empty href overrides a non-empty xlink:href and removes the reference (tested at :222), which matches 'use the attribute without a namespace'. Same-document detection is syntactic (# prefix only), see feat:svg2/url-same-document-detection. |
| attr:hreflang@a | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#AElementHreflangAttribute | BCP 47 language tag of the link target (HTML semantics, advisory). | Not parsed into typed state: falls through donner/svg/parser/AttributeParser.cc:1999-2004 to the common path and is stored as a generic attribute (donner/svg/SVGElement.cc:806-811). Search for the attribute name under donner/svg finds no reader. | None. Donner has no link activation, navigation or download path (donner/svg/components/HyperlinkComponent.h:10-13 documents the link as informational). | none | - | - | Link traversal belongs to the interaction feature, which a static renderer does not provide. The value is preserved for a host application to read with getAttribute. |
| attr:media@style | missing | https://www.w3.org/TR/2026/CR-SVG2-20261006/styling.html#StyleElementMediaAttribute | Media query list that must match for the style sheet to apply; when absent the sheet applies unconditionally. | Not parsed: donner/svg/parser/AttributeParser.cc:1745-1764 handles only type; donner/svg/SVGStyleElement.h:75 documents media as unsupported. | No check: IsApplicableStylesheet (donner/svg/components/style/StyleSystem.cc:68-79) tests only the namespace and the UA flag, so a <style media="print"> sheet is applied when rendering to screen. | none | medium | S | By code reading a print-only or (max-width: ...)-gated sheet applies unconditionally, which changes rendering for documents that ship print overrides. Needs a media query evaluator for at least media types and viewport width/height, shared with @media (see css_syntax_values.md). |
| attr:onabort@svg | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SVGElementEventHandlerAttributes | Window event handler content attribute exposed on svg; its value is script run when the abort event is dispatched (script execution feature). | Not interpreted: stored as a generic attribute through donner/svg/parser/AttributeParser.cc:1670 and donner/svg/SVGElement.cc:806-811. | None: no script engine; the attribute value is never evaluated (donner/svg/core/ProcessingMode.h:13-16). | donner/svg/parser/tests/SVGParser_tests.cc:720 asserts an onload attribute on a nested svg is retained in the source and inert (same code path; no test names onabort itself). | - | - | Event attributes require the script execution feature, which Donner never enables. Retaining the text without evaluating it is the required behavior when script is disabled. |
| attr:onerror@svg | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SVGElementEventHandlerAttributes | Window event handler content attribute exposed on svg; its value is script run when the error event is dispatched (script execution feature). | Not interpreted: stored as a generic attribute through donner/svg/parser/AttributeParser.cc:1670 and donner/svg/SVGElement.cc:806-811. | None: no script engine; the attribute value is never evaluated (donner/svg/core/ProcessingMode.h:13-16). | donner/svg/parser/tests/SVGParser_tests.cc:720 asserts an onload attribute on a nested svg is retained in the source and inert (same code path; no test names onerror itself). | - | - | Event attributes require the script execution feature, which Donner never enables. Retaining the text without evaluating it is the required behavior when script is disabled. |
| attr:onresize@svg | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SVGElementEventHandlerAttributes | Window event handler content attribute exposed on svg; its value is script run when the resize event is dispatched (script execution feature). | Not interpreted: stored as a generic attribute through donner/svg/parser/AttributeParser.cc:1670 and donner/svg/SVGElement.cc:806-811. | None: no script engine; the attribute value is never evaluated (donner/svg/core/ProcessingMode.h:13-16). | donner/svg/parser/tests/SVGParser_tests.cc:720 asserts an onload attribute on a nested svg is retained in the source and inert (same code path; no test names onresize itself). | - | - | Event attributes require the script execution feature, which Donner never enables. Retaining the text without evaluating it is the required behavior when script is disabled. |
| attr:onscroll@svg | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SVGElementEventHandlerAttributes | Window event handler content attribute exposed on svg; its value is script run when the scroll event is dispatched (script execution feature). | Not interpreted: stored as a generic attribute through donner/svg/parser/AttributeParser.cc:1670 and donner/svg/SVGElement.cc:806-811. | None: no script engine; the attribute value is never evaluated (donner/svg/core/ProcessingMode.h:13-16). | donner/svg/parser/tests/SVGParser_tests.cc:720 asserts an onload attribute on a nested svg is retained in the source and inert (same code path; no test names onscroll itself). | - | - | Event attributes require the script execution feature, which Donner never enables. Retaining the text without evaluating it is the required behavior when script is disabled. |
| attr:onunload@svg | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SVGElementEventHandlerAttributes | Window event handler content attribute exposed on svg; its value is script run when the unload event is dispatched (script execution feature). | Not interpreted: stored as a generic attribute through donner/svg/parser/AttributeParser.cc:1670 and donner/svg/SVGElement.cc:806-811. | None: no script engine; the attribute value is never evaluated (donner/svg/core/ProcessingMode.h:13-16). | donner/svg/parser/tests/SVGParser_tests.cc:720 asserts an onload attribute on a nested svg is retained in the source and inert (same code path; no test names onunload itself). | - | - | Event attributes require the script execution feature, which Donner never enables. Retaining the text without evaluating it is the required behavior when script is disabled. |
| attr:ping@a | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#AElementPingAttribute | Space-separated URLs to notify when the link is followed (HTML semantics). | Not parsed into typed state: falls through donner/svg/parser/AttributeParser.cc:1999-2004 to the common path and is stored as a generic attribute (donner/svg/SVGElement.cc:806-811). Search for the attribute name under donner/svg finds no reader. | None. Donner has no link activation, navigation or download path (donner/svg/components/HyperlinkComponent.h:10-13 documents the link as informational). | none | - | - | Link traversal belongs to the interaction feature, which a static renderer does not provide. The value is preserved for a host application to read with getAttribute. |
| attr:playbackorder@svg | missing | https://w3c.github.io/svgwg/specs/animations/#SVGElementPlaybackorderAttribute | forwardonly \| all, initial all: whether seeking backwards in the document timeline is allowed (SVG Animations Editor's Draft; the CR attribute index lists it for svg). | Not parsed: no occurrence of playbackorder under donner (case-insensitive search). Stored as a generic attribute through donner/svg/parser/AttributeParser.cc:1670. | None: SVGDocument time control accepts any time, forwards or backwards (donner/svg/SVGDocument.h:466-474). | none | low | S | Editor's Draft only. With the initial value all the current behavior is what the draft describes; only forwardonly content would differ, and the draft says a user agent 'should' disable backward seeking. |
| attr:refX@symbol | partial | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SymbolElementRefXAttribute | <length> \| left \| center \| right, no initial value; x of the reference point, in the coordinate system of the symbol content after viewBox and preserveAspectRatio, placed at the symbol's x position; animatable. | donner/svg/parser/AttributeParser.cc:1885-1889 through ParseSymbolRefAttribute (donner/svg/parser/AttributeParser.cc:128-144): keywords map to 0%, 50%, 100% (donner/svg/parser/AttributeParser.cc:1793-1812), otherwise a length with optional unit, percentages accepted; invalid values warn and keep the previous value. | donner/svg/components/layout/LayoutSystem.cc:438-452 (only on the viewBox path; donner/svg/components/layout/LayoutSystem.cc:426-429 returns first when there is no viewBox). Animation target at donner/svg/renderer/AnimationAttributes.cc:836. | donner/svg/tests/SVGSymbolElement_tests.cc:91, :104, :114 (parse); :421 (CustomReferencePoint), :463 (KeywordCenterReferencePoint) render with a viewBox at origin 0. | low | S | Grammar is accepted in full (plus percentages, which the CR grammar does not list). The consumer is wrong in three cases, see feat:svg2/symbol-refxy-placement and feat:svg2/symbol-refxy-unspecified-vs-zero. Keywords are matched case-sensitively and surrounding whitespace is rejected, unlike the CSS value parsing the CR prescribes. |
| attr:refY@symbol | partial | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SymbolElementRefYAttribute | <length> \| top \| center \| bottom, no initial value; y of the reference point; same rules as refX; animatable. | donner/svg/parser/AttributeParser.cc:1890-1893 through ParseSymbolRefAttribute (donner/svg/parser/AttributeParser.cc:128-144, keywords donner/svg/parser/AttributeParser.cc:1793-1812). | donner/svg/components/layout/LayoutSystem.cc:438-452; animation target at donner/svg/renderer/AnimationAttributes.cc:836. | donner/svg/tests/SVGSymbolElement_tests.cc:91, :104, :114, :421, :463. | low | S | Same findings as attr:refX@symbol. |
| attr:referrerpolicy@a | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#AElementReferrerpolicyAttribute | Referrer policy string applied when following the link. | Not parsed into typed state: falls through donner/svg/parser/AttributeParser.cc:1999-2004 to the common path and is stored as a generic attribute (donner/svg/SVGElement.cc:806-811). Search for the attribute name under donner/svg finds no reader. | None. Donner has no link activation, navigation or download path (donner/svg/components/HyperlinkComponent.h:10-13 documents the link as informational). | none | - | - | Link traversal belongs to the interaction feature, which a static renderer does not provide. The value is preserved for a host application to read with getAttribute. |
| attr:rel@a | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#AElementRelAttribute | Space-separated link relation keywords (HTML semantics). | Not parsed into typed state: falls through donner/svg/parser/AttributeParser.cc:1999-2004 to the common path and is stored as a generic attribute (donner/svg/SVGElement.cc:806-811). Search for the attribute name under donner/svg finds no reader. | None. Donner has no link activation, navigation or download path (donner/svg/components/HyperlinkComponent.h:10-13 documents the link as informational). | none | - | - | Link traversal belongs to the interaction feature, which a static renderer does not provide. The value is preserved for a host application to read with getAttribute. |
| attr:target@a | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#AElementTargetAttribute | _self \| _parent \| _top \| _blank \| <XML-Name>, initial _self: browsing context in which the link opens; animatable. | Not parsed into typed state: falls through donner/svg/parser/AttributeParser.cc:1999-2004 to the common path and is stored as a generic attribute (donner/svg/SVGElement.cc:806-811). Search for the attribute name under donner/svg finds no reader. | None. Donner has no link activation, navigation or download path (donner/svg/components/HyperlinkComponent.h:10-13 documents the link as informational). | none | - | - | Link traversal belongs to the interaction feature, which a static renderer does not provide. The value is preserved for a host application to read with getAttribute. Keyword rows are listed under the value rows. |
| attr:timelinebegin@svg | missing | https://w3c.github.io/svgwg/specs/animations/#SVGElementTimelinebeginAttribute | loadend \| loadbegin, initial loadend: whether the document timeline starts when the load event fires or when the root start tag is parsed (SVG Animations Editor's Draft). | Not parsed: no occurrence of timelinebegin under donner. Stored as a generic attribute through donner/svg/parser/AttributeParser.cc:1670. | None: the document clock is driven by the host (donner/svg/SVGDocument.h:466-474); parsing is synchronous, so load begin and load end coincide. | none | low | S | Editor's Draft only. With a synchronous whole-document parse the two values are indistinguishable, so the practical impact is nil until progressive loading exists. |
| attr:title@style | missing | https://www.w3.org/TR/2026/CR-SVG2-20261006/styling.html#StyleElementTitleAttribute | Title of the style sheet, used to expose and select alternate style sheet sets (HTML semantics); any value. | Not parsed: donner/svg/parser/AttributeParser.cc:1745-1764 handles only type; donner/svg/SVGStyleElement.h:76 documents title as unsupported. | No style sheet set selection: every CSS style element applies (donner/svg/components/style/StyleSystem.cc:689-704). | none | low | S | Under the HTML rules a titled sheet belongs to a style sheet set and only the preferred set (the first title) is enabled by default. Donner applies all titled sheets, so a document with two differently titled style elements gets both. Rare in SVG content. |
| attr:transform@svg | conformant-untested | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SVGElement | The transform presentation attribute is allowed on svg (new in SVG 2) and applies as if the element had a parent with that transform, outside the viewBox mapping; animatable. | Common presentation-attribute path: donner/svg/parser/AttributeParser.cc:1670 to donner/svg/SVGElement.cc:782-799 (trySetPresentationAttribute, transform branch donner/svg/SVGElement.cc:669-682). | donner/svg/components/layout/LayoutSystem.cc:559-574: content-from-parent is the viewBox mapping followed by the element transform, so the transform sits outside the viewport mapping, for root and nested svg alike (donner/svg/components/layout/LayoutSystem.cc:488-557 includes the root in the chain). | none found (search for an svg start tag carrying transform= in donner/svg/**/*_tests.cc finds nothing; resvg structure/transform cases put the transform on shapes and groups). | low | S | By code reading only. transform-origin for a non-root svg is 0 0 per the UA sheet and for the root follows the CSS default; that part is audited in transforms_coordinates.md. |
| attr:type@a | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#AElementTypeAttribute | MIME type hint for the link target (HTML semantics, advisory). | Not parsed into typed state: falls through donner/svg/parser/AttributeParser.cc:1999-2004 to the common path and is stored as a generic attribute (donner/svg/SVGElement.cc:806-811). Search for the attribute name under donner/svg finds no reader. | None. Donner has no link activation, navigation or download path (donner/svg/components/HyperlinkComponent.h:10-13 documents the link as informational). | none | - | - | Link traversal belongs to the interaction feature, which a static renderer does not provide. The value is preserved for a host application to read with getAttribute. |
| attr:type@script | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/interact.html#ScriptElementTypeAttribute | Media type of the script language, default application/ecmascript; a script in an unsupported language must not be executed. | Retained as a generic attribute on an unknown script element (donner/svg/SVGElement.cc:806-811); never read. | None: no script language is supported, so no script runs regardless of type. | none | - | - | The rule 'unsupported language must not execute' is satisfied trivially. |
| attr:type@style | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/styling.html#StyleElementTypeAttribute | Style sheet language as a media type; absent means CSS; obsolete. HTML semantics: the sheet is processed only when the value is empty or an ASCII case-insensitive match for text/css. | donner/svg/parser/AttributeParser.cc:1749-1760 stores the value and warns when it is neither empty nor text/css (case-insensitive). | donner/svg/parser/SVGParser.cc:219 parses content only when isCssType() (donner/svg/components/StylesheetComponent.h:171); attributes are parsed before content (donner/svg/parser/SVGParser.cc:621-627). | donner/svg/tests/SVGStyleElement_tests.cc:12 (DefaultsToCssType), :19 (SetTypeControlsCssParsing), :30; resvg third_party/resvg-test-suite/tests/structure/style/invalid-type.svg (unskipped). | - | - | A value with media type parameters (text/css; charset=utf-8) is not treated as CSS, which matches the HTML rule. |
| Key | Class | Spec anchor | Requirement (paraphrase) | Parse evidence | Consume evidence | Tests | Impact | Size | Notes |
| attr:autofocus@a, animate, animateMotion, animateTransform, circle, clipPath, defs, desc, ellipse, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDistantLight, feDropShadow, feFlood, feFuncA, feFuncB, feFuncG, feFuncR, feGaussianBlur, feImage, feMerge, feMergeNode, feMorphology, feOffset, fePointLight, feSpecularLighting, feSpotLight, feTile, feTurbulence, filter, foreignObject, g, image, line, linearGradient, marker, mask, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SVGElementAutofocusAttribute | Boolean attribute asking that a focusable element be focused when connected to the document; no effect if the element is not focusable. | Retained as a generic attribute (donner/svg/SVGElement.cc:806-811); no typed parsing. | None: there is no focus model (search for autofocus and tabindex under donner finds no reader; donner/svg/DonnerController.h exposes hit testing only). | none | - | - | Focus belongs to the interaction feature. The attribute stays available to hosts and to attribute selectors. |
| attr:class@a, animate, animateMotion, animateTransform, circle, clipPath, defs, desc, ellipse, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDistantLight, feDropShadow, feFlood, feFuncA, feFuncB, feFuncG, feFuncR, feGaussianBlur, feImage, feMerge, feMergeNode, feMorphology, feOffset, fePointLight, feSpecularLighting, feSpotLight, feTile, feTurbulence, filter, foreignObject, g, image, line, linearGradient, marker, mask, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view | partial | https://www.w3.org/TR/2026/CR-SVG2-20261006/styling.html#ClassAttribute | Set of space-separated tokens assigning class names used by selectors; HTML semantics; animatable. | donner/svg/parser/AttributeParser.cc:63-66, :390-391 route class to SVGElement::setClassName (donner/svg/SVGElement.cc:574-593), which stores the raw string in donner/svg/components/ClassComponent.h:11 and invalidates styles. | donner/css/selectors/ClassSelector.h:55-56 splits on ASCII whitespace and compares tokens; shadow instances read the class of their source element (donner/svg/components/style/StyleSystem.cc:436-442). | donner/svg/tests/SVGElement_tests.cc:531 (ClassName), :545; donner/svg/tests/SVGStyleCascade_tests.cc:42 (CSSClassSelector), :239; resvg third_party/resvg-test-suite/tests/structure/style/class-selector.svg, unresolved-class-selector.svg. | low | S | Static behavior is conformant and tested on every element type (the attribute is handled before element dispatch). Partial only because the index marks class animatable and no animation path for it was found: the attribute name does not occur in donner/svg/components/animation/ or donner/svg/renderer/Animation*.cc (search for the quoted name). To be confirmed against animation.md. |
| attr:id@a, animate, animateMotion, animateTransform, circle, clipPath, defs, desc, ellipse, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDistantLight, feDropShadow, feFlood, feFuncA, feFuncB, feFuncG, feFuncR, feGaussianBlur, feImage, feMerge, feMergeNode, feMorphology, feOffset, fePointLight, feSpecularLighting, feSpotLight, feTile, feTurbulence, filter, foreignObject, g, image, line, linearGradient, marker, mask, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#IDAttribute | Reflects the element ID; must be unique, non-empty and without whitespace, but user agents should process id values regardless of XML validity; not animatable. | donner/svg/parser/AttributeParser.cc:63-66, :390-391 to SVGElement::setId (donner/svg/SVGElement.cc:551-564): an empty value registers no id; any other string is stored verbatim in donner/svg/components/IdComponent.h. | Lookup through donner/svg/components/AttachedIdLookup.cc (map lookup, then document-order search for an attached element) used by donner/svg/graph/Reference.cc:21-28; #id selectors read it at donner/svg/components/style/StyleSystem.cc:428-434. | donner/svg/tests/SVGElement_tests.cc:501 (Id); donner/svg/tests/SVGStyleCascade_tests.cc:59; resvg third_party/resvg-test-suite/tests/structure/use/duplicated-IDs.svg, third_party/resvg-test-suite/tests/structure/style/iD-selector.svg; third_party/resvg-test-suite/tests/structure/svg/invalid-id-attribute-1.svg and -2.svg render without pixel comparison (donner/svg/renderer/tests/resvg_test_suite.cc:1205-1206). | - | - | No XML Name validation is applied, as the CR recommends. Matching is case-sensitive. |
| attr:lang@a, animate, animateMotion, animateTransform, circle, clipPath, defs, desc, ellipse, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDistantLight, feDropShadow, feFlood, feFuncA, feFuncB, feFuncG, feFuncR, feGaussianBlur, feImage, feMerge, feMergeNode, feMorphology, feOffset, fePointLight, feSpecularLighting, feSpotLight, feTile, feTurbulence, filter, foreignObject, g, image, line, linearGradient, marker, mask, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view | partial | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#LangAttribute | BCP 47 language tag, or the empty string for unknown; gives the language of the element content, inherited by descendants; not animatable. | Retained as a generic attribute (donner/svg/SVGElement.cc:806-811); no typed parsing or validation. | None: search for the quoted attribute name under donner/svg and donner/css finds only the pseudo-class name list at donner/css/Selector.cc:48; :lang() is not implemented (donner/css/selectors/PseudoClassSelector.cc:27-45 lists structural pseudo-classes only), text shaping does not read it, and title/desc selection does not exist. | none | low | M | Parse half exists (attribute preserved, matchable with [lang=...]). No consumer: language-dependent shaping, :lang(), and descriptive text selection all ignore it. See feat:svg2/lang-xml-lang-precedence. |
| attr:preserveAspectRatio@feImage, image, marker, pattern, svg, symbol, view#1 | partial | https://www.w3.org/TR/2026/CR-SVG2-20261006/coords.html#PreserveAspectRatioAttribute | Elements svg, symbol: <align> <meetOrSlice>?, initial xMidYMid meet; ignored unless viewBox is present on the same element; animatable. Parsed with CSS value parsing (surrounding whitespace allowed); a value that fails to parse is treated as the initial value. | donner/svg/parser/AttributeParser.cc:287-294 to donner/svg/parser/PreserveAspectRatioParser.cc:12-73: ten align keywords and two meetOrSlice keywords, exact case; an empty or leading-whitespace value, trailing whitespace after meetOrSlice, or a third token is an error and leaves the default. | donner/svg/core/PreserveAspectRatio.cc:8-26 (scale and alignment), reached from donner/svg/components/layout/LayoutSystem.cc:431-436 (use instances) and donner/svg/components/layout/LayoutSystem.cc:651-657 (nested svg); root handled in the document-size path. Animation at donner/svg/renderer/AnimationAttributes.cc:1004. | donner/svg/parser/tests/PreserveAspectRatioParser_tests.cc:13-98; donner/svg/tests/SVGSVGElement_tests.cc:348-459; donner/svg/tests/SVGSymbolElement_tests.cc:44; resvg third_party/resvg-test-suite/tests/structure/svg/preserveAspectRatio=*.svg (7 cases, 4 thresholded for edge anti-aliasing), third_party/resvg-test-suite/tests/structure/symbol/with-viewBox.svg. | low | S | Semantics are conformant and tested. Partial for syntax strictness: xMidYMid (leading space) and none slice (trailing space) are rejected (asserted by PreserveAspectRatioParser_tests.cc:18), while the CR's CSS value parsing strips surrounding whitespace and allows comments; CSS keywords are also ASCII case-insensitive under that parsing, which no browser applies here either. Only the whitespace part matters in practice. |
| attr:preserveAspectRatio@feImage, image, marker, pattern, svg, symbol, view#2 | partial | https://www.w3.org/TR/2026/CR-SVG2-20261006/coords.html#PreserveAspectRatioAttribute | Elements feImage, image, marker, pattern: same grammar; for image it fits the referenced image into the reference rectangle; for marker and pattern it applies only with a viewBox. | Same parser: donner/svg/parser/AttributeParser.cc:1074 (feImage), donner/svg/parser/AttributeParser.cc:1468 (image), marker and pattern through donner/svg/parser/AttributeParser.cc:287-294. | Consumers are images, markers, patterns and filters (paint_servers_markers_images.md, filters_generators_lighting.md); not audited here. | See paint_servers_markers_images.md and filters_generators_lighting.md; parser tests as in #1. | low | S | Listed for completeness of the index row. The only finding of this ledger that carries over is the shared parser's whitespace strictness. |
| attr:preserveAspectRatio@feImage, image, marker, pattern, svg, symbol, view#3 | missing | https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#ViewElement | Element view: the value overrides the root svg value when the view is the URL target. | Not parsed as a typed attribute: view is an unknown element (el:view), the value is retained as a generic attribute. | None. | none | low | M | Part of the missing view element. |
| attr:requiredExtensions@a, animate, animateMotion, animateTransform, circle, clipPath, ellipse, foreignObject, g, image, line, mask, path, polygon, polyline, rect, set, svg, switch, text, textPath, tspan, use | partial | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#RequiredExtensionsAttribute | Set of space-separated URL tokens naming required extensions; true when all are supported; absent is true; an empty string evaluates to false; not animatable. | donner/svg/parser/AttributeParser.cc:376-399 stores the raw string in ConditionalProcessingComponent for any element (donner/svg/components/ConditionalProcessingComponent.cc:11-42); DOM writes go through donner/svg/SVGElement.cc:766-773. | donner/svg/components/ConditionalProcessingComponent.cc:96-109: any non-blank value is false (no extension is supported); an empty or whitespace-only value is treated as true. Applied at donner/svg/renderer/RenderingContext.cc:415-418 (any element) and donner/svg/renderer/RenderingContext.cc:210-213 (switch children). | donner/svg/components/tests/ConditionalProcessingComponent_tests.cc:117 (NonEmpty false), :123 (EmptyRequiredExtensionsEvaluatesToTrue, asserts the divergent case); donner/svg/tests/SVGSwitchElement_tests.cc:120, :328; resvg third_party/resvg-test-suite/tests/structure/switch/with-attributes.svg. | low | S | Non-empty lists are conformant (Donner supports no extension, so the answer is always false). The empty-string case is the opposite of the CR, see val:requiredExtensions/empty-string. The element list of this index row (rendered elements only) is not enforced: the attribute is honored on any element type that reaches the render traversal. |
| attr:style@a, animate, animateMotion, animateTransform, circle, clipPath, defs, desc, ellipse, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDistantLight, feDropShadow, feFlood, feFuncA, feFuncB, feFuncG, feFuncR, feGaussianBlur, feImage, feMerge, feMergeNode, feMorphology, feOffset, fePointLight, feSpecularLighting, feSpotLight, feTile, feTurbulence, filter, foreignObject, g, image, line, linearGradient, marker, mask, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/styling.html#StyleAttribute | CSS declaration list applied to the element with the specificity rules of the HTML style attribute; not animatable. | donner/svg/parser/AttributeParser.cc:63-66, :390-391 to SVGElement::setStyle (donner/svg/SVGElement.cc:595-609), which parses the declaration list into the element's StyleComponent. | donner/svg/components/style/StyleSystem.cc:839-846 starts the cascade from the element's own declarations; stylesheet rules are merged by specificity afterwards (donner/svg/components/style/StyleSystem.cc:666-705). | donner/svg/tests/SVGElement_tests.cc:554 (Style), :562; donner/svg/tests/SVGStyleCascade_tests.cc:23 (InlineStyleOverridesAttribute); resvg third_party/resvg-test-suite/tests/structure/style-attribute/comments.svg, simple-case.svg, transform.svg (unskipped), non-presentational-attribute.svg (no pixel comparison, donner/svg/renderer/tests/resvg_test_suite.cc:1186-1194). | - | - | Declaration-level grammar, !important, and precedence against stylesheet rules are audited in selectors_cascade.md. |
| attr:systemLanguage@a, animate, animateMotion, animateTransform, circle, clipPath, ellipse, foreignObject, g, image, line, mask, path, polygon, polyline, rect, set, svg, switch, text, textPath, tspan, use | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SystemLanguageAttribute | Set of comma-separated BCP 47 tags; evaluation: drop empty tokens, false if none remain, true if any tag equals a user language (ASCII case-insensitive) or a user language is a prefix of the tag followed by -; absent is true; not animatable. | donner/svg/parser/AttributeParser.cc:376-399 stores the raw string (donner/svg/components/ConditionalProcessingComponent.cc:19-21). | donner/svg/components/ConditionalProcessingComponent.cc:60-83 (split on commas, trim, skip empty, exact or prefix-plus-hyphen match, case-insensitive), donner/svg/components/ConditionalProcessingComponent.cc:111-124; user languages from SVGDocument::setUserLanguages (donner/svg/SVGDocument.h:592, default en at donner/svg/components/SVGDocumentContext.h:101); applied at donner/svg/renderer/RenderingContext.cc:415-418, donner/svg/renderer/RenderingContext.cc:215-223 and for text content at donner/svg/components/text/TextSystem.cc:343-347. | donner/svg/components/tests/ConditionalProcessingComponent_tests.cc:38-87, :133; donner/svg/tests/SVGSwitchElement_tests.cc:203, :426, :453; resvg third_party/resvg-test-suite/tests/structure/systemLanguage/*.svg (10 cases) and third_party/resvg-test-suite/tests/structure/switch/systemLanguage*.svg (6 cases), all unskipped. | - | - | Matches the normative algorithm. The CR's own informative example (user zh-Hans-CN matching tag zh-Hans) describes the reverse prefix direction; Donner follows the algorithm, see feat:svg2/conditional-systemlanguage-prefix-direction. |
| attr:tabindex@a, animate, animateMotion, animateTransform, circle, clipPath, defs, desc, ellipse, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDistantLight, feDropShadow, feFlood, feFuncA, feFuncB, feFuncG, feFuncR, feGaussianBlur, feImage, feMerge, feMergeNode, feMorphology, feOffset, fePointLight, feSpecularLighting, feSpotLight, feTile, feTurbulence, filter, foreignObject, g, image, line, linearGradient, marker, mask, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SVGElementTabindexAttribute | Valid integer controlling focusability and sequential focus order. | Retained as a generic attribute (donner/svg/SVGElement.cc:806-811). | None: no focus model (see autofocus). | none | - | - | Interaction feature; not provided by a static renderer. |
| attr:viewBox@marker, pattern, svg, symbol, view#1 | partial | https://www.w3.org/TR/2026/CR-SVG2-20261006/coords.html#ViewBoxAttribute | Elements svg, symbol: four numbers min-x, min-y, width, height separated by whitespace and/or commas; negative width or height is an error and the attribute is ignored; zero width or height disables rendering of the element; animatable. | donner/svg/parser/AttributeParser.cc:280-286 to donner/svg/parser/ViewBoxParser.cc:16-37: four numbers with optional comma separators; negative size is an error (:22); anything after the fourth number, including whitespace, is an error (:27-33); leading whitespace fails in the number parser. On error the attribute is ignored with a warning. | donner/svg/components/layout/LayoutSystem.cc:288-327 (inherited viewBox for percentages), donner/svg/components/layout/LayoutSystem.cc:431-436, donner/svg/components/layout/LayoutSystem.cc:651-657, donner/svg/core/PreserveAspectRatio.cc:8-26. Animation at donner/svg/renderer/AnimationAttributes.cc:997. | donner/svg/parser/tests/ViewBoxParser_tests.cc:11-51; donner/svg/tests/SVGSVGElement_tests.cc:271-333; resvg third_party/resvg-test-suite/tests/structure/svg/viewBox-not-at-zero-pos.svg, proportional-viewBox.svg, nested-svg-with-viewBox.svg and others; third_party/resvg-test-suite/tests/structure/symbol/with-viewBox.svg. | low | S | Partial for two reasons: surrounding whitespace is rejected (ViewBoxParser_tests.cc:35 asserts 0 0 1 1 and 0 0 1 1 fail), which silently drops the viewBox of hand-edited files, and a zero-size viewBox has no explicit handling (val:viewBox/zero-size). |
| attr:viewBox@marker, pattern, svg, symbol, view#2 | partial | https://www.w3.org/TR/2026/CR-SVG2-20261006/coords.html#ViewBoxAttribute | Elements marker, pattern: same grammar; these elements do not establish a viewport. | Same parser through donner/svg/parser/AttributeParser.cc:280-286. | Consumers are markers and patterns (paint_servers_markers_images.md); not audited here. | See paint_servers_markers_images.md; parser tests as in #1. | low | S | Only the shared parser strictness carries over. |
| attr:viewBox@marker, pattern, svg, symbol, view#3 | missing | https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#ViewElement | Element view: the value overrides the root svg viewBox when the view is the URL target. | Not parsed as a typed attribute: view is an unknown element (el:view). | None. | none | low | M | Part of the missing view element. |
| attr:xlink:href@a, image, linearGradient, pattern, radialGradient, script, textPath, use#1 | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#XLinkHrefAttribute | Element use: deprecated XLink form of href; used only when no un-namespaced href is present. | donner/svg/parser/AttributeParser.cc:1775-1778, donner/svg/UseReference.cc:27-30. | donner/svg/renderer/RenderingContext.cc:1575-1613. | donner/svg/tests/SVGUseElement_tests.cc:123 (XlinkHref), :162, :168, :177; most resvg third_party/resvg-test-suite/tests/structure/use/*.svg cases use xlink:href. | - | - | The attribute is recognized by its literal xlink prefix, not by namespace: the same XLink namespace bound to another prefix is retained with a warning and not interpreted (donner/svg/parser/SVGParser.cc:571-591, test donner/svg/parser/tests/SVGParser_tests.cc:340), and an xlink prefix bound to a different URI would be interpreted. Namespace-correct handling is covered in xml_data_formats.md. |
| attr:xlink:href@a, image, linearGradient, pattern, radialGradient, script, textPath, use#2 | divergent | https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#XLinkHrefAttribute | Elements a, image, linearGradient, pattern, radialGradient, textPath: when both href and xlink:href are present, the un-namespaced href is used and xlink:href is ignored. | Each handler calls the same setter for both names: donner/svg/parser/AttributeParser.cc:2003 (a), :1466 (image), :452 (gradients), :1569 (pattern), :2161 (textPath). Attributes are visited in sorted order with href before xlink:href (donner/base/xml/components/AttributesComponent.h:120-126, donner/base/xml/XMLQualifiedName.h:236-242), so xlink:href is applied last. | The setters overwrite a single stored value (donner/svg/SVGAElement.cc:20-24, donner/svg/SVGImageElement.cc:31-36, donner/svg/SVGGradientElement.cc:42-49, donner/svg/SVGPatternElement.cc:169-177, donner/svg/SVGTextPathElement.cc:17-22). | none for the both-present case on these elements (the only precedence test is for use). | low | S | By code reading, a file that carries both attributes for compatibility with different values resolves to the legacy xlink:href on these elements. Files that duplicate the same value (the common compatibility pattern) are unaffected. The same pattern exists on filter and feImage (donner/svg/parser/AttributeParser.cc:561, :1069). Fix once by sharing the use precedence helper. |
| attr:xlink:href@a, image, linearGradient, pattern, radialGradient, script, textPath, use#3 | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#XLinkHrefAttribute | Element script: URL of the external script. | Retained as a generic attribute on an unknown script element (donner/svg/SVGElement.cc:806-811); never read. | None: scripts are never fetched. | none | - | - | See attr:href@script. |
| attr:xlink:title@a, image, linearGradient, pattern, radialGradient, script, textPath, use | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#XLinkTitleAttribute | Deprecated human-readable description of a link or resource; any value; new content should use a title child. | Retained in the attribute store with its prefix (donner/svg/SVGElement.cc:806-811, reached through donner/svg/parser/AttributeParser.cc:335-345); not interpreted. | None; the CR assigns no rendering behavior to it. | none | - | - | Advisory text for interactive or assistive user agents. Hosts can read it with getAttribute. |
| attr:xml:space@a, animate, animateMotion, animateTransform, circle, clipPath, defs, desc, ellipse, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feDistantLight, feDropShadow, feFlood, feFuncA, feFuncB, feFuncG, feFuncR, feGaussianBlur, feImage, feMerge, feMergeNode, feMorphology, feOffset, fePointLight, feSpecularLighting, feSpotLight, feTile, feTurbulence, filter, foreignObject, g, image, line, linearGradient, marker, mask, metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect, script, set, stop, style, svg, switch, symbol, text, textPath, title, tspan, use, view | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#XMLSpaceAttribute | Deprecated; default or preserve; the UA style sheet maps xml:space="preserve" to white-space-collapse: preserve-spaces, so an author white-space declaration overrides it; inherited through the XML tree. | Not passed to the SVG attribute parser (donner/svg/parser/SVGParser.cc:571-594 skips prefixed non-SVG attributes); it stays in the shared XML attribute store. | donner/svg/components/text/TextSystem.cc:42-58 walks up to the nearest ancestor carrying xml:space and tests for the exact value preserve; :596-598 applies it only when the element's white-space property is not specified. | donner/svg/components/text/tests/TextSystem_tests.cc:1205 (XmlSpacePreserveKeepsWhitespaceAndInheritance), :1576, :1598, :1619; donner/svg/parser/tests/SVGParser_tests.cc:396; resvg text/text/xml-space.svg compares with default settings; the separate text/tref/xml-space.svg row is deprecated in SVG 2. | - | - | Implemented procedurally instead of as the UA rule *[xml\|space=preserve]; the precedence against an author white-space matches the UA-rule model. Exact whitespace collapsing results are audited in text_font_properties.md. |
| Key | Class | Spec anchor | Requirement (paraphrase) | Parse evidence | Consume evidence | Tests | Impact | Size | Notes |
| val:preserveAspectRatio/none | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/coords.html#DataTypeAlign | none: no uniform scaling; the viewBox is stretched to fill the viewport exactly; meetOrSlice is ignored. | donner/svg/parser/PreserveAspectRatioParser.cc:17-18. | donner/svg/core/PreserveAspectRatio.cc:8-26: per-axis scale kept when align is None. | donner/svg/parser/tests/PreserveAspectRatioParser_tests.cc:32 (None); donner/svg/tests/SVGSVGElement_tests.cc:377, :459; resvg third_party/resvg-test-suite/tests/structure/svg/preserveAspectRatio=none.svg (threshold 0.13 / 1000 px for viewport edge anti-aliasing, donner/svg/renderer/tests/resvg_test_suite.cc:1214). | - | - | |
| val:preserveAspectRatio/xMinYMin | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/coords.html#DataTypeAlign | xMinYMin: uniform scaling with the viewBox left and top edges aligned in the viewport. | donner/svg/parser/PreserveAspectRatioParser.cc:19-20. | donner/svg/core/PreserveAspectRatio.cc:8-26 with the alignment multipliers at donner/svg/core/PreserveAspectRatio.h:64-70 (x) and :80-86 (y). | donner/svg/parser/tests/PreserveAspectRatioParser_tests.cc:41 (AlignOnly, parse of every align keyword); resvg third_party/resvg-test-suite/tests/structure/svg/preserveAspectRatio=xMinYMin.svg (threshold 0.14, donner/svg/renderer/tests/resvg_test_suite.cc:1220) and =xMinYMin-slice.svg; donner/svg/tests/SVGSVGElement_tests.cc:367. | - | - | |
| val:preserveAspectRatio/xMidYMin | conformant-untested | https://www.w3.org/TR/2026/CR-SVG2-20261006/coords.html#DataTypeAlign | xMidYMin: uniform scaling with the viewBox horizontally centered, top aligned in the viewport. | donner/svg/parser/PreserveAspectRatioParser.cc:21-22. | donner/svg/core/PreserveAspectRatio.cc:8-26 with the alignment multipliers at donner/svg/core/PreserveAspectRatio.h:64-70 (x) and :80-86 (y). | donner/svg/parser/tests/PreserveAspectRatioParser_tests.cc:41 (AlignOnly, parse of every align keyword); donner/svg/tests/SVGSVGElement_tests.cc:417 (parse and DOM value only). | low | S | Parsing is tested; no test renders this alignment. The alignment math is one shared formula that the rendered cases exercise with multipliers 0, 0.5 and 1 on both axes, so risk is low. Counted as untested because no test asserts the rendered result for this keyword. |
| val:preserveAspectRatio/xMaxYMin | conformant-untested | https://www.w3.org/TR/2026/CR-SVG2-20261006/coords.html#DataTypeAlign | xMaxYMin: uniform scaling with the viewBox right and top edges aligned in the viewport. | donner/svg/parser/PreserveAspectRatioParser.cc:23-24. | donner/svg/core/PreserveAspectRatio.cc:8-26 with the alignment multipliers at donner/svg/core/PreserveAspectRatio.h:64-70 (x) and :80-86 (y). | donner/svg/parser/tests/PreserveAspectRatioParser_tests.cc:41 (AlignOnly, parse of every align keyword); parser test only. | low | S | Parsing is tested; no test renders this alignment. The alignment math is one shared formula that the rendered cases exercise with multipliers 0, 0.5 and 1 on both axes, so risk is low. Counted as untested because no test asserts the rendered result for this keyword. |
| val:preserveAspectRatio/xMinYMid | conformant-untested | https://www.w3.org/TR/2026/CR-SVG2-20261006/coords.html#DataTypeAlign | xMinYMid: uniform scaling with the viewBox left aligned, vertically centered in the viewport. | donner/svg/parser/PreserveAspectRatioParser.cc:25-26. | donner/svg/core/PreserveAspectRatio.cc:8-26 with the alignment multipliers at donner/svg/core/PreserveAspectRatio.h:64-70 (x) and :80-86 (y). | donner/svg/parser/tests/PreserveAspectRatioParser_tests.cc:41 (AlignOnly, parse of every align keyword); donner/svg/tests/SVGSVGElement_tests.cc:427 (parse and DOM value only). | low | S | Parsing is tested; no test renders this alignment. The alignment math is one shared formula that the rendered cases exercise with multipliers 0, 0.5 and 1 on both axes, so risk is low. Counted as untested because no test asserts the rendered result for this keyword. |
| val:preserveAspectRatio/xMidYMid | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/coords.html#DataTypeAlign | xMidYMid: uniform scaling with the viewBox centered on both axes (the initial value) in the viewport. | donner/svg/parser/PreserveAspectRatioParser.cc:27-28. | donner/svg/core/PreserveAspectRatio.cc:8-26 with the alignment multipliers at donner/svg/core/PreserveAspectRatio.h:64-70 (x) and :80-86 (y). | donner/svg/parser/tests/PreserveAspectRatioParser_tests.cc:41 (AlignOnly, parse of every align keyword); resvg third_party/resvg-test-suite/tests/structure/svg/preserveAspectRatio=xMidYMid.svg (threshold 0.13 / 300 px) and =xMidYMid-slice.svg; donner/svg/tests/SVGSVGElement_tests.cc:348, :357. | - | - | |
| val:preserveAspectRatio/xMaxYMid | conformant-untested | https://www.w3.org/TR/2026/CR-SVG2-20261006/coords.html#DataTypeAlign | xMaxYMid: uniform scaling with the viewBox right aligned, vertically centered in the viewport. | donner/svg/parser/PreserveAspectRatioParser.cc:29-30. | donner/svg/core/PreserveAspectRatio.cc:8-26 with the alignment multipliers at donner/svg/core/PreserveAspectRatio.h:64-70 (x) and :80-86 (y). | donner/svg/parser/tests/PreserveAspectRatioParser_tests.cc:41 (AlignOnly, parse of every align keyword); donner/svg/tests/SVGSVGElement_tests.cc:407 (parse and DOM value only). | low | S | Parsing is tested; no test renders this alignment. The alignment math is one shared formula that the rendered cases exercise with multipliers 0, 0.5 and 1 on both axes, so risk is low. Counted as untested because no test asserts the rendered result for this keyword. |
| val:preserveAspectRatio/xMinYMax | conformant-untested | https://www.w3.org/TR/2026/CR-SVG2-20261006/coords.html#DataTypeAlign | xMinYMax: uniform scaling with the viewBox left and bottom edges aligned in the viewport. | donner/svg/parser/PreserveAspectRatioParser.cc:31-32. | donner/svg/core/PreserveAspectRatio.cc:8-26 with the alignment multipliers at donner/svg/core/PreserveAspectRatio.h:64-70 (x) and :80-86 (y). | donner/svg/parser/tests/PreserveAspectRatioParser_tests.cc:41 (AlignOnly, parse of every align keyword); donner/svg/tests/SVGSVGElement_tests.cc:397 (parse and DOM value only). | low | S | Parsing is tested; no test renders this alignment. The alignment math is one shared formula that the rendered cases exercise with multipliers 0, 0.5 and 1 on both axes, so risk is low. Counted as untested because no test asserts the rendered result for this keyword. |
| val:preserveAspectRatio/xMidYMax | conformant-untested | https://www.w3.org/TR/2026/CR-SVG2-20261006/coords.html#DataTypeAlign | xMidYMax: uniform scaling with the viewBox horizontally centered, bottom aligned in the viewport. | donner/svg/parser/PreserveAspectRatioParser.cc:33-34. | donner/svg/core/PreserveAspectRatio.cc:8-26 with the alignment multipliers at donner/svg/core/PreserveAspectRatio.h:64-70 (x) and :80-86 (y). | donner/svg/parser/tests/PreserveAspectRatioParser_tests.cc:41 (AlignOnly, parse of every align keyword); donner/svg/tests/SVGSVGElement_tests.cc:437 (parse and DOM value only). | low | S | Parsing is tested; no test renders this alignment. The alignment math is one shared formula that the rendered cases exercise with multipliers 0, 0.5 and 1 on both axes, so risk is low. Counted as untested because no test asserts the rendered result for this keyword. |
| val:preserveAspectRatio/xMaxYMax | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/coords.html#DataTypeAlign | xMaxYMax: uniform scaling with the viewBox right and bottom edges aligned in the viewport. | donner/svg/parser/PreserveAspectRatioParser.cc:35-36. | donner/svg/core/PreserveAspectRatio.cc:8-26 with the alignment multipliers at donner/svg/core/PreserveAspectRatio.h:64-70 (x) and :80-86 (y). | donner/svg/parser/tests/PreserveAspectRatioParser_tests.cc:41 (AlignOnly, parse of every align keyword); resvg third_party/resvg-test-suite/tests/structure/svg/preserveAspectRatio=xMaxYMax.svg (threshold 0.13 / 300 px) and =xMaxYMax-slice.svg; donner/svg/tests/SVGSVGElement_tests.cc:387. | - | - | |
| val:preserveAspectRatio/meet | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/coords.html#PreserveAspectRatioAttribute | meet (default): uniform scale chosen so the whole viewBox is visible inside the viewport. | donner/svg/parser/PreserveAspectRatioParser.cc:53-54; default at donner/svg/core/PreserveAspectRatio.h (Default() is xMidYMid meet). | donner/svg/core/PreserveAspectRatio.cc:8-26: minimum of the two axis scales. | donner/svg/parser/tests/PreserveAspectRatioParser_tests.cc:32-41; donner/svg/tests/SVGSVGElement_tests.cc:357; resvg third_party/resvg-test-suite/tests/structure/svg/preserveAspectRatio=xMidYMid.svg, =xMinYMin.svg, =xMaxYMax.svg. | - | - | |
| val:preserveAspectRatio/slice | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/coords.html#PreserveAspectRatioAttribute | slice: uniform scale chosen so the viewport is entirely covered by the viewBox; overflow is clipped by the viewport. | donner/svg/parser/PreserveAspectRatioParser.cc:55-56. | donner/svg/core/PreserveAspectRatio.cc:8-26: maximum of the two axis scales; clipping through the viewport clip rect (donner/svg/renderer/RenderingContext.cc:462-468). | donner/svg/parser/tests/PreserveAspectRatioParser_tests.cc:32-41; donner/svg/tests/SVGSVGElement_tests.cc:367; resvg third_party/resvg-test-suite/tests/structure/svg/preserveAspectRatio=xMinYMin-slice.svg, =xMidYMid-slice.svg, =xMaxYMax-slice.svg (unskipped, no threshold entry). | - | - | |
| val:viewBox/four-numbers-comma-or-whitespace | partial | https://www.w3.org/TR/2026/CR-SVG2-20261006/coords.html#ViewBoxAttribute | Four <number> values separated by whitespace and/or a single comma; parsed with CSS value parsing, so whitespace around the value is allowed. | donner/svg/parser/ViewBoxParser.cc:16-20 (four numbers, skipCommaWhitespace between them, donner/base/parser/details/ParserBase.cc:86-101); donner/svg/parser/ViewBoxParser.cc:27-33 rejects any trailing character. | donner/svg/parser/AttributeParser.cc:280-286 ignores the attribute on error (the element behaves as if it had no viewBox). | donner/svg/parser/tests/ViewBoxParser_tests.cc:16 (Valid), :25 (Commas), :35 (ExtraData asserts that a leading or trailing space is an error). | low | S | Separators are conformant. Leading and trailing whitespace make the whole attribute invalid, so viewBox=" 0 0 100 100" loses its viewBox; browsers accept it and the CR's attribute parsing rule (types 4.2) strips it. |
| val:viewBox/negative-size | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/coords.html#ViewBoxAttribute | A negative width or height is an error: the attribute is treated as not specified. | donner/svg/parser/ViewBoxParser.cc:22-26. | donner/svg/parser/AttributeParser.cc:281-283 adds a warning and leaves the viewBox unset. | donner/svg/parser/tests/ViewBoxParser_tests.cc:42 (InvalidSize). | - | - | |
| val:viewBox/zero-size | partial | https://www.w3.org/TR/2026/CR-SVG2-20261006/coords.html#ViewBoxAttribute | A width or height of zero disables rendering of the element. | donner/svg/parser/ViewBoxParser.cc:22 accepts zero (test comment: 'valid, but should be handled by caller'). | No guard found: donner/svg/core/PreserveAspectRatio.cc:14 divides the viewport size by the viewBox size, giving an infinite or NaN scale; searches for a zero or isEmpty check on viewBox in donner/svg/components/layout/LayoutSystem.cc find none. | donner/svg/parser/tests/ViewBoxParser_tests.cc:21-23 (parse only). No rendering test. | low | S | Unverified by execution: with an infinite scale the content most likely does not draw, which would match the rule by accident, but non-finite transforms also reach bounds and clip code. Needs an explicit 'zero-size viewBox disables rendering' branch and a test. |
| val:refX/<length> | partial | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SymbolAttributes | A length (unitless allowed) giving the reference x in symbol content coordinates. | donner/svg/parser/AttributeParser.cc:128-144, :90-112 (length with optional unit; percentages also accepted). | donner/svg/components/layout/LayoutSystem.cc:438-452. | donner/svg/tests/SVGSymbolElement_tests.cc:91, :104, :421. | low | S | See feat:svg2/symbol-refxy-placement: applied in the wrong coordinate step when the viewBox origin is not 0, and not applied without a viewBox. |
| val:refX/left | partial | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SymbolAttributes | Keyword left: resolves to 0% of the symbol width, as for marker. | donner/svg/parser/AttributeParser.cc:1793-1812 maps the keyword to a 0% length. | donner/svg/components/layout/LayoutSystem.cc:444-445 resolves the percentage against the viewBox width only (the viewBox min-x is not added). | donner/svg/tests/SVGSymbolElement_tests.cc:114 (ReferencePointKeywords). | low | S | Correct only when the viewBox origin is 0; see feat:svg2/symbol-refxy-placement. |
| val:refX/center | partial | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SymbolAttributes | Keyword center: resolves to 50% of the symbol width, as for marker. | donner/svg/parser/AttributeParser.cc:1793-1812 maps the keyword to a 50% length. | donner/svg/components/layout/LayoutSystem.cc:444-445 resolves the percentage against the viewBox width only (the viewBox min-x is not added). | donner/svg/tests/SVGSymbolElement_tests.cc:114 (ReferencePointKeywords); :463 (KeywordCenterReferencePoint, renders with a viewBox at origin 0). | low | S | Correct only when the viewBox origin is 0; see feat:svg2/symbol-refxy-placement. |
| val:refX/right | partial | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SymbolAttributes | Keyword right: resolves to 100% of the symbol width, as for marker. | donner/svg/parser/AttributeParser.cc:1793-1812 maps the keyword to a 100% length. | donner/svg/components/layout/LayoutSystem.cc:444-445 resolves the percentage against the viewBox width only (the viewBox min-x is not added). | donner/svg/tests/SVGSymbolElement_tests.cc:114 (ReferencePointKeywords). | low | S | Correct only when the viewBox origin is 0; see feat:svg2/symbol-refxy-placement. |
| val:refY/<length> | partial | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SymbolAttributes | A length (unitless allowed) giving the reference y in symbol content coordinates. | donner/svg/parser/AttributeParser.cc:128-144, :90-112. | donner/svg/components/layout/LayoutSystem.cc:438-452. | donner/svg/tests/SVGSymbolElement_tests.cc:91, :104, :421. | low | S | Same as val:refX/<length>. |
| val:refY/top | partial | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SymbolAttributes | Keyword top: resolves to 0% of the symbol height. | donner/svg/parser/AttributeParser.cc:1793-1812 maps the keyword to a 0% length. | donner/svg/components/layout/LayoutSystem.cc:446-447 resolves the percentage against the viewBox height only. | donner/svg/tests/SVGSymbolElement_tests.cc:114. | low | S | Correct only when the viewBox origin is 0. |
| val:refY/center | partial | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SymbolAttributes | Keyword center: resolves to 50% of the symbol height. | donner/svg/parser/AttributeParser.cc:1793-1812 maps the keyword to a 50% length. | donner/svg/components/layout/LayoutSystem.cc:446-447 resolves the percentage against the viewBox height only. | donner/svg/tests/SVGSymbolElement_tests.cc:114; :463. | low | S | Correct only when the viewBox origin is 0. |
| val:refY/bottom | partial | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SymbolAttributes | Keyword bottom: resolves to 100% of the symbol height. | donner/svg/parser/AttributeParser.cc:1793-1812 maps the keyword to a 100% length. | donner/svg/components/layout/LayoutSystem.cc:446-447 resolves the percentage against the viewBox height only. | donner/svg/tests/SVGSymbolElement_tests.cc:114. | low | S | Correct only when the viewBox origin is 0. |
| val:xml:space/default | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#XMLSpaceAttribute | default: white space is collapsed under the normal rules; resets an inherited preserve. | Read from the XML attribute store (donner/svg/components/text/TextSystem.cc:45-49). | donner/svg/components/text/TextSystem.cc:49 returns false for any value other than preserve on the nearest ancestor carrying the attribute, so default on a descendant overrides preserve on an ancestor. | donner/svg/components/text/tests/TextSystem_tests.cc:1619 (WhitespacePreserveRootDefaultTspan), :1205. | - | - | |
| val:xml:space/preserve | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#XMLSpaceAttribute | preserve: spaces are preserved (UA rule white-space-collapse: preserve-spaces). | donner/svg/components/text/TextSystem.cc:45-49 (exact, case-sensitive match). | donner/svg/components/text/TextSystem.cc:591-601 (legacy preserve mode passed to whitespace collapsing). | donner/svg/components/text/tests/TextSystem_tests.cc:1205, :1576 (WhitespacePreserveLeadingSpaces), :1598. | - | - | The exact collapsing output (newlines to spaces, tabs) is audited in text_font_properties.md. |
| val:target/_self | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#AElementTargetAttribute | _self: replace the current SVG image in the same browsing context (initial value). | Not parsed; the raw attribute string is retained (donner/svg/SVGElement.cc:806-811). | None: no browsing contexts or navigation. | none | - | - | Requires link traversal in a browsing context. |
| val:target/_parent | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#AElementTargetAttribute | _parent: replace the parent browsing context. | Not parsed; the raw attribute string is retained (donner/svg/SVGElement.cc:806-811). | None: no browsing contexts or navigation. | none | - | - | Requires link traversal in a browsing context. |
| val:target/_top | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#AElementTargetAttribute | _top: replace the top-level browsing context. | Not parsed; the raw attribute string is retained (donner/svg/SVGElement.cc:806-811). | None: no browsing contexts or navigation. | none | - | - | Requires link traversal in a browsing context. |
| val:target/_blank | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#AElementTargetAttribute | _blank: open a new unnamed browsing context. | Not parsed; the raw attribute string is retained (donner/svg/SVGElement.cc:806-811). | None: no browsing contexts or navigation. | none | - | - | Requires link traversal in a browsing context. |
| val:target/<XML-Name> | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#AElementTargetAttribute | <XML-Name>: open in the named browsing context, creating it if needed. | Not parsed; the raw attribute string is retained (donner/svg/SVGElement.cc:806-811). | None: no browsing contexts or navigation. | none | - | - | Requires link traversal in a browsing context. |
| val:crossorigin/anonymous | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/interact.html#ScriptElementCrossoriginAttribute | anonymous: CORS request without credentials for the external script. | Not parsed. | None: scripts are never fetched. | none | - | - | No script fetching. |
| val:crossorigin/use-credentials | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/interact.html#ScriptElementCrossoriginAttribute | use-credentials: CORS request with credentials for the external script. | Not parsed. | None: scripts are never fetched. | none | - | - | No script fetching. |
| val:playbackorder/all | conformant-untested | https://w3c.github.io/svgwg/specs/animations/#SVGElementPlaybackorderAttribute | all (initial): the document may be seeked in both directions. | Attribute not parsed. | donner/svg/SVGDocument.h:466-474: any finite time is accepted, including an earlier one, which is the all behavior. | none for the attribute; time seeking itself is covered in animation.md. | low | S | Behavior equals the initial value because the attribute is ignored. |
| val:playbackorder/forwardonly | missing | https://w3c.github.io/svgwg/specs/animations/#SVGElementPlaybackorderAttribute | forwardonly: backward seeking should not be offered. | Attribute not parsed. | None: backward seeking stays available. | none | low | S | Editor's Draft, 'should' level. |
| val:timelinebegin/loadend | conformant-untested | https://w3c.github.io/svgwg/specs/animations/#SVGElementTimelinebeginAttribute | loadend (initial): the timeline starts when the load event of the outermost svg fires. | Attribute not parsed. | Parsing is synchronous and the host drives the clock from time 0 after the document is built, which is the loadend behavior. | none | low | S | Behavior equals the initial value because the attribute is ignored. |
| val:timelinebegin/loadbegin | missing | https://w3c.github.io/svgwg/specs/animations/#SVGElementTimelinebeginAttribute | loadbegin: the timeline starts when the root start tag has been parsed. | Attribute not parsed. | None; indistinguishable from loadend with a synchronous parse. | none | low | S | Only observable with progressive loading, which Donner does not have. |
| val:requiredExtensions/space-separated-url-tokens | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#RequiredExtensionsAttribute | A whitespace-separated list of extension URLs; true only when every listed extension is supported. | Raw string stored (donner/svg/components/ConditionalProcessingComponent.cc:16-18). | donner/svg/components/ConditionalProcessingComponent.cc:100-106: any non-blank value is false because no extension is supported, so tokenization is never needed. | donner/svg/components/tests/ConditionalProcessingComponent_tests.cc:117; donner/svg/tests/SVGSwitchElement_tests.cc:120; resvg third_party/resvg-test-suite/tests/structure/switch/with-attributes.svg. | - | - | |
| val:requiredExtensions/empty-string | divergent | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#RequiredExtensionsAttribute | An empty (or null) string evaluates to false. | Raw string stored (donner/svg/components/ConditionalProcessingComponent.cc:16-18). | donner/svg/components/ConditionalProcessingComponent.cc:100-106: an empty or whitespace-only value falls through to true; the comment cites SVG 1.1. | donner/svg/components/tests/ConditionalProcessingComponent_tests.cc:123 (EmptyRequiredExtensionsEvaluatesToTrue) pins the divergent behavior. | low | S | The CR text (and SVG 1.1 second edition) say false. An element with requiredExtensions="" renders in Donner and must not. One-line fix plus the test expectation. |
| val:systemLanguage/comma-separated-tags | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SystemLanguageAttribute | Comma-separated tokens with surrounding whitespace stripped; empty tokens removed. | donner/svg/components/ConditionalProcessingComponent.cc:61-65. | donner/svg/components/ConditionalProcessingComponent.cc:66-79. | donner/svg/components/tests/ConditionalProcessingComponent_tests.cc:56 (CommaSeparatedListMatchesAnyTag); resvg third_party/resvg-test-suite/tests/structure/systemLanguage/ru-en.svg. | - | - | |
| val:systemLanguage/empty-or-only-separators | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SystemLanguageAttribute | If no token remains after removing empty ones, the attribute evaluates to false. | donner/svg/components/ConditionalProcessingComponent.cc:63-65 skips empty tokens. | donner/svg/components/ConditionalProcessingComponent.cc:82 returns false when nothing matched; donner/svg/components/ConditionalProcessingComponent.cc:117-121. | donner/svg/components/tests/ConditionalProcessingComponent_tests.cc:67 (EmptyValueDoesNotMatch). | - | - | |
| val:systemLanguage/case-insensitive-exact-match | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SystemLanguageAttribute | A tag matches when it equals a user language, compared ASCII case-insensitively. | donner/svg/components/ConditionalProcessingComponent.cc:70-73. | donner/svg/components/ConditionalProcessingComponent.cc:85-94. | donner/svg/components/tests/ConditionalProcessingComponent_tests.cc:38, :62; resvg third_party/resvg-test-suite/tests/structure/systemLanguage/en.svg, ru-Ru.svg. | - | - | |
| val:systemLanguage/prefix-match | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SystemLanguageAttribute | A tag matches when a user language is a case-insensitive prefix of the tag and the next character of the tag is a hyphen (user en matches tag en-GB). | donner/svg/components/ConditionalProcessingComponent.cc:74-78. | donner/svg/components/ConditionalProcessingComponent.cc:85-94. | donner/svg/components/tests/ConditionalProcessingComponent_tests.cc:43 (SubtagOfUserLanguageMatches), :51 (PrefixWithoutSubtagSeparatorDoesNotMatch); resvg third_party/resvg-test-suite/tests/structure/systemLanguage/en-GB.svg, en-US.svg. | - | - | |
| val:type@style/empty-or-absent | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/styling.html#StyleElementTypeAttribute | No type, or an empty value: the sheet is CSS. | donner/svg/parser/AttributeParser.cc:1750. | donner/svg/components/StylesheetComponent.h:171; donner/svg/SVGStyleElement.cc:53-62. | donner/svg/tests/SVGStyleElement_tests.cc:12 (DefaultsToCssType); most resvg structure/style cases omit type. | - | - | |
| val:type@style/text-css | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/styling.html#StyleElementTypeAttribute | text/css, compared ASCII case-insensitively: the sheet is CSS. | donner/svg/parser/AttributeParser.cc:1751. | donner/svg/components/StylesheetComponent.h:171 (equalsIgnoreCase). | donner/svg/tests/SVGStyleElement_tests.cc:19; resvg third_party/resvg-test-suite/tests/structure/use/cSS-rules.svg (uses type="text/css"). | - | - | |
| val:type@style/other-media-type | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/styling.html#StyleElementTypeAttribute | Any other value: the element's content is not processed as a style sheet. | donner/svg/parser/AttributeParser.cc:1753-1757 warns. | donner/svg/parser/SVGParser.cc:219 skips the content. | donner/svg/tests/SVGStyleElement_tests.cc:19, :30; resvg third_party/resvg-test-suite/tests/structure/style/invalid-type.svg. | - | - | |
| Key | Class | Spec anchor | Requirement (paraphrase) | Parse evidence | Consume evidence | Tests | Impact | Size | Notes |
| feat:svg2/use-href-precedence | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#UseElement | The referenced element comes from href, or from xlink:href only when href is absent. | donner/svg/UseReference.cc:23-40; DOM writes re-resolve through donner/svg/SVGElement.cc:114-118, donner/svg/SVGElement.cc:855-857. | donner/svg/renderer/RenderingContext.cc:1575-1613. | donner/svg/tests/SVGUseElement_tests.cc:162 (HrefWinsOverXlinkHrefInEitherOrder), :168, :177, :222. | - | - | |
| feat:svg2/use-same-document-reference | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#processingURL-target | A same-document URL with a fragment targets the element with that id in the current document. | donner/svg/graph/Reference.cc:98-107 (fragment-only #id), donner/svg/graph/Reference.cc:21-28 (attached element with that id, SVG namespace only). | donner/svg/renderer/RenderingContext.cc:1583-1598 builds the shadow tree. | donner/svg/components/shadow/tests/ShadowTreeSystem_tests.cc:40, :54; donner/svg/tests/SVGUseElement_tests.cc:89, :106; resvg third_party/resvg-test-suite/tests/structure/use/simple-case.svg, from-defs.svg, non-linear-order.svg (target defined after the use). | - | - | |
| feat:svg2/use-external-document | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#UseElement | use may reference an element in another SVG document; a URL without a fragment refers to that document's root element. The external document is processed in secure static mode. | donner/svg/graph/Reference.cc:33-50 (external when not starting with # and not a data: URL), donner/svg/graph/Reference.cc:52-92 (document URL and fragment split). | donner/svg/renderer/RenderingContext.cc:1599-1607 loads the document through donner/svg/components/resources/ResourceManagerContext.cc:556-618 (host resource loader, cached, parsed with ProcessingMode::SecureStatic at donner/svg/parser/SVGParser.cc:994-1009) and records the fragment (empty means root). | donner/svg/renderer/tests/Renderer_tests.cc:461 (UseExternalSvg, no fragment), :466 (UseExternalSvgFragment); donner/svg/renderer/tests/RendererPublicApi_tests.cc:747-1992; donner/svg/components/resources/tests/SubDocumentCache_tests.cc. resvg third_party/resvg-test-suite/tests/structure/use/xlink-to-an-external-file.svg is compared against a Donner golden (harness mismatch: its reference is opaque and its glyph ink is about 5.6% heavier). | - | - | Loading needs a host-supplied resource loader; without one a warning is emitted and the use renders nothing (donner/svg/components/resources/ResourceManagerContext.cc:575-580). |
| feat:svg2/use-data-url-and-cross-origin | conformant-untested | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#UseElement | User agents may restrict external resources; the CR does not allow cross-origin or data: URL requests in use. | donner/svg/graph/Reference.cc:44-47: a data: URL is not treated as an external document reference. | donner/svg/renderer/RenderingContext.cc:1599-1613: a data: href is neither a same-document target nor external, so it only produces a 'failed to resolve' warning and nothing renders. Origin policy is the host loader's (donner/svg/resources/ResourceLoaderInterface.h); the bundled SandboxedFileResourceLoader confines loads to a root directory. | none for use with a data: URL (search for <use with data: in tests finds only image cases). | low | S | Donner has no network stack and no notion of origin, so cross-origin enforcement is delegated to the embedder. The data: refusal is by code reading. |
| feat:svg2/use-non-svg-target-in-error | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#UseElement | If the referenced element is not an SVG element the reference is invalid, the use is in error and is not rendered. | donner/svg/graph/Reference.cc:21-28: resolution requires HasSvgNamespace (donner/svg/components/ElementTypeComponent.h:39). | donner/svg/renderer/RenderingContext.cc:1583, :1608-1612: no target, warning, no shadow tree, nothing drawn. | resvg third_party/resvg-test-suite/tests/structure/use/xlink-to-a-child-of-a-non-SVG-element.svg, xlink-to-an-invalid-element-1.svg, -2.svg, -3.svg, xlink-to-a-child-of-an-invalid-element.svg (unskipped). | - | - | An unknown element that is in the SVG namespace (for example foreignObject) is a valid target under this rule; Donner clones it and renders nothing, since unknown types never render. |
| feat:svg2/use-circular-reference | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#UseShadowTree | A use that references its own ancestor, or a chain of references that loops, is an invalid circular reference; the use (or instance) whose shadow tree would close the loop is in error and not rendered. | donner/svg/components/shadow/ShadowTreeSystem.cc:256-274 (self and ancestor), :343-364 and :378-381 (indirect and nested), :37-104 (preflight over the reference graph). | The offending shadow tree is not created; a warning is recorded and the rest of the document renders. | donner/svg/components/shadow/tests/ShadowTreeSystem_tests.cc:96, :113, :230, :274, :446; resvg third_party/resvg-test-suite/tests/structure/use/recursive.svg, self-recursive.svg, indirect-recursive-1.svg, -2.svg, -3.svg, nested-recursive-1.svg, -2.svg. | - | - | |
| feat:svg2/use-unresolved-not-rendered | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#UseElement | A use with an unresolved or invalid reference is not rendered and counts as an empty container for bounding boxes. | donner/svg/renderer/RenderingContext.cc:1608-1612 (warning only). | No shadow children exist, so traversal of the use draws nothing. | donner/svg/components/shadow/tests/ShadowTreeSystem_tests.cc:162 (UseWithMissingHref); donner/svg/tests/SVGUseElement_tests.cc:234 (SetEmptyHrefRemovesReference); donner/svg/renderer/tests/RendererPublicApi_tests.cc:1270 (ExternalUseMissingFragmentDoesNotLeakScopedState). | - | - | Bounding-box contribution was not checked (see transforms_coordinates.md). |
| feat:svg2/use-shadow-tree-clone | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#UseShadowTree | The referenced element and its whole subtree are instantiated as the rendered content of the use, as if they were its children; the instances are not part of the document tree. | donner/svg/components/shadow/ShadowTreeSystem.cc:339-434 creates one shadow entity per source node (:315-337), each pointing at its source through donner/svg/components/shadow/ShadowEntityComponent.h. | donner/svg/renderer/RenderingContext.cc:395-398 reads data from the source entity and style from the shadow entity; shadow entities are appended under the use in the render tree only. | donner/svg/components/shadow/tests/ShadowTreeSystem_tests.cc:40, :254 (UseReferencingGroupWithChildren), :494; resvg third_party/resvg-test-suite/tests/structure/use/simple-case.svg, indirect.svg. | - | - | Expansion is bounded by a resource budget (donner/svg/components/shadow/ShadowTreeSystem.cc:136-166); a document exceeding it has the offending use dropped with a warning. That is a deliberate denial-of-service limit, not a CR rule. |
| feat:svg2/use-shadow-tree-live-updates | conformant-untested | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#UseShadowTree | All mutations of the referenced subtree (elements, attributes, text) and of its style sheets are reflected in the instances; if the reference becomes unresolved the shadow tree is discarded. | Instances hold no copied attributes: data is read from the source entity at render time (donner/svg/components/shadow/ShadowEntityComponent.h). | donner/svg/UseReference.cc:16-21 tears down and rebuilds instances when the use changes; tree mutations mark the render tree for rebuild (donner/svg/components/TreeMutation.cc). | donner/svg/tests/SVGUseElement_tests.cc:138 (SetHref), :187; donner/svg/components/shadow/tests/ShadowTreeSystem_tests.cc:177 (teardown). No test mutates a referenced element and asserts the instance repaints. | low | S | By code reading the proxy design makes attribute changes visible automatically; structural changes rely on the render-tree rebuild flag. Dynamic-document behavior, worth one regression test. |
| feat:svg2/use-shadow-tree-when-not-rendered | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#UseShadowTree | The shadow tree must exist even when the use is not rendered (inside defs, excluded by conditional processing, display: none). | n/a | donner/svg/renderer/RenderingContext.cc:1562-1582 deliberately skips instantiating use elements that sit in unpresented definitions until a referencing host expands them. | none | - | - | Observable only through the scripted shadow DOM interfaces (SVGUseElementShadowRoot), which Donner does not expose. The CR lets non-scripting user agents skip shadow DOM details as long as rendering is identical. |
| feat:svg2/use-shadow-tree-read-only-and-inert-script | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#UseShadowTree | The shadow tree is open but read-only (modifications throw); script elements inside it are inert. | n/a | Shadow entities are internal and have no public mutation API; scripts never run anywhere. | none | - | - | DOM and scripting requirement. |
| feat:svg2/use-nested-use | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#UseShadowTree | A referenced use, or content containing use, is expanded recursively. | donner/svg/components/shadow/ShadowTreeSystem.cc:378-407 follows a nested reference while cloning. | donner/svg/renderer/RenderingContext.cc:1562-1582. | donner/svg/components/shadow/tests/ShadowTreeSystem_tests.cc:401; resvg third_party/resvg-test-suite/tests/structure/use/indirect.svg, third_party/resvg-test-suite/tests/structure/symbol/indirect-symbol-reference.svg; donner/svg/renderer/tests/RendererPublicApi_tests.cc:1543 (external target containing an external use). | - | - | |
| feat:svg2/use-external-url-absolutization | conformant-untested | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#UseShadowTree | When the referenced element is in an external file, URL references in its attributes and styles are made absolute (relative to that file) before use. | n/a (no URL rewriting step). | The external instance is rendered from the external document's own registry (donner/svg/components/resources/ImageComponent.h:156, ExternalUseComponent), so fragment references inside it resolve against that document, which gives the same result as absolutizing. | donner/svg/renderer/tests/RendererPublicApi_tests.cc:1035 (ExternalUseNestedGradientStaticControl) and :897 cover paint references inside external content; no test covers a relative external URL inside external content. | low | S | By code reading. Relative non-fragment URLs inside the external document (images, nested external use) resolve through the same loader; whether the base is the external file's location was not verified. |
| feat:svg2/use-xy-translate | partial | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#UseLayout | x and y add translate(x, y) to the right of the use element's own transform; the translation applies to the use itself, so userSpaceOnUse clip paths, masks and filters on the use move with it. | donner/svg/parser/AttributeParser.cc:1772 (typed x, y). | donner/svg/components/layout/LayoutSystem.cc:459-462 returns Translate(x, y) as the element's content transform, and donner/svg/components/layout/LayoutSystem.cc:559-574 composes it into the transform cached for the element itself (donner/svg/components/layout/LayoutSystem.cc:545-553); the renderer installs that transform before pushing the element's clip, mask and filter (donner/svg/renderer/RendererDriver.cc:3347, clip at :3377). | donner/svg/tests/SVGUseElement_tests.cc:257 (SetXY, round-trips the attributes only), :309; resvg third_party/resvg-test-suite/tests/structure/use/position-inheritance.svg, transform-attribute-1.svg, -2.svg, xlink-to-svg-element-with-x-y-on-use.svg; donner/svg/tests/SVGSymbolElement_tests.cc:341 (AdditiveXY). | high | S | Holds only when the use has no transform or a pure translation; rendering position is tested for those cases. With any non-translate transform the transform pivots about (x, y), because the element's own x/y/width/height box is used as the transform reference box (donner/svg/components/layout/LayoutSystem.cc:796-815); that is equivalent to applying translate(x, y) to the left of the transform instead of the right. <use x="100" y="50" transform="scale(2)"> maps p to 2p + (100,50) where the CR gives 2p + (200,100). This is the same defect as feat:css-transforms-1/reference-box-of-sized-elements in transforms_coordinates.md (divergent, high), by code reading; no test combines use x/y with a rotate, scale, skew or matrix transform. The clip/mask/filter coordinate claim is also by code reading: the per-element world transform in Donner already includes the element's content offset, so effects on the use are evaluated in the translated space. No test places a userSpaceOnUse clipPath or mask on a use with non-zero x/y. |
| feat:svg2/use-width-height-override | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#UseLayout | width and height on use override the corresponding values of a referenced svg or symbol when not auto; auto leaves the referenced element's own values in force. | donner/svg/parser/AttributeParser.cc:1772. | donner/svg/components/layout/LayoutSystem.cc:986-1004: use values replace the target's only when set. | donner/svg/tests/SVGSymbolElement_tests.cc:225, :263, :302 (UseOverridesSymbolSize); resvg third_party/resvg-test-suite/tests/structure/symbol/with-custom-use-size.svg, with-viewBox-and-custom-use-size.svg, third_party/resvg-test-suite/tests/structure/use/xlink-to-svg-element-with-width-height-on-use.svg. | - | - | Only the width/height attributes of the use are consulted here; a CSS width declaration on the use is not (donner/svg/components/layout/LayoutSystem.cc:990-995 reads the attribute-backed properties without the unparsed-declaration step). See shapes_paths.md for the geometry properties. |
| feat:svg2/use-width-height-no-effect-on-non-viewport | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#UseLayout | width and height have no effect when the referenced element does not establish a viewport; the use itself is not a viewport and does not change percentage resolution. | n/a | donner/svg/components/layout/LayoutSystem.cc:978-984 returns unless the target is svg or symbol; donner/svg/components/layout/LayoutSystem.cc:197-210 applies authored dimensions only for viewport targets. | resvg third_party/resvg-test-suite/tests/structure/use/with-size.svg (size on a use of a non-viewport element). | - | - | |
| feat:svg2/use-negative-width-height-ignored | divergent | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#UseElement | A negative width or height on use is invalid and must be ignored (the referenced element's own size applies). | donner/svg/parser/AttributeParser.cc:192-209: any parsable length is stored, sign unchecked. | donner/svg/components/layout/LayoutSystem.cc:990-1004 takes the negative value as the override; the resulting bounds are empty, and donner/svg/renderer/RenderingContext.cc:446-460 skips rendering. | none (search for a negative width on <use in tests finds nothing). | low | S | By code reading a negative size hides the instance instead of falling back to the symbol's size. Unverified by execution. |
| feat:svg2/use-zero-width-height-disables | conformant-untested | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#UseElement | A zero width or height on use, when it has an effect on the referenced element, disables rendering of that element. | donner/svg/parser/AttributeParser.cc:192-209. | donner/svg/components/layout/LayoutSystem.cc:1011-1014 produces empty bounds; donner/svg/renderer/RenderingContext.cc:446-460 returns before instantiation when the sized bounds are empty. | none found for use; the root-level analogue is resvg third_party/resvg-test-suite/tests/structure/svg/zero-size.svg. | low | S | The emptiness check reads the sized component of the data entity (donner/svg/renderer/RenderingContext.cc:449-456); whether it sees the shadow instance's component in every case was not confirmed. Needs a test. |
| feat:svg2/use-style-inheritance-from-host | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#UseStyleInheritance | Element instances inherit property values from the host use element, not from the original parent of the referenced element. | n/a | donner/svg/components/style/StyleSystem.cc:848-853: the style parent is the tree parent of the shadow entity, which is the use (or an enclosing instance). | resvg third_party/resvg-test-suite/tests/structure/use/style-inheritance-1.svg, -2.svg, -3.svg, fill-opacity-inheritance.svg, stroke-opacity-inheritance.svg, opacity-inheritance.svg, with-currentColor.svg, complex-style-resolving-order.svg; donner/svg/renderer/tests/RendererPublicApi_tests.cc:747. | - | - | |
| feat:svg2/use-presentation-attributes-cloned | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#UseStyleInheritance | Presentation attributes and the style attribute of referenced elements apply to their instances as on the originals. | n/a | donner/svg/components/style/StyleSystem.cc:839-846 seeds the instance's cascade from the source element's own declarations. | resvg third_party/resvg-test-suite/tests/structure/use/complex-style-resolving-order.svg, style-inheritance-2.svg. | - | - | |
| feat:svg2/use-style-rule-scoping | divergent | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#UseStyleInheritance | Style rules of the document apply inside the shadow tree but are matched against the shadow tree's own structure: a rule whose selector depends on ancestors or siblings that were not cloned does not match the instance, and selectors cannot reach from the host document into the shadow tree (shadow encapsulation, CSS Scoping). | n/a | donner/svg/components/style/StyleSystem.cc:670-704 matches every document rule against the shadow entity using ShadowedElementAdapter; donner/svg/components/style/StyleSystem.cc:374-386 walks from the instance root up into the use and its ancestors with no shadow-root boundary. So the source element's original ancestors correctly stop matching, but ancestors of the use now match. | donner/svg/components/style/tests/StyleSystem_tests.cc:1495 (ShadowTreeSelectorsMatchSiblingAndAttributeState) covers selectors inside the instance; resvg third_party/resvg-test-suite/tests/structure/use/cSS-rules.svg passes but only uses an id selector. No test for a selector that crosses the host boundary. | medium | M | Half of the SVG 2 model is right: the CR example (.special circle no longer matching an instance whose source sat under .special) behaves as specified. The other half is not: use > rect, g.icons rect (with the use inside g.icons) and svg rect:first-child-style rules match cloned content in Donner and must not, because the instance root's parent is a shadow root, not the use. Structural pseudo-classes on the instance root (:first-child, :nth-child) are also evaluated against the children of the use. |
| feat:svg2/use-external-stylesheets | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#UseStyleInheritance | For an external referenced document, that document's style sheets apply to the shadow tree; the host document's rules affect it only through inheritance. | n/a | External instances are styled inside the external document's registry with the host's computed style injected as the inheritance parent (donner/svg/components/style/StyleSystem.cc:165-168, :848-853, donner/svg/components/style/ExternalUseStyleContext.h). | donner/svg/renderer/tests/RendererPublicApi_tests.cc:747 (ExternalUseInheritsHostFillWithoutExternalAncestors), :827, :952, :967. | - | - | |
| feat:svg2/use-media-queries-in-shadow-scope | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#UseStyleInheritance | Media queries in a shadow tree's scope are evaluated against the light document's device features. | n/a | No media query evaluation exists (attr:media@style). | none | - | - | Depends on media query support, which is missing as a whole. |
| feat:svg2/use-visibility-hidden | conformant-untested | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#UseStyleInheritance | visibility: hidden on use is only inherited; instances that set visibility: visible still render. | n/a | visibility is an inherited property resolved per instance (donner/svg/components/style/StyleSystem.cc:867-869); the render traversal keeps traversing a hidden container and decides visibility per drawn instance (donner/svg/renderer/RenderingContext.cc:509-511). | none found for the use case (search for visibility together with <use in tests). | low | S | By code reading. Add the CR example as a test. |
| feat:svg2/use-display-none | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#Rendered-vs-NonRendered | display: none on the use hides all instances; display: none on the referenced element is carried to its instance. | n/a | donner/svg/renderer/RenderingContext.cc:442-444 on the use and on the instance root (whose own declarations come from the source element). | resvg third_party/resvg-test-suite/tests/structure/use/display-inheritance.svg. | - | - | |
| feat:svg2/use-animations-in-shadow-tree | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#UseAnimations | Declarative animations that apply to an element in the referenced subtree also apply to its instances, in the host document's timeline. | n/a | Animated values live on the source entity and are applied when styling each instance (donner/svg/components/style/StyleSystem.cc:847, ApplyAnimatedStyle with the data entity), so every instance shows the animation. | donner/svg/renderer/tests/RendererAnimationPresentation_tests.cc:1186 (AnimatedUsePreservesSecureModesAndLoaderDenial); donner/svg/renderer/tests/RendererPublicApi_tests.cc:987, :1011 (animated inherit through external use). | - | - | Per-instance, event-triggered animation semantics need interaction events and are not applicable. Full animation semantics are in animation.md. |
| feat:svg2/use-event-handling | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#UseEventHandling | Events on instances are retargeted to the use; listeners on source elements also listen on instances. | n/a | No DOM event dispatch to script listeners exists. | none | - | - | Scripting and interaction requirement. |
| feat:svg2/use-svg-target-sizing | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#UseLayout | When the referenced element is an svg, it is instantiated as a nested viewport: its x, y, width, height (width and height overridable by the use), viewBox and preserveAspectRatio apply. | n/a | donner/svg/components/layout/LayoutSystem.cc:978-984 (svg targets accepted), donner/svg/components/layout/LayoutSystem.cc:414-452 (viewBox mapping for the instance root). | resvg third_party/resvg-test-suite/tests/structure/use/xlink-to-svg-element.svg, xlink-to-svg-element-with-rect.svg, xlink-to-svg-element-with-rect-only-width.svg, xlink-to-svg-element-with-viewBox.svg, xlink-to-svg-element-with-width-height-on-use.svg, xlink-to-svg-element-with-x-y-on-use.svg, nested-xlink-to-svg-element-with-rect-and-size.svg (all unskipped). | - | - | |
| Key | Class | Spec anchor | Requirement (paraphrase) | Parse evidence | Consume evidence | Tests | Impact | Size | Notes |
| feat:svg2/switch-first-true-child | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SwitchElement | switch renders the first direct child whose requiredExtensions and systemLanguage evaluate to true and bypasses all others; a child without those attributes is true. | n/a | donner/svg/renderer/RenderingContext.cc:767-788: children are scored in document order; an unconditional eligible child ends the scan. | donner/svg/tests/SVGSwitchElement_tests.cc:103 (RendersOnlyFirstMatchingChild), :120, :383 (no valid child renders nothing); resvg third_party/resvg-test-suite/tests/structure/switch/simple-case.svg, single-child.svg, comment-as-first-child.svg, with-attributes.svg. | - | - | |
| feat:svg2/switch-allowreorder-language-priority | spec-ambiguity | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SwitchElement | When evaluating systemLanguage, the order of evaluation of the children must be as if SMIL allowReorder were always 'yes' (the user agent may pick the best language match rather than the first). | n/a | donner/svg/renderer/RenderingContext.cc:773-785: among language-conditioned children that precede the first unconditional child, the one matching the user's highest-priority language wins; ties go to document order. | donner/svg/tests/SVGSwitchElement_tests.cc:453 (SystemLanguageHonorsUserLanguagePriority), :470, :488, :510, :529; resvg third_party/resvg-test-suite/tests/structure/switch/systemLanguage*.svg (6 cases). | low | - | The CR is internally inconsistent: the normative sentence requires allowReorder=yes semantics, while the element summary and the informative examples in 5.6.5 say the first matching child in document order is rendered. Donner implements the normative reorder rule. With a single user language (the default en) both readings give the same result, which is why all resvg cases pass. Browsers implement first-match. |
| feat:svg2/switch-display-visibility-no-effect | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SwitchElement | display and visibility on a child do not affect which child switch selects; a selected display: none child renders nothing. | n/a | donner/svg/renderer/RenderingContext.cc:199-224 never reads style. | donner/svg/tests/SVGSwitchElement_tests.cc:279 (DisplayNoneChildStillSelected); resvg third_party/resvg-test-suite/tests/structure/switch/display-none-on-child.svg. | - | - | |
| feat:svg2/switch-eligible-children | divergent | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SwitchElement | Every direct child element takes part in the selection, including foreignObject (the content model is animation elements, shapes, a, foreignObject, g, image, svg, switch, text, use). | n/a | donner/svg/renderer/RenderingContext.cc:160-178: only a fixed list of rendered types is eligible; foreignObject, animation elements and unknown elements are skipped as if absent. | donner/svg/tests/SVGSwitchElement_tests.cc:262 (SkipsUnknownElementChild), :365 (SwitchSkipsNonRenderedChildTypes); resvg third_party/resvg-test-suite/tests/structure/switch/non-SVG-child.svg (a foreign-namespace child is skipped, which matches the reference). | low | S | Consequence: <switch><foreignObject>..</foreignObject><text>fallback</text></switch> without requiredExtensions renders the fallback in Donner, while the CR selects the foreignObject (and a user agent that cannot render it shows nothing). The Donner result is the friendlier one and equals what authors intend, but it is not what the text says. Skipping foreign-namespace elements is consistent with them not being part of the SVG fragment. |
| feat:svg2/switch-container-child-subtree | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SwitchElement | If the selected child is a container the whole subtree is rendered; bypassed children are not rendered at all. | n/a | donner/svg/renderer/RenderingContext.cc:716-740 traverses only the selected child (selectSwitchChild). | donner/svg/tests/SVGSwitchElement_tests.cc:296 (AppliesGroupAttributesToSelectedChild), :403 (NestedSwitch). | - | - | |
| feat:svg2/switch-does-not-affect-style-script | conformant-untested | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#SwitchElement | switch and conditional processing attributes do not affect the processing of style and script elements. | n/a | Style sheets are collected from every style element regardless of position or conditional attributes (donner/svg/components/style/StyleSystem.cc:689-704, donner/svg/components/style/StyleSystem.cc:68-79 has no conditional check). | none (no test places a style inside a switch or gives it a failing systemLanguage). | low | S | By code reading. |
| feat:svg2/conditional-outside-switch | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#ConditionalProcessingOverview | Outside a switch, a false conditional attribute acts as a simple switch: the element and its subtree are not rendered, as with display: none. | donner/svg/parser/AttributeParser.cc:376-399. | donner/svg/renderer/RenderingContext.cc:415-418; text content elements at donner/svg/components/text/TextSystem.cc:343-347. | donner/svg/tests/SVGSwitchElement_tests.cc:328 (ConditionalAttributesOutsideSwitchDisableRendering), :347; resvg third_party/resvg-test-suite/tests/structure/systemLanguage/on-svg.svg, on-tspan.svg, ru-Ru.svg. | - | - | |
| feat:svg2/conditional-does-not-block-references | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#ConditionalProcessingOverview | Conditional processing does not prevent an element from being referenced, and has no effect on never-rendered elements. | n/a | donner/svg/renderer/RenderingContext.cc:411-414 (comment and placement): the check sits in the render traversal only; reference resolution ignores it. | resvg third_party/resvg-test-suite/tests/structure/systemLanguage/on-defs.svg, on-clipPath.svg, on-linearGradient.svg (unskipped). | - | - | |
| feat:svg2/conditional-in-never-rendered-container | partial | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#ConditionalProcessingOverview | Conditional processing of children of a never-rendered container (pattern, mask, clipPath) decides whether that child contributes to the effect. | n/a | Mask, pattern and marker content goes through the normal traversal and is filtered (donner/svg/renderer/RenderingContext.cc:415-418). Clip path geometry collection uses PrepareClipGeometry (donner/svg/renderer/RenderingContext.cc:240-268), which checks type, visibility and display but not conditional attributes. | none for clip path children with a failing conditional attribute. | low | S | By code reading a clipPath child with a failing systemLanguage still contributes to the clip. Not executed. |
| feat:svg2/conditional-animation-elements | missing | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#ConditionalProcessingOverview | Conditional processing prevents animation elements from playing. | n/a | No conditional check in the animation system: the conditional-processing component and evaluation functions are not referenced anywhere under donner/svg/components/animation/ (search for ConditionalProcessing and EvaluateConditional). | none | low | S | An animate with a failing systemLanguage or requiredExtensions still runs, by code reading. Overlaps animation.md. |
| feat:svg2/conditional-systemlanguage-prefix-direction | spec-ambiguity | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#ConditionalProcessingSystemLanguageAttribute | The algorithm returns true when the user language is a prefix of the attribute tag followed by a hyphen. The informative example in the same section describes the opposite (a user preference zh-Hans-CN matching the tag zh-Hans). | n/a | donner/svg/components/ConditionalProcessingComponent.cc:67-79 implements the algorithm direction only. | donner/svg/components/tests/ConditionalProcessingComponent_tests.cc:43, :51. | low | - | Under the algorithm, user zh-Hans-CN does not match tag zh-Hans, contradicting the CR example. Donner follows the normative algorithm. Worth reporting upstream; no code change recommended until the CR is fixed. |
| feat:svg2/requiredfeatures-removed | legacy | https://www.w3.org/TR/2026/CR-SVG2-20261006/struct.html#ConditionalProcessingOverview | requiredFeatures was removed in SVG 2; it is no longer a conditional processing attribute. | donner/svg/components/ConditionalProcessingComponent.cc:13-15 still stores it. | donner/svg/components/ConditionalProcessingComponent.cc:96-98: never evaluated, always true. | donner/svg/components/tests/ConditionalProcessingComponent_tests.cc:106 (RequiredFeaturesIsIgnored); donner/svg/tests/SVGSwitchElement_tests.cc:185; resvg third_party/resvg-test-suite/tests/structure/switch/requiredFeatures.svg. | low | S | Net behavior equals the CR (the attribute has no effect). Only the storage is legacy. |
| Key | Class | Spec anchor | Requirement (paraphrase) | Parse evidence | Consume evidence | Tests | Impact | Size | Notes |
| feat:svg2/processing-mode-dynamic-interactive | partial | https://www.w3.org/TR/2026/CR-SVG2-20261006/conform.html#dynamic-interactive-mode | Dynamic interactive mode: script execution, external references, declarative animation and interactivity are all enabled. | donner/svg/core/ProcessingMode.h:18-22 (DynamicInteractive, the default at donner/svg/SVGDocument.h:846). | External resources through the host loader (donner/svg/components/resources/ResourceManagerContext.cc:524-551), animation (donner/svg/components/animation/AnimationSystem.cc:1030-1036), host-driven event dispatch for animation timing (donner/svg/SVGDocument.cc:840-850). No script execution in any mode (donner/svg/core/ProcessingMode.h:13-16). | donner/svg/renderer/tests/RendererAnimationPresentation_tests.cc:1166, :1186 (mode matrix). | low | XL | Everything except script. A user agent without a script engine can never offer this mode in full; the CR allows user agents to support a subset of modes, so this is a statement of capability more than a defect. |
| feat:svg2/processing-mode-animated | missing | https://www.w3.org/TR/2026/CR-SVG2-20261006/conform.html#animated-mode | Animated mode: external references and declarative animation enabled; script and interactivity disabled. | No such enumerator (donner/svg/core/ProcessingMode.h:18-28 has DynamicInteractive, SecureAnimated, SecureStatic). | None. The nearest configuration is DynamicInteractive, which additionally accepts host event dispatch. | none | low | S | A host that wants 'animated image that may load external files, no interaction' has no exact setting; it can get it by using DynamicInteractive and not dispatching events. |
| feat:svg2/processing-mode-secure-animated | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/conform.html#secure-animated-mode | Secure animated mode: declarative animation enabled; script, external references and interactivity disabled. | donner/svg/core/ProcessingMode.h:23-25. | External loading refused (donner/svg/components/resources/ResourceManagerContext.cc:442-445, :524-531, :568-572); animation runs; host event dispatch and host-scheduled begin/end rejected (donner/svg/SVGDocument.cc:846-847, :952-953). | donner/svg/renderer/tests/CssImport_tests.cc:292 (SecureModesNeverFetchExternalImports); donner/svg/renderer/tests/RendererAnimationPresentation_tests.cc:1166, :1186, :1354; donner/svg/renderer/tests/RendererPublicApi_tests.cc:512. | - | - | |
| feat:svg2/processing-mode-static | missing | https://www.w3.org/TR/2026/CR-SVG2-20261006/conform.html#static-mode | Static mode: external references enabled; script, declarative animation and interactivity disabled. | No such enumerator (donner/svg/core/ProcessingMode.h:18-28). | None. A host can approximate it with DynamicInteractive and never advancing time, but animations that begin at 0s still apply, which the CR explicitly distinguishes from 'animation disabled'. | none | low | S | This is the mode a print or thumbnail pipeline wants when files reference external images or fonts: today the choice is external resources with animation, or no animation without external resources. |
| feat:svg2/processing-mode-secure-static | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/conform.html#secure-static-mode | Secure static mode: script, external references, declarative animation and interactivity all disabled. | donner/svg/core/ProcessingMode.h:26-27. | External loading refused as in secure animated; animated values never apply (donner/svg/components/animation/AnimationSystem.cc:1030-1034, donner/svg/SVGDocument.cc:985-988). | donner/svg/renderer/tests/RendererAnimation_tests.cc:386 (SecureStaticDoesNotEvaluateAnimation); donner/svg/parser/tests/SVGParser_tests.cc:1144 (SecureStaticModeParsesDataSubDocuments); donner/svg/renderer/tests/RendererPublicApi_tests.cc:565, :1089. | - | - | |
| feat:svg2/feature-declarative-animation-disabled | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/conform.html#features | When declarative animation is disabled no animation is applied at all, including animations that begin at 0s (different from pausing at 0s). | n/a | donner/svg/components/animation/AnimationSystem.cc:1030-1034 clears animated values and returns before sampling. | donner/svg/renderer/tests/RendererAnimation_tests.cc:386; donner/svg/renderer/tests/RendererPublicApi_tests.cc:1089 (ExternalUseDefaultSecureStaticPreservesAnimationBase). | - | - | CSS transitions and animations are not implemented at all. |
| feat:svg2/feature-external-references-disabled | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/conform.html#features | When external references are disabled, any fetch through an external reference behaves as a network error; same-document references and data: URLs are not external and keep working. | n/a | donner/svg/components/resources/ResourceManagerContext.cc:442-445 (CSS imports), :524-531 (images load only from data URLs through a null loader), :568-572 (external SVG), :766-770 (already-loaded external images are hidden). | donner/svg/renderer/tests/CssImport_tests.cc:292; donner/svg/renderer/tests/RendererPublicApi_tests.cc:512 (SecureDataImagesRenderThroughNestedSvgDocuments), :615; donner/svg/renderer/tests/RendererAnimationPresentation_tests.cc:1166. | - | - | |
| feat:svg2/feature-script-execution-disabled | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/conform.html#features | When script execution is disabled, no script in the document runs: script elements, event attributes, or script from other platform features. | script is an unknown element; event attributes are plain strings. | No script engine exists (donner/svg/core/ProcessingMode.h:13-16). | donner/svg/parser/tests/SVGParser_tests.cc:720 (BrowserActiveMarkupIsInertInProjectionButRetainedInSource). | - | - | |
| feat:svg2/feature-interaction-disabled | conformant-untested | https://www.w3.org/TR/2026/CR-SVG2-20261006/conform.html#features | When interaction is disabled, user input has no effect on the document (no events, focus changes, link traversal or input-triggered animation). | n/a | The library has no input path of its own; the only input-like entry point is host event dispatch for animation timing, which is refused outside DynamicInteractive (donner/svg/SVGDocument.cc:846-847). | The refusal is exercised by the animation event tests listed in animation.md; none was identified by name here. | low | S | Hit testing through the host-facing hit-test API remains available in every mode; it reports geometry and does not change the document. |
| feat:svg2/referencing-mode-image | divergent | https://www.w3.org/TR/2026/CR-SVG2-20261006/conform.html#image-document-mode | An SVG referenced by image is processed in secure animated mode when the embedding document supports declarative animation, otherwise in secure static mode. | n/a | donner/svg/parser/SVGParser.cc:994-1009: sub-documents are always parsed with ProcessingMode::SecureStatic unless the host installs its own parse callback (documented at donner/svg/core/ProcessingMode.h:11-15). | donner/svg/renderer/tests/RendererPublicApi_tests.cc:565 (SecureDataSvgDoesNotExecuteExperimentalAnimation) pins the static behavior. | low | M | Donner supports declarative animation, so the CR calls for secure animated mode here: an animated SVG used as an image should animate. The security half (no external references, no script) is conformant. Overlaps paint_servers_markers_images.md. |
| feat:svg2/referencing-mode-use-and-href | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/conform.html#template-document-mode | Documents loaded through use references or paint server cross-references are processed in secure static mode; cloned instances may animate in the host document's timeline. | n/a | donner/svg/components/resources/ResourceManagerContext.cc:556-618 parses through the same default callback (donner/svg/parser/SVGParser.cc:994-1009, SecureStatic). | donner/svg/components/resources/tests/SubDocumentCache_tests.cc (11 mode assertions); donner/svg/renderer/tests/RendererPublicApi_tests.cc:1089. | - | - | |
| feat:svg2/referencing-mode-graphical-effects | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/conform.html#resource-document-mode | Documents loaded through style property references that target elements in another document (external mask, clip path, filter, marker, paint server) are processed in secure static mode. | n/a | url() references resolve only same-document fragments (donner/svg/graph/Reference.cc:98-107 returns nothing for non-fragment hrefs); external element references from properties are not loaded at all. | none | - | - | The mode question does not arise because the references themselves are unsupported; that gap belongs to painting_properties.md and clipping_masking.md. |
| feat:svg2/referencing-mode-inline-and-foreignobject | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/conform.html#referencing-modes | Inline SVG fragments use the host document's processing mode; SVG inside foreignObject uses the surrounding SVG document's mode. | n/a | No HTML host and no foreignObject content rendering. | none | - | - | Requires an HTML host or foreignObject support. |
| feat:svg2/resource-fetch-cors | not-applicable | https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#processingURL-fetch | External fetches use CORS-enabled requests: crossorigin state for image and script, anonymous for style properties, no-cors otherwise; errors or empty responses make the reference invalid. | n/a | All fetching goes through an embedder-supplied ResourceLoaderInterface (donner/svg/resources/ResourceLoaderInterface.h); the library has no HTTP client, origins or CORS state. Loader errors make the reference invalid with a warning (donner/svg/components/resources/ResourceManagerContext.cc:604-615). | none | - | - | Network policy is the embedder's responsibility. The 'error means invalid reference' half is implemented. |
| feat:svg2/url-same-document-detection | partial | https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#processingURL-absolute | After making a URL absolute, compare everything except the fragment with the document URL: equal means a same-document reference, whatever the textual form. | n/a | donner/svg/graph/Reference.cc:33-50: a reference is same-document only when the string starts with #. The document has no URL of its own, so drawing.svg#icon written inside drawing.svg is treated as an external load of the same file. | none for the absolute-form case; fragment-only references are covered by resvg third_party/resvg-test-suite/tests/structure/use/*.svg. | low | S | Result for that form: a second parse of the same file in secure static mode (so the instance loses animation and live updates) instead of a same-document reference. Needs an optional document URL in the document settings. |
| feat:svg2/url-xml-base | missing | https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#processingURL-absolute | Relative URLs in non-presentation attributes of XML documents are resolved using xml:base. | xml:base is retained as a prefixed XML attribute and not interpreted (search for xml:base and a quoted base attribute name under donner finds nothing). | Relative hrefs are handed to the resource loader unchanged (donner/svg/renderer/RenderingContext.cc:1603-1604). | none | low | S | Rare in SVG content. |
| feat:svg2/url-invalid-reference-when-target-missing | conformant | https://www.w3.org/TR/2026/CR-SVG2-20261006/linking.html#processingURL-target | If no element matches the fragment and the document is immutable (any non-dynamic mode, or fully parsed external document), the reference is invalid. | n/a | donner/svg/renderer/RenderingContext.cc:1608-1612 (same document) and the external path record a warning and render nothing; resolution is retried on the next render-tree build after a mutation. | donner/svg/components/shadow/tests/ShadowTreeSystem_tests.cc:162; donner/svg/renderer/tests/RendererPublicApi_tests.cc:1270. | - | - | |
Each bullet names a behavior with no test anywhere in the checkout.