Donner SVG main
0.8.0 ยท 766e862a0.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
Color, compositing and the rendering model

Part of the W3C specification audit. One row per element, attribute, property, value and feature in scope. Findings come from reading Donner source at revision b39a524a2 and the specification versions listed below. No code was built or executed for this ledger, so every behavioral claim is a code-reading result until a test confirms it. All paths are relative to the repository root.

Scope: CSS Color 4, CSS Color 5, Compositing and Blending 1, the parts of CSS Images 3 that SVG uses, the SVG 2 CR rendering model chapter, and the raster image requirements the CR places on viewers. Donner revision b39a524a2. Every behavioral claim is a code-reading result: nothing was built or run. All Donner paths are relative to the checkout root. Where the two renderers differ the row says so; "tiny-skia" is the CPU renderer and "Geode" the GPU renderer.

Specs read

Spec Level Maturity Dated URL read
SVG 2, Rendering Model 2 CR Snapshot, 06 October 2026 https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html
SVG 2, Conformance (viewer requirements) 2 CR Snapshot, 06 October 2026 https://www.w3.org/TR/2026/CR-SVG2-20261006/conform.html
SVG 2, Embedded Content (image element) 2 CR Snapshot, 06 October 2026 https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html
SVG 2, Painting (image-rendering, color-interpolation only) 2 CR Snapshot, 06 October 2026 https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html
SVG 2, Paint Servers (searched for interpolation text only) 2 CR Snapshot, 06 October 2026 https://www.w3.org/TR/2026/CR-SVG2-20261006/pservers.html
SVG 2, References 2 CR Snapshot, 06 October 2026 https://www.w3.org/TR/2026/CR-SVG2-20261006/refs.html
CSS Color 4 Candidate Recommendation Draft https://www.w3.org/TR/2026/CRD-css-color-4-20261112/
CSS Color 5 Working Draft https://www.w3.org/TR/2026/WD-css-color-5-20261114/
Compositing and Blending 1 Candidate Recommendation Draft https://www.w3.org/TR/2024/CRD-compositing-1-20240321/
CSS Images 3 Candidate Recommendation Draft https://www.w3.org/TR/2023/CRD-css-images-3-20231218/
PNG (Second Edition), the edition refs.html cites 2nd ed. Recommendation, 10 November 2003 https://www.w3.org/TR/2003/REC-PNG-20031110/
JPEG File Interchange Format, cited by refs.html 1.02 not a W3C TR (PDF) https://www.w3.org/Graphics/JPEG/jfif3.pdf

The CR's normative color reference is CSS Color 3; CSS Color 4 is the latest published TR and is the baseline here. CSS Color 5 is a Working Draft, so its rows describe a moving target. The CR cites the 2003 PNG edition, which has no APNG, cICP or other Third Edition features.

Inventory

How the inventory was derived:

  • CSS Color 4: the table of contents (sections 3 to 17 and both appendices), the two property definition tables (color, opacity), every grammar production block in the page (<color>, <alpha-value>, <hue>, rgb(), hsl(), hwb(), lab(), lch(), oklab(), oklch(), color(), the color space and hue interpolation productions), the named color table (148 rows, extracted and diffed by script), the 19 system color definitions and the 23 deprecated ones. Each grammar alternative, each predefined color space and each system color is a row; named colors are one grouped row backed by the scripted diff. device-cmyk() is not defined by this level and appears under Color 5.
  • CSS Color 5: the table of contents and all grammar blocks: color-mix() (one row per interpolation color space and per hue method), relative color syntax (one row per function), alpha(), custom color spaces and @color-profile, device-cmyk(), light-dark(), contrast-color().
  • Compositing and Blending 1: the three property tables, the 16 <blend-mode> values, every Porter-Duff operator in section 9.1, and the prose rules of sections 3.1 to 3.3, 5 to 8 and 10. plus-lighter and plus-darker occur in the published page only inside linked test names, and knockout was removed, so those are recorded as not-applicable.
  • CSS Images 3: the <image> and <gradient> productions, image-rendering, object-fit, object-position and image-orientation with their values. Out of scope for an SVG user agent: image-set and cross-fade (Level 4), layout of replaced elements in CSS boxes, and gradients as paint (SVG paint is <paint>, not <image>).
  • SVG 2 render chapter: one row per rule or table line of sections 3.1 to 3.11 (definitions, the five non-rendered situations, display and visibility sentences, each stacking-context condition, the group rendering steps, each line of the overflow table).
  • Raster formats: the viewer requirements in conform.html and the image element text in embedded.html, expanded into the PNG and JPEG decoder features that decide whether a valid file renders correctly.

Out of scope for a scriptless SVG user agent, and therefore not-applicable rows rather than gaps: CSS serialization and CSSOM interfaces, the Canvas 2D compositing API, HTML-only stacking and style rules, print color workflows, and forced-colors and color-scheme behavior.

Row keys by group:

  • CSS Color 4: the color and opacity properties (sections 3.2 to 3.5) (14 rows): prop:color, feat:css-color-4/color-property-hsl-storage, feat:css-color-4/non-rgba-storage-paths, val:color/initial-value, val:color/currentcolor-on-color, feat:css-color-4/currentcolor-elsewhere, prop:opacity, val:opacity/number, val:opacity/percentage, feat:css-color-4/opacity-out-of-range, feat:css-color-4/opacity-offscreen-group, feat:css-color-4/opacity-multiply-rounding, feat:css-color-4/tagged-images, feat:css-color-4/untagged-colors-srgb
  • CSS Color 4: the <color> type, hex, named and system colors (sections 4, 5.2, 6) (33 rows): feat:css-color-4/color-type-grammar, val:color/hex-3-digit, val:color/hex-4-digit, val:color/hex-6-digit, val:color/hex-8-digit, feat:css-color-4/hex-invalid-forms, val:color/named-colors, val:color/transparent, val:color/currentcolor, val:color/AccentColor, val:color/AccentColorText, val:color/ActiveText, val:color/ButtonBorder, val:color/ButtonFace, val:color/ButtonText, val:color/Canvas, val:color/CanvasText, val:color/Field, val:color/FieldText, val:color/GrayText, val:color/Highlight, val:color/HighlightText, val:color/LinkText, val:color/Mark, val:color/MarkText, val:color/SelectedItem, val:color/SelectedItemText, val:color/VisitedText, val:color/deprecated-system-colors, feat:css-color-4/quirky-hex-colors, feat:css-color-4/color-keyword-case-insensitivity, feat:css-color-4/color-parse-error-handling, feat:css-color-4/parse-a-css-color-value
  • CSS Color 4: rgb(), rgba(), <alpha-value>, <hue>, none (sections 4.1 to 4.4, 5.1) (25 rows): val:color/rgb()-legacy-numbers, val:color/rgb()-legacy-percentages, val:color/rgb()-legacy-fourth-argument, val:color/rgba()-legacy, feat:css-color-4/legacy-syntax-no-mixing, val:color/rgb()-modern, val:color/rgba()-modern, val:color/rgb()-modern-mixed-number-percentage, val:color/rgb()-none, feat:css-color-4/rgb-clamping, feat:css-color-4/rgb-channel-precision, feat:css-color-4/math-functions-in-color-components, val:alpha-value/number, val:alpha-value/percentage, val:alpha-value/none, feat:css-color-4/alpha-clamp-and-default, val:hue/number, val:hue/angle-deg, val:hue/angle-grad, val:hue/angle-rad, val:hue/angle-turn, val:hue/none, feat:css-color-4/hue-normalization, feat:css-color-4/missing-components, feat:css-color-4/powerless-components
  • CSS Color 4: hsl(), hsla(), hwb() (sections 7, 8) (12 rows): val:color/hsl()-legacy, val:color/hsla()-legacy, val:color/hsl()-modern-percentages, val:color/hsl()-modern-numbers, val:color/hsl()-none, feat:css-color-4/hsl-saturation-lightness-clamping, feat:css-color-4/hsl-to-srgb, feat:css-color-4/srgb-to-hsl, val:color/hwb(), feat:css-color-4/hwb-to-srgb, feat:css-color-4/hwb-no-legacy-syntax, feat:css-color-4/srgb-to-hwb
  • CSS Color 4: lab(), lch(), oklab(), oklch(), color() (sections 9, 10) (22 rows): val:color/lab(), feat:css-color-4/lab-lightness-clamp, feat:css-color-4/lab-a-b-percent-range, val:color/lch(), feat:css-color-4/lch-chroma-clamp, feat:css-color-4/lab-lch-to-srgb-conversion, feat:css-color-4/lab-lch-alpha-precision, val:color/oklab(), val:color/oklch(), feat:css-color-4/lab-to-lch-and-back, val:color/color(), val:color/color()-srgb, val:color/color()-srgb-linear, val:color/color()-display-p3, val:color/color()-display-p3-linear, val:color/color()-a98-rgb, val:color/color()-prophoto-rgb, val:color/color()-rec2020, val:color/color()-xyz, val:color/color()-xyz-d50, val:color/color()-xyz-d65, feat:css-color-4/color()-invalid-space
  • CSS Color 4: conversion, interpolation, gamut mapping, resolving, serializing (sections 10.10 to 17) (19 rows): feat:css-color-4/simple-alpha-compositing, feat:css-color-4/color-conversion-algorithm, feat:css-color-4/comparing-color-values, feat:css-color-4/interpolation-color-space, feat:css-color-4/interpolation-with-missing-components, feat:css-color-4/interpolation-premultiplied-alpha, feat:css-color-4/hue-interpolation-shorter, feat:css-color-4/hue-interpolation-longer, feat:css-color-4/hue-interpolation-increasing, feat:css-color-4/hue-interpolation-decreasing, feat:css-color-4/gamut-mapping, feat:css-color-4/resolving-srgb-values, feat:css-color-4/resolving-lab-lch-values, feat:css-color-4/resolving-oklab-oklch-values, feat:css-color-4/resolving-color-function-values, feat:css-color-4/serializing-colors, feat:css-color-4/default-style-rules, feat:css-color-4/color-difference-formulae, feat:css-color-4/accessibility-and-system-contrast
  • CSS Color 5 (Working Draft): color-mix(), relative colors, color profiles, device-cmyk(), light-dark(), contrast-color() (45 rows): feat:css-color-5/color-mix(), feat:css-color-5/color-mix-default-space, feat:css-color-5/color-mix-percentage-normalization, feat:css-color-5/color-mix-result-and-alpha, val:color-mix/in-srgb, val:color-mix/in-srgb-linear, val:color-mix/in-display-p3, val:color-mix/in-display-p3-linear, val:color-mix/in-a98-rgb, val:color-mix/in-prophoto-rgb, val:color-mix/in-rec2020, val:color-mix/in-lab, val:color-mix/in-oklab, val:color-mix/in-xyz, val:color-mix/in-xyz-d50, val:color-mix/in-xyz-d65, val:color-mix/in-hsl, val:color-mix/in-hwb, val:color-mix/in-lch, val:color-mix/in-oklch, val:color-mix/shorter-hue, val:color-mix/longer-hue, val:color-mix/increasing-hue, val:color-mix/decreasing-hue, feat:css-color-5/relative-color-processing-model, val:relative-color/rgb(), val:relative-color/hsl(), val:relative-color/hwb(), val:relative-color/lab(), val:relative-color/oklab(), val:relative-color/lch(), val:relative-color/oklch(), val:relative-color/alpha(), val:relative-color/color(), feat:css-color-5/custom-color-spaces, feat:css-color-5/at-color-profile, feat:css-color-5/calibrated-cmyk-conversion, val:color/device-cmyk()-legacy, val:color/device-cmyk()-modern, feat:css-color-5/device-cmyk-naive-conversion, val:color/light-dark(), feat:css-color-5/light-dark-image-form, val:color/contrast-color(), feat:css-color-5/resolving-and-serializing, feat:css-color-5/csscolorprofilerule-interface
  • Compositing and Blending 1: mix-blend-mode, isolation, background-blend-mode (section 3.4, 10) (26 rows): prop:mix-blend-mode, val:mix-blend-mode/normal, val:mix-blend-mode/multiply, val:mix-blend-mode/screen, val:mix-blend-mode/overlay, val:mix-blend-mode/darken, val:mix-blend-mode/lighten, val:mix-blend-mode/color-dodge, val:mix-blend-mode/color-burn, val:mix-blend-mode/hard-light, val:mix-blend-mode/soft-light, val:mix-blend-mode/difference, val:mix-blend-mode/exclusion, val:mix-blend-mode/hue, val:mix-blend-mode/saturation, val:mix-blend-mode/color, val:mix-blend-mode/luminosity, val:mix-blend-mode/plus-lighter, val:mix-blend-mode/plus-darker, feat:compositing-1/blend-non-separable-helpers, feat:compositing-1/blend-formula-with-backdrop-alpha, feat:compositing-1/mix-blend-mode-creates-isolated-group, prop:isolation, val:isolation/auto, val:isolation/isolate, prop:background-blend-mode
  • Compositing and Blending 1: order, groups, isolation, backdrop (sections 3.1 to 3.3, 5 to 8, 10.3) (23 rows): feat:compositing-1/order-of-operations, feat:compositing-1/svg-default-non-isolated-group, feat:compositing-1/isolation-trigger-opacity, feat:compositing-1/isolation-trigger-filters, feat:compositing-1/isolation-trigger-3d-transforms, feat:compositing-1/2d-transforms-do-not-isolate, feat:compositing-1/isolation-trigger-blending, feat:compositing-1/isolation-trigger-masking, feat:compositing-1/clip-path-does-not-isolate, feat:compositing-1/simple-alpha-compositing, feat:compositing-1/general-formula, feat:compositing-1/backdrop-definition, feat:compositing-1/group-invariance, feat:compositing-1/isolated-group-initial-backdrop, feat:compositing-1/effect-of-isolation-on-blending, feat:compositing-1/root-element-group, feat:compositing-1/root-group, feat:compositing-1/image-content-is-isolated, feat:compositing-1/blend-fallback-on-non-copyable-target, feat:compositing-1/blending-color-space, feat:compositing-1/knockout-groups, feat:compositing-1/canvas-2d-globalcompositeoperation, feat:compositing-1/html-stacking-context-rule
  • Compositing and Blending 1: Porter-Duff operators (section 9) (14 rows): feat:compositing-1/porter-duff-source-over, feat:compositing-1/porter-duff-clear, feat:compositing-1/porter-duff-copy, feat:compositing-1/porter-duff-destination, feat:compositing-1/porter-duff-destination-over, feat:compositing-1/porter-duff-source-in, feat:compositing-1/porter-duff-destination-in, feat:compositing-1/porter-duff-source-out, feat:compositing-1/porter-duff-destination-out, feat:compositing-1/porter-duff-source-atop, feat:compositing-1/porter-duff-destination-atop, feat:compositing-1/porter-duff-xor, feat:compositing-1/porter-duff-lighter, feat:compositing-1/group-compositing-with-porter-duff
  • CSS Images 3 as used by SVG: image values, image-rendering, object-fit, image-orientation (24 rows): feat:css-images-3/image-type-url, feat:css-images-3/linear-gradient(), feat:css-images-3/radial-gradient(), feat:css-images-3/repeating-linear-gradient(), feat:css-images-3/repeating-radial-gradient(), feat:css-images-3/color-stop-list, feat:css-images-3/default-sizing-algorithm, prop:image-rendering, val:image-rendering/auto, val:image-rendering/smooth, val:image-rendering/high-quality, val:image-rendering/pixelated, val:image-rendering/crisp-edges, val:image-rendering/optimizeSpeed, val:image-rendering/optimizeQuality, feat:svg2-painting/image-resampling-color-space, prop:object-fit, val:object-fit/fill, val:object-fit/contain, val:object-fit/cover, val:object-fit/none, val:object-fit/scale-down, prop:object-position, prop:image-orientation
  • SVG 2 render chapter: rendering tree, display and visibility (sections 3.1, 3.2) (22 rows): feat:svg2-render/conformance-deviation, feat:svg2-render/never-rendered-elements, feat:svg2-render/renderable-elements, feat:svg2-render/not-rendered-never-rendered-types, feat:svg2-render/not-rendered-conditional-processing, feat:svg2-render/not-rendered-display-none, feat:svg2-render/not-rendered-detached, feat:svg2-render/not-rendered-descendants, feat:svg2-render/non-rendered-side-effects, val:display/none, val:display/other-values, feat:svg2-render/display-not-inherited, feat:svg2-render/display-none-on-never-rendered, feat:svg2-render/display-none-still-referenceable, val:visibility/hidden, val:visibility/collapse, val:visibility/visible, feat:svg2-render/visibility-inherited-not-on-containers, feat:svg2-render/reused-graphics-shadow-tree, feat:svg2-render/use-is-non-isolated-group, feat:svg2-render/graphical-effects-are-isolated, feat:svg2-render/display-inside-graphical-effects
  • SVG 2 render chapter: painters model, order, stacking contexts, groups, opacity (sections 3.3 to 3.9) (31 rows): feat:svg2-render/painters-model, feat:svg2-render/document-order, feat:svg2-render/stacking-context-document-element, feat:svg2-render/stacking-context-outermost-svg, feat:svg2-render/stacking-context-foreignObject, feat:svg2-render/stacking-context-image, feat:svg2-render/stacking-context-marker, feat:svg2-render/stacking-context-mask-element, feat:svg2-render/stacking-context-pattern, feat:svg2-render/stacking-context-symbol, feat:svg2-render/stacking-context-use, feat:svg2-render/stacking-context-inner-svg-overflow, feat:svg2-render/stacking-context-clip-property, feat:svg2-render/stacking-context-clip-path-property, feat:svg2-render/stacking-context-opacity-property, feat:svg2-render/stacking-context-mask-property, feat:svg2-render/stacking-context-filter-property, feat:svg2-render/stacking-context-other-specification-properties, feat:svg2-render/element-is-non-isolated-group, feat:svg2-render/group-rendering-isolated, feat:svg2-render/group-rendering-non-isolated, feat:svg2-render/effects-make-group-isolated, feat:svg2-render/effect-order, feat:svg2-render/group-opacity, feat:svg2-render/opacity-applies-to, feat:svg2-render/fill-stroke-stop-opacity-are-intermediate, feat:svg2-render/markers-painted-with-shape, feat:svg2-render/raster-resampling, feat:svg2-render/animated-images-synchronised, feat:svg2-render/filtering-painted-regions, feat:svg2-render/clipping-and-masking
  • SVG 2 render chapter: parent compositing, canvas, color space, overflow (sections 3.10, 3.11) (21 rows): feat:svg2-render/svg-element-is-isolated-group, feat:svg2-render/standalone-document-white-backdrop, feat:svg2-render/embedded-opacity-preserved, feat:svg2-render/test-harness-backdrop, feat:svg2-render/premultiplied-alpha-pipeline, feat:svg2-render/compositing-color-space, feat:svg2-render/overflow-root-svg, feat:svg2-render/overflow-nested-svg, feat:svg2-render/overflow-text, feat:svg2-render/overflow-pattern, feat:svg2-render/overflow-marker, feat:svg2-render/overflow-symbol, feat:svg2-render/overflow-image, feat:svg2-render/overflow-foreignObject, val:overflow/visible, val:overflow/hidden, val:overflow/scroll, val:overflow/auto, feat:svg2-render/overflow-ua-stylesheet, feat:svg2-render/overflow-initial-value, feat:svg2-render/initial-clipping-path
  • Raster image requirements of the CR (conform.html, embedded.html) checked against the image decoder (20 rows): feat:svg2-conform/png-support, feat:svg2-conform/jpeg-support, feat:svg2-embedded/rgb-image-to-rgba, feat:svg2-embedded/grayscale-image-to-rgba, feat:svg2-conform/srgb-accuracy, feat:png/color-types, feat:png/bit-depths, feat:png/transparency-trns, feat:png/interlace-adam7, feat:png/gamma-gama, feat:png/color-profile-iccp-srgb, feat:png/crc-and-ancillary-chunks, feat:png/apng, feat:jpeg/baseline, feat:jpeg/progressive, feat:jpeg/cmyk-ycck, feat:jpeg/arithmetic-12bit-lossless, feat:jpeg/exif-orientation-and-icc, feat:image-formats/gif, feat:image-formats/decode-limits

Matrix

CSS Color 4: the color and opacity properties (sections 3.2 to 3.5)

Key Class Spec anchor Requirement (paraphrase) Parse evidence Consume evidence Tests Impact Size Notes
prop:color partial https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#propdef-color Value is any <color>; initial CanvasText; applies to all elements; inherited; computed value is the computed color. donner/svg/properties/PropertyRegistry.cc:2541-2560 (ColorParser::Parse, then currentcolor becomes inherit); presentation attribute list donner/svg/properties/PropertyRegistry.cc:2444 donner/svg/properties/PropertyRegistry.h:158-159 (inherited cascade, initial opaque black); consumers donner/svg/renderer/RendererDriver.cc:963, :1761, :1786, :3301 resvg painting/color/{inherit,simple-case,recursive-nested-context,recursive-nested-context-without-color}.svg (active on TinyGolden and GeodeGolden); PropertyRegistry_tests.cc:415 ParseColor medium M Works as attribute and as declaration, inherits, initial value is a UA-chosen black. Partial because the accepted <color> grammar is a subset (see the val:color rows) and because of the HSLA storage defect in the next row.
feat:css-color-4/color-property-hsl-storage divergent https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#resolving-sRGB-values hsl() and hsla() resolve to an sRGB color, usable wherever the color property is read. donner/svg/properties/PropertyRegistry.cc:2541-2550 stores the parser's HSLA alternative unconverted (donner/css/parser/ColorParser.cc:365-376) donner/svg/renderer/RendererDriver.cc:1761, :1786, :3301 call Color::rgba(), which is std::get<RGBA> (donner/css/Color.h:186); the renderers read paint.currentColor.rgba() at donner/svg/renderer/RendererTinySkia.cc:2996, :3097-3138, :3491, :3531 and donner/svg/renderer/RendererGeode.cc:3153, :5148, :5230, :7062, :7182, :7349 none (grep for hsl in donner/svg/renderer/tests and donner/svg/tests found nothing) high S A process abort, not a wrong color. color: hsl(...) is stored as the HSLA alternative and no later step converts it; the fill and stroke color resolution calls rgba() on the computed color unconditionally for every drawn element (donner/svg/renderer/RendererDriver.cc:1761, :1786), and rgba() is std::get<RGBA> (donner/css/Color.h:186), which on an HSLA value raises std::bad_variant_access (or terminates directly in a build without exceptions). It affects every drawn element that inherits the color, whether or not it uses currentColor. A fix is in review. By code reading only, not executed.
feat:css-color-4/non-rgba-storage-paths partial https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#resolving-color-values Every property that takes <color> must resolve any color syntax and currentcolor to a used color. donner/css/Color.h:126 (variant of RGBA, CurrentColor, HSLA); only hsl()/hsla() produce HSLA, only the currentcolor keyword produces CurrentColor (donner/css/parser/ColorParser.cc:170, :376) Safe (use Color::resolve or asRGBA, which convert HSLA): fill and stroke donner/svg/renderer/RendererDriver.cc:1765, :1792; gradient stops donner/svg/renderer/RendererTinySkia.cc:818, donner/svg/renderer/RendererGeode.cc:678, :834; text-decoration-color donner/svg/renderer/RendererDriver.cc:560-563; drop-shadow() donner/svg/renderer/RendererDriver.cc:1602; flood-color donner/svg/renderer/FilterGraphExecutor.cc:91, donner/svg/renderer/geode/GeodeFilterEngine.cc:677; lighting-color FilterGraphExecutor.cc:675, GeodeFilterEngine.cc:3025, :3097; animation donner/svg/components/animation/AnimationValueMath.cc:168. Unsafe: only the color property itself (previous row). donner/css/tests/Color_tests.cc:118 asRGBA, :149 Resolve; resvg painting/fill/hsl-*.svg, painting/fill/currentColor.svg (active on TinyGolden and GeodeGolden) low S Two residual paths, reachability unverified: (1) donner/svg/components/filter/FilterSystem.cc:232-246 and :249-290 resolve a currentcolor flood-color or lighting-color only when the primitive entity has a ComputedStyleComponent with properties; otherwise CurrentColor reaches Color::asRGBA, which release-asserts (donner/css/Color.cc:258-261). (2) donner/svg/tool/DonnerSvgTool.cc:305-311 rejects an hsl() –background because it tests hasRGBA().
val:color/initial-value conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#propdef-color Initial value is the system color CanvasText (UA-chosen). n/a (initial) donner/svg/properties/PropertyRegistry.h:158-159 (opaque black) resvg painting/fill/currentColor-without-parent.svg, painting/stroke/currentColor-without-a-parent.svg (active on TinyGolden and GeodeGolden) - - Black is a valid CanvasText for a light canvas; it does not respond to color-scheme (not required of this UA).
val:color/currentcolor-on-color conformant-untested https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#resolving-other-colors On the color property itself the used value of currentcolor is the inherited value. donner/svg/properties/PropertyRegistry.cc:2553-2559 (converted to PropertyState::Inherit) donner/svg/properties/PropertyRegistry.h:158 (inherit cascade) none found (PropertyRegistry_tests.cc ParseColor does not assert the inherit conversion; unverified whether a resvg case covers it) - - -
feat:css-color-4/currentcolor-elsewhere conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#currentcolor-color In any other property currentcolor computes to itself, inherits as a keyword, and is used as the color property of the same element. donner/css/Color.cc:167 (keyword table); paint keeps Solid(CurrentColor) (donner/svg/properties/PropertyRegistry.cc:1026-1029) donner/svg/renderer/RendererDriver.cc:963 (paint.currentColor from the element's own color), :1761-1765; stop-color donner/svg/components/paint/StopComponent.cc:89-93; flood-color and lighting-color donner/svg/components/filter/FilterSystem.cc:225-228, :284-287 resvg painting/fill/currentColor.svg, painting/fill/missing-FuncIRI-with-a-currentColor-fallback.svg, painting/color/recursive-nested-context.svg (active on TinyGolden and GeodeGolden); donner/svg/components/filter/tests/FilterSystem_tests.cc:107, :188, :504 - - -
prop:opacity conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#propdef-opacity Value <opacity-value>; initial 1; applies to all elements; not inherited; percentages map to [0,1]; computed value clamped to [0,1]. donner/svg/properties/PropertyRegistry.cc:2976-2984 with donner/svg/properties/PropertyParsing.cc:105-120 (ParseAlphaValue); presentation attribute donner/svg/properties/PropertyRegistry.cc:2476 donner/svg/properties/PropertyRegistry.h:184 (not inherited, initial 1); donner/svg/renderer/RendererDriver.cc:3352-3360; donner/svg/renderer/RenderingContext.cc:617-621 PropertyParsing_tests.cc:72-116 (ParseAlphaValue*); resvg painting/opacity/{50percent,clamp-value-1,clamp-value-2,group-opacity,mixed-group-opacity,invalid-value-2,on-the-root-svg}.svg (active on TinyGolden and GeodeGolden) - - Clamping happens at parse time; the specified value is not observable in Donner, so this is indistinguishable from computed-value clamping.
val:opacity/number conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#typedef-opacity-opacity-value <number> form, useful range 0 to 1. donner/svg/properties/PropertyParsing.cc:108-109 donner/svg/renderer/RendererDriver.cc:3352 PropertyParsing_tests.cc:72 ParseAlphaValueNumber; resvg painting/opacity/group-opacity.svg - - -
val:opacity/percentage conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#typedef-opacity-opacity-value <percentage> form, 0% to 0 and 100% to 1. donner/svg/properties/PropertyParsing.cc:110-111 donner/svg/renderer/RendererDriver.cc:3352 PropertyParsing_tests.cc:83 ParseAlphaValuePercentage; resvg painting/opacity/50percent.svg - - -
feat:css-color-4/opacity-out-of-range conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#transparency Values outside [0,1] are valid and are clamped in the computed value. donner/svg/properties/PropertyParsing.cc:109, :111 (Clamp) donner/svg/renderer/RendererDriver.cc:3352 PropertyParsing_tests.cc:94, :105; resvg painting/opacity/clamp-value-1.svg, clamp-value-2.svg - - -
feat:css-color-4/opacity-offscreen-group conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#transparency The element and its descendants are rendered to an offscreen image, which is then composited with the opacity applied uniformly. n/a donner/svg/renderer/RendererDriver.cc:3356-3360 (pushIsolatedLayer); donner/svg/renderer/RendererTinySkia.cc:1730-1762, :1764-1784; donner/svg/renderer/RendererGeode.cc:6229-6394 RendererDriver_tests.cc:746 EmitsIsolatedLayerForOpacity; resvg painting/opacity/group-opacity.svg, mixed-group-opacity.svg (active on TinyGolden and GeodeGolden) - - -
feat:css-color-4/opacity-multiply-rounding divergent https://www.w3.org/TR/2026/CR-SVG2-20261006/conform.html#ConformingSVGViewers sRGB color results must be accurate to within one 8-bit component value; applying fill-opacity, stroke-opacity or stop-opacity to an 8-bit alpha should round. n/a donner/css/Color.cc:266-273 (static_cast<uint8_t>(a * opacity) truncates); used by donner/svg/renderer/RendererDriver.cc:1765, :1792, donner/svg/renderer/RendererTinySkia.cc:818, donner/svg/renderer/RendererGeode.cc:678 donner/css/tests/Color_tests.cc:149 Resolve; its :174 expectation (alpha 255 at opacity 0.3 gives 76) pins the truncation low S Computed: fill-opacity 0.5 on opaque paint gives alpha 127, not 128; 0.1 gives 25, not 26. Within the one-step tolerance, so cosmetic. The text span path rounds instead (donner/svg/renderer/RendererTinySkia.cc:2948).
feat:css-color-4/tagged-images missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#tagged-images An image tagged with a valid color profile (ICC profile, PNG sRGB or cICP chunk) must be treated as being in that color space. donner/svg/resources/ImageLoader.cc:194-197 (stb_image decode to 8-bit RGBA; profile and chunk data are discarded by the decoder) No color management stage exists: grep for ICC, iCCP, cICP, colorProfile in donner/svg found no consumer none low L Every raster image is treated as sRGB. Also listed by the CR only for high-quality viewers (conform.html, Conforming High-Quality SVG Viewer).
feat:css-color-4/untagged-colors-srgb conformant-untested https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#untagged Untagged images and legacy colors are treated as sRGB. donner/svg/resources/ImageLoader.cc:194-222 donner/svg/renderer/RendererTinySkia.cc:575-581 (premultiply and draw as sRGB bytes); donner/svg/renderer/RendererGeode.cc:92 (RGBA8Unorm or BGRA8Unorm targets, no conversion) none specific - - True by construction: there is no other color space in the pipeline.

CSS Color 4: the <color> type, hex, named and system colors (sections 4, 5.2, 6)

Key Class Spec anchor Requirement (paraphrase) Parse evidence Consume evidence Tests Impact Size Notes
feat:css-color-4/color-type-grammar partial https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#color-syntax <color> is <color-base>, currentcolor or <system-color>; <color-base> is hex, a color function, a named color or transparent; the functions are rgb, rgba, hsl, hsla, hwb, lab, lch, oklab, oklch and color. donner/css/parser/ColorParser.cc:148-206 (dispatch) see the per-form rows donner/css/parser/tests/ColorParser_tests.cc:28-113 medium M Implemented: hex, named, transparent, currentcolor, rgb, rgba, hsl, hsla, hwb (with a wrong conversion), lab, lch. Not implemented: system colors, oklab, oklch, color(). device-cmyk is recognized as a stub.
val:color/hex-3-digit conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#hex-notation #RGB expands each digit by duplication; opaque. donner/css/parser/ColorParser.cc:215-218 donner/svg/renderer/RendererDriver.cc:1764-1765 (fill), :1792 (stroke) call Color::resolve; donner/css/Color.cc:254-273 donner/css/parser/tests/ColorParser_tests.cc:54 Hash; resvg painting/fill/#RGB-color.svg (active on TinyGolden and GeodeGolden) - - -
val:color/hex-4-digit conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#hex-notation #RGBA expands like the 3-digit form, fourth digit is alpha. donner/css/parser/ColorParser.cc:219-223 donner/svg/renderer/RendererDriver.cc:1764-1765 (fill), :1792 (stroke) call Color::resolve; donner/css/Color.cc:254-273 donner/css/parser/tests/ColorParser_tests.cc:54 Hash; resvg painting/fill/#RGBA.svg - - -
val:color/hex-6-digit conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#hex-notation #RRGGBB, case-insensitive digits, opaque. donner/css/parser/ColorParser.cc:224-227 donner/svg/renderer/RendererDriver.cc:1764-1765 (fill), :1792 (stroke) call Color::resolve; donner/css/Color.cc:254-273 donner/css/parser/tests/ColorParser_tests.cc:54 Hash; resvg painting/fill/#RRGGBB-color.svg, #RRGGBB-uppercase-color.svg - - -
val:color/hex-8-digit conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#hex-notation #RRGGBBAA, last pair is alpha. donner/css/parser/ColorParser.cc:228-232 donner/svg/renderer/RendererDriver.cc:1764-1765 (fill), :1792 (stroke) call Color::resolve; donner/css/Color.cc:254-273 donner/css/parser/tests/ColorParser_tests.cc:54 Hash; resvg painting/fill/#RRGGBBAA.svg - - -
feat:css-color-4/hex-invalid-forms conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#hex-notation A hash token with any other digit count, or with non-hex characters, is not a color. donner/css/parser/ColorParser.cc:209-213, :233-236 declaration dropped by the property parser donner/css/parser/tests/ColorParser_tests.cc:91 InvalidHash; resvg painting/fill/invalid-#RRGGBB-1.svg, -2.svg, -3.svg - - -
val:color/named-colors partial https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#named-colors 148 named colors, ASCII case-insensitive, each with a fixed sRGB value. donner/css/Color.cc:15-164 (147 entries), lookup donner/css/Color.cc:245-252, lowercasing donner/css/parser/ColorParser.cc:164-167 donner/svg/renderer/RendererDriver.cc:1764-1765 (fill), :1792 (stroke) call Color::resolve; donner/css/Color.cc:254-273 donner/css/parser/tests/ColorParser_tests.cc:33 ByName; donner/css/tests/Color_tests.cc:77 ByName; resvg painting/fill/named-color.svg, named-color-in-uppercase.svg, named-color-in-mixedcase.svg medium S Programmatic diff of the spec table (148 rows, hex and decimal columns cross-checked) against the Donner table: 147 names present with identical values, 0 extra names, 0 value differences, 1 missing: rebeccapurple (#663399).
val:color/transparent conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#transparent-color transparent is transparent black. donner/css/Color.cc:166 donner/svg/renderer/RendererDriver.cc:1764-1765 (fill), :1792 (stroke) call Color::resolve; donner/css/Color.cc:254-273 resvg painting/fill/transparent.svg; donner/css/parser/tests/ColorParser_tests.cc:33 ByName - - -
val:color/currentcolor conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#currentcolor-color Keyword, ASCII case-insensitive, valid wherever <color> is. donner/css/Color.cc:167; donner/css/parser/ColorParser.cc:164-170 donner/svg/renderer/RendererDriver.cc:963, :1765 resvg painting/fill/currentColor.svg; donner/css/parser/tests/ColorParser_tests.cc:33 - - See the two currentcolor rows above for resolution.
val:color/AccentColor missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#valdef-color-accentcolor System color keyword AccentColor resolves to a UA-defined color. donner/css/parser/ColorParser.cc:169 (TODO: <system-color>); the name is not in the table at donner/css/Color.cc:15-168 (grep -i for the name in donner/css found nothing) none: Color::ByName fails, the declaration is invalid and is dropped none low S All 19 system colors share one fix (a second keyword table with fixed light-scheme values).
val:color/AccentColorText missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#valdef-color-accentcolortext System color keyword AccentColorText resolves to a UA-defined color. donner/css/parser/ColorParser.cc:169 (TODO: <system-color>); the name is not in the table at donner/css/Color.cc:15-168 (grep -i for the name in donner/css found nothing) none: Color::ByName fails, the declaration is invalid and is dropped none low S All 19 system colors share one fix (a second keyword table with fixed light-scheme values).
val:color/ActiveText missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#valdef-color-activetext System color keyword ActiveText resolves to a UA-defined color. donner/css/parser/ColorParser.cc:169 (TODO: <system-color>); the name is not in the table at donner/css/Color.cc:15-168 (grep -i for the name in donner/css found nothing) none: Color::ByName fails, the declaration is invalid and is dropped none low S All 19 system colors share one fix (a second keyword table with fixed light-scheme values).
val:color/ButtonBorder missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#valdef-color-buttonborder System color keyword ButtonBorder resolves to a UA-defined color. donner/css/parser/ColorParser.cc:169 (TODO: <system-color>); the name is not in the table at donner/css/Color.cc:15-168 (grep -i for the name in donner/css found nothing) none: Color::ByName fails, the declaration is invalid and is dropped none low S All 19 system colors share one fix (a second keyword table with fixed light-scheme values).
val:color/ButtonFace missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#valdef-color-buttonface System color keyword ButtonFace resolves to a UA-defined color. donner/css/parser/ColorParser.cc:169 (TODO: <system-color>); the name is not in the table at donner/css/Color.cc:15-168 (grep -i for the name in donner/css found nothing) none: Color::ByName fails, the declaration is invalid and is dropped none low S All 19 system colors share one fix (a second keyword table with fixed light-scheme values).
val:color/ButtonText missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#valdef-color-buttontext System color keyword ButtonText resolves to a UA-defined color. donner/css/parser/ColorParser.cc:169 (TODO: <system-color>); the name is not in the table at donner/css/Color.cc:15-168 (grep -i for the name in donner/css found nothing) none: Color::ByName fails, the declaration is invalid and is dropped none low S All 19 system colors share one fix (a second keyword table with fixed light-scheme values).
val:color/Canvas missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#valdef-color-canvas System color keyword Canvas resolves to a UA-defined color. donner/css/parser/ColorParser.cc:169 (TODO: <system-color>); the name is not in the table at donner/css/Color.cc:15-168 (grep -i for the name in donner/css found nothing) none: Color::ByName fails, the declaration is invalid and is dropped none low S All 19 system colors share one fix (a second keyword table with fixed light-scheme values).
val:color/CanvasText missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#valdef-color-canvastext System color keyword CanvasText resolves to a UA-defined color. donner/css/parser/ColorParser.cc:169 (TODO: <system-color>); the name is not in the table at donner/css/Color.cc:15-168 (grep -i for the name in donner/css found nothing) none: Color::ByName fails, the declaration is invalid and is dropped none low S All 19 system colors share one fix (a second keyword table with fixed light-scheme values).
val:color/Field missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#valdef-color-field System color keyword Field resolves to a UA-defined color. donner/css/parser/ColorParser.cc:169 (TODO: <system-color>); the name is not in the table at donner/css/Color.cc:15-168 (grep -i for the name in donner/css found nothing) none: Color::ByName fails, the declaration is invalid and is dropped none low S All 19 system colors share one fix (a second keyword table with fixed light-scheme values).
val:color/FieldText missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#valdef-color-fieldtext System color keyword FieldText resolves to a UA-defined color. donner/css/parser/ColorParser.cc:169 (TODO: <system-color>); the name is not in the table at donner/css/Color.cc:15-168 (grep -i for the name in donner/css found nothing) none: Color::ByName fails, the declaration is invalid and is dropped none low S All 19 system colors share one fix (a second keyword table with fixed light-scheme values).
val:color/GrayText missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#valdef-color-graytext System color keyword GrayText resolves to a UA-defined color. donner/css/parser/ColorParser.cc:169 (TODO: <system-color>); the name is not in the table at donner/css/Color.cc:15-168 (grep -i for the name in donner/css found nothing) none: Color::ByName fails, the declaration is invalid and is dropped none low S All 19 system colors share one fix (a second keyword table with fixed light-scheme values).
val:color/Highlight missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#valdef-color-highlight System color keyword Highlight resolves to a UA-defined color. donner/css/parser/ColorParser.cc:169 (TODO: <system-color>); the name is not in the table at donner/css/Color.cc:15-168 (grep -i for the name in donner/css found nothing) none: Color::ByName fails, the declaration is invalid and is dropped none low S All 19 system colors share one fix (a second keyword table with fixed light-scheme values).
val:color/HighlightText missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#valdef-color-highlighttext System color keyword HighlightText resolves to a UA-defined color. donner/css/parser/ColorParser.cc:169 (TODO: <system-color>); the name is not in the table at donner/css/Color.cc:15-168 (grep -i for the name in donner/css found nothing) none: Color::ByName fails, the declaration is invalid and is dropped none low S All 19 system colors share one fix (a second keyword table with fixed light-scheme values).
val:color/LinkText missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#valdef-color-linktext System color keyword LinkText resolves to a UA-defined color. donner/css/parser/ColorParser.cc:169 (TODO: <system-color>); the name is not in the table at donner/css/Color.cc:15-168 (grep -i for the name in donner/css found nothing) none: Color::ByName fails, the declaration is invalid and is dropped none low S All 19 system colors share one fix (a second keyword table with fixed light-scheme values).
val:color/Mark missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#valdef-color-mark System color keyword Mark resolves to a UA-defined color. donner/css/parser/ColorParser.cc:169 (TODO: <system-color>); the name is not in the table at donner/css/Color.cc:15-168 (grep -i for the name in donner/css found nothing) none: Color::ByName fails, the declaration is invalid and is dropped none low S All 19 system colors share one fix (a second keyword table with fixed light-scheme values).
val:color/MarkText missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#valdef-color-marktext System color keyword MarkText resolves to a UA-defined color. donner/css/parser/ColorParser.cc:169 (TODO: <system-color>); the name is not in the table at donner/css/Color.cc:15-168 (grep -i for the name in donner/css found nothing) none: Color::ByName fails, the declaration is invalid and is dropped none low S All 19 system colors share one fix (a second keyword table with fixed light-scheme values).
val:color/SelectedItem missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#valdef-color-selecteditem System color keyword SelectedItem resolves to a UA-defined color. donner/css/parser/ColorParser.cc:169 (TODO: <system-color>); the name is not in the table at donner/css/Color.cc:15-168 (grep -i for the name in donner/css found nothing) none: Color::ByName fails, the declaration is invalid and is dropped none low S All 19 system colors share one fix (a second keyword table with fixed light-scheme values).
val:color/SelectedItemText missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#valdef-color-selecteditemtext System color keyword SelectedItemText resolves to a UA-defined color. donner/css/parser/ColorParser.cc:169 (TODO: <system-color>); the name is not in the table at donner/css/Color.cc:15-168 (grep -i for the name in donner/css found nothing) none: Color::ByName fails, the declaration is invalid and is dropped none low S All 19 system colors share one fix (a second keyword table with fixed light-scheme values).
val:color/VisitedText missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#valdef-color-visitedtext System color keyword VisitedText resolves to a UA-defined color. donner/css/parser/ColorParser.cc:169 (TODO: <system-color>); the name is not in the table at donner/css/Color.cc:15-168 (grep -i for the name in donner/css found nothing) none: Color::ByName fails, the declaration is invalid and is dropped none low S All 19 system colors share one fix (a second keyword table with fixed light-scheme values).
val:color/deprecated-system-colors missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#deprecated-system-colors The 23 deprecated system colors (ActiveBorder, ActiveCaption, AppWorkspace, Background, ButtonHighlight, ButtonShadow, CaptionText, InactiveBorder, InactiveCaption, InactiveCaptionText, InfoBackground, InfoText, Menu, MenuText, Scrollbar, ThreeDDarkShadow, ThreeDFace, ThreeDHighlight, ThreeDLightShadow, ThreeDShadow, Window, WindowFrame, WindowText) must be accepted and map to the listed system colors. donner/css/parser/ColorParser.cc:169; none of the names is in donner/css/Color.cc:15-168 none none low S Same fix as the system color rows.
feat:css-color-4/quirky-hex-colors not-applicable https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#quirky-color Hashless hex colors are accepted only in quirks mode for a fixed list of HTML-era properties. - - resvg painting/fill/random-value.svg shows an unknown ident is rejected - - SVG documents have no quirks mode. Donner rejects a hashless value (ident lookup fails at donner/css/parser/ColorParser.cc:170-174).
feat:css-color-4/color-keyword-case-insensitivity conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#color-keywords Color keywords and function names are ASCII case-insensitive. donner/css/parser/ColorParser.cc:164-167 (idents lowercased), :183-196 (equalsLowercase on function names) donner/svg/renderer/RendererDriver.cc:1764-1765 (fill), :1792 (stroke) call Color::resolve; donner/css/Color.cc:254-273 resvg painting/fill/named-color-in-uppercase.svg, named-color-in-mixedcase.svg, uppercase-rgb-color.svg - - -
feat:css-color-4/color-parse-error-handling conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#terminology A value that does not parse as <color> makes the declaration invalid; it is ignored and the cascade falls back. donner/css/parser/ColorParser.cc:149-153, :173-178, :197-205 (ParseDiagnostic) donner/svg/properties/PropertyRegistry.cc:985-1035 (ParsePaintServer returns an error, the property keeps its previous cascade value) donner/css/parser/tests/ColorParser_tests.cc:28 Empty, :86 ExtraTokens, :106 Block, :116 FunctionError; resvg painting/fill/random-value.svg, invalid-FuncIRI-with-a-fallback-color.svg - - A valid but unimplemented form (oklch(), color(), system colors) is handled the same way, which is the gap recorded in those rows.
feat:css-color-4/parse-a-css-color-value not-applicable https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#parse-color Algorithm for parsing a color from a string outside stylesheets (HTML attributes, canvas). - - - - - Not used by SVG presentation attributes, which are parsed as CSS declarations. ColorParser::ParseString (donner/css/parser/ColorParser.cc:751-757) is the closest analogue and is used by tooling only.

CSS Color 4: rgb(), rgba(), <alpha-value>, <hue>, none (sections 4.1 to 4.4, 5.1)

Key Class Spec anchor Requirement (paraphrase) Parse evidence Consume evidence Tests Impact Size Notes
val:color/rgb()-legacy-numbers conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#typedef-legacy-rgb-syntax rgb( <number>#{3} , <alpha-value>? ) with commas. donner/css/parser/ColorParser.cc:239-300 (trySkipComma decides the comma form) donner/svg/renderer/RendererDriver.cc:1764-1765 (fill), :1792 (stroke) call Color::resolve; donner/css/Color.cc:254-273 donner/css/parser/tests/ColorParser_tests.cc:138 Rgb; resvg painting/fill/rgb-color.svg, rgb-color-with-extra-spaces.svg (active on TinyGolden and GeodeGolden) - - -
val:color/rgb()-legacy-percentages conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#typedef-legacy-rgb-syntax rgb( <percentage>#{3} , <alpha-value>? ), 100% is 255. donner/css/parser/ColorParser.cc:255-258, :296-299, :641-644 donner/svg/renderer/RendererDriver.cc:1764-1765 (fill), :1792 (stroke) call Color::resolve; donner/css/Color.cc:254-273 donner/css/parser/tests/ColorParser_tests.cc:167-180; resvg painting/fill/rgb-color-with-percentage-values.svg, rgb-color-with-float-percentage-values.svg - - -
val:color/rgb()-legacy-fourth-argument conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#typedef-legacy-rgb-syntax The legacy rgb() form accepts an optional alpha as a fourth comma-separated argument. donner/css/parser/ColorParser.cc:264, :379-399 donner/svg/renderer/RendererDriver.cc:1764-1765 (fill), :1792 (stroke) call Color::resolve; donner/css/Color.cc:254-273 donner/css/parser/tests/ColorParser_tests.cc:172 (rgb( 1%, 10%, 30%, 80% )); resvg painting/fill/rgb-0-127-0-0.5.svg - - -
val:color/rgba()-legacy conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#typedef-legacy-rgba-syntax rgba() is an alias with the same legacy grammar; alpha is optional. donner/css/parser/ColorParser.cc:183-184 donner/svg/renderer/RendererDriver.cc:1764-1765 (fill), :1792 (stroke) call Color::resolve; donner/css/Color.cc:254-273 resvg painting/fill/rgba-0-127-0-0.5.svg, rgba-0-127-0-0.svg, rgba-0-127-0-1.svg, rgba-0-127-0-50percent.svg, rgba-0percent-50percent-0percent-0.5.svg - - -
feat:css-color-4/legacy-syntax-no-mixing conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#color-syntax-legacy In the legacy syntax the three channels are all numbers or all percentages. donner/css/parser/ColorParser.cc:255-258, :277, :288 (nextAs of the first channel's token type) declaration dropped donner/css/parser/tests/ColorParser_tests.cc:184 RgbErrors; resvg painting/fill/rgba-0-50percent-0-0.5.svg - - -
val:color/rgb()-modern conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#typedef-modern-rgb-syntax rgb( [number or percentage or none]{3} [ / alpha ]? ) with whitespace separators. donner/css/parser/ColorParser.cc:249, :264, :385 (requireSlash when no commas) donner/svg/renderer/RendererDriver.cc:1764-1765 (fill), :1792 (stroke) call Color::resolve; donner/css/Color.cc:254-273 donner/css/parser/tests/ColorParser_tests.cc:156 (rgb(5 6 7 / 8%)), :174, :180 - - The only resvg case for this form, painting/fill/rgb-int-int-int.svg, is excluded as UndefinedBehavior (donner/svg/renderer/tests/resvg_test_suite.cc:842-844) because the vendored reference is the resvg marker image, so no pixel test covers it.
val:color/rgba()-modern conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#typedef-modern-rgba-syntax rgba() accepts the same modern grammar. donner/css/parser/ColorParser.cc:183-184 donner/svg/renderer/RendererDriver.cc:1764-1765 (fill), :1792 (stroke) call Color::resolve; donner/css/Color.cc:254-273 donner/css/parser/tests/ColorParser_tests.cc:145 (rgba(3 4 5)) - - -
val:color/rgb()-modern-mixed-number-percentage divergent https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#color-syntax-modern In the modern syntax number and percentage channels may be freely mixed. donner/css/parser/ColorParser.cc:255-258 (one token type for all three channels) declaration dropped donner/css/parser/tests/ColorParser_tests.cc:193 asserts that rgb(1 2 3%) is an error, which pins the divergence low S rgb(255 50% 0) is rejected.
val:color/rgb()-none missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#missing Any channel, and the alpha, may be the keyword none in the modern syntax; for rendering it acts as zero. donner/css/parser/ColorParser.cc:250-252, :277, :288 (an ident is an unexpected token) declaration dropped none low S One helper fixes none for every function.
feat:css-color-4/rgb-clamping conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#rgb-functions Out-of-range channel values are valid and are clamped at parsed-value time. donner/css/parser/ColorParser.cc:637-644 (Clamp to [0,255]) donner/svg/renderer/RendererDriver.cc:1764-1765 (fill), :1792 (stroke) call Color::resolve; donner/css/Color.cc:254-273 resvg painting/fill/rgb-color-with-percentage-overflow.svg, rgba-0-127-0-2.svg, rgba-0-127-0–1.svg - - -
feat:css-color-4/rgb-channel-precision partial https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#rgb-functions Honor the authored precision where possible; otherwise round (toward positive infinity on ties). donner/css/parser/ColorParser.cc:637-639 (Round to 8 bits) donner/css/Color.h:25-29 (uint8 storage) donner/css/parser/tests/ColorParser_tests.cc:478 LargeFractionPercentage; resvg painting/fill/rgb-color-with-floats.svg, rgb-color-with-a-big-fraction-part.svg low L 8-bit storage is what the spec allows as a fallback, so rendering matches; the precision is lost for interpolation and any future wide-gamut work.
feat:css-color-4/math-functions-in-color-components missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#resolving-sRGB-values Components may be math functions such as calc(); simplified results are clamped. donner/css/parser/ColorParser.cc:112-134 (any non-token component value is an error) declaration dropped none low M Cross-cuts the css-values ledger.
val:alpha-value/number conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#typedef-color-alpha-value <number> alpha, 1 is opaque. donner/css/parser/ColorParser.cc:594-602, :646-649 donner/svg/renderer/RendererDriver.cc:1764-1765 (fill), :1792 (stroke) call Color::resolve; donner/css/Color.cc:254-273 donner/css/parser/tests/ColorParser_tests.cc:125-135, :226 (hsl(1, 2%, 3%, 0.04)); resvg painting/fill/rgba-0-127-0-0.5.svg - - -
val:alpha-value/percentage conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#typedef-color-alpha-value <percentage> alpha, 100% is opaque. donner/css/parser/ColorParser.cc:603-604 donner/svg/renderer/RendererDriver.cc:1764-1765 (fill), :1792 (stroke) call Color::resolve; donner/css/Color.cc:254-273 donner/css/parser/tests/ColorParser_tests.cc:156, :228; resvg painting/fill/rgba-0-127-0-50percent.svg - - -
val:alpha-value/none missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#alpha-syntax In the modern syntax alpha may be none. donner/css/parser/ColorParser.cc:605-607 (Unexpected alpha value) declaration dropped none low S -
feat:css-color-4/alpha-clamp-and-default conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#alpha-syntax Alpha defaults to 100% when omitted; out-of-range values are clamped at parsed-value time. donner/css/parser/ColorParser.cc:380-382 (default 0xFF), :646-649 (Clamp) donner/svg/renderer/RendererDriver.cc:1764-1765 (fill), :1792 (stroke) call Color::resolve; donner/css/Color.cc:254-273 resvg painting/fill/rgba-0-127-0-2.svg, rgba-0-127-0–1.svg - - -
val:hue/number conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#typedef-hue A bare number is degrees. donner/css/parser/ColorParser.cc:312-313 donner/css/Color.cc:190-205 donner/css/parser/tests/ColorParser_tests.cc:207 Hsl, :243 HslHues; resvg painting/fill/hsl-120-100percent-25percent.svg - - -
val:hue/angle-deg conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#typedef-hue <angle> in deg. donner/css/parser/ColorParser.cc:319-320 donner/css/Color.cc:190-205 donner/css/parser/tests/ColorParser_tests.cc:210, :247 - - -
val:hue/angle-grad conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#typedef-hue <angle> in grad (400 per turn). donner/css/parser/ColorParser.cc:321-322 donner/css/Color.cc:190-205 donner/css/parser/tests/ColorParser_tests.cc:228, :249 - - -
val:hue/angle-rad conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#typedef-hue <angle> in rad. donner/css/parser/ColorParser.cc:323-324 donner/css/Color.cc:190-205 donner/css/parser/tests/ColorParser_tests.cc:212 - - -
val:hue/angle-turn conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#typedef-hue <angle> in turn. donner/css/parser/ColorParser.cc:325-326 donner/css/Color.cc:190-205 donner/css/parser/tests/ColorParser_tests.cc:251 - - -
val:hue/none missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#missing A hue may be none in the modern syntax. donner/css/parser/ColorParser.cc:334 (Unexpected token when parsing angle) declaration dropped none low S -
feat:css-color-4/hue-normalization conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#hue-syntax Hue is normalized to [0,360): 360 becomes 0, -540 and 540 become 180. donner/css/parser/ColorParser.cc:633-635, :366, :428, :551 donner/css/Color.cc:191-195 resvg painting/fill/hsl-360-100percent-25percent.svg, hsl-999-100percent-25percent.svg; donner/css/parser/tests/ColorParser_tests.cc:243 HslHues, :427 (lch negative hue) - - Infinite hues from calc() are out of reach because math functions are not parsed.
feat:css-color-4/missing-components missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#missing A missing component is carried through interpolation and serialized as none; elsewhere it is zero. donner/css/Color.h:25-76 (no representation of a missing channel) none none low M Only observable through color-mix(), relative colors and CSS interpolation, all absent.
feat:css-color-4/powerless-components missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#powerless Conversion to a polar space sets a hue to missing when chroma or saturation is at or below the per-space epsilon. no conversion to a polar space exists (grep for rgbToHsl, toHsl, toLch, toOklch in donner/css found nothing) none none low S Depends on the missing-component representation.

CSS Color 4: hsl(), hsla(), hwb() (sections 7, 8)

Key Class Spec anchor Requirement (paraphrase) Parse evidence Consume evidence Tests Impact Size Notes
val:color/hsl()-legacy conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#typedef-legacy-hsl-syntax hsl( <hue>, <percentage>, <percentage>, <alpha-value>? ) with commas. donner/css/parser/ColorParser.cc:337-377 fill, stroke and other paint paths convert through donner/css/Color.cc:214-218, :254-264 donner/css/parser/tests/ColorParser_tests.cc:207 Hsl; resvg painting/fill/hsl-120-100percent-25percent.svg, hsl-with-alpha.svg (active on TinyGolden and GeodeGolden) - - Stored as HSLA and converted at use; see the color-property storage row for the one unsafe consumer.
val:color/hsla()-legacy conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#typedef-legacy-hsla-syntax hsla() alias, alpha optional. donner/css/parser/ColorParser.cc:185-186 donner/css/Color.cc:214-218 donner/css/parser/tests/ColorParser_tests.cc:216 (alias, modern form); resvg painting/fill/hsla-with-percentage-s-and-l-values.svg (legacy form) - - -
val:color/hsl()-modern-percentages conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#typedef-modern-hsl-syntax hsl( hue S L [ / alpha ]? ) with whitespace and percentages for S and L. donner/css/parser/ColorParser.cc:346-363, :369 donner/css/Color.cc:214-218 donner/css/parser/tests/ColorParser_tests.cc:208 (hsl(0 50% 10%)), :228 (hsla(5grad 6% 7% / 8%)) - - -
val:color/hsl()-modern-numbers divergent https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#typedef-modern-hsl-syntax In the modern syntax S and L may be <number> (0 to 100) as well as <percentage>. donner/css/parser/ColorParser.cc:349, :360 (nextAs<Token::Percentage> only) declaration dropped donner/css/parser/tests/ColorParser_tests.cc:270 asserts hsla(1 2% 3) is an error low S hsl(120 100 50) is rejected.
val:color/hsl()-none missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#typedef-modern-hsl-syntax Any hsl component may be none in the modern syntax. donner/css/parser/ColorParser.cc:334, :349, :360 declaration dropped none low S -
feat:css-color-4/hsl-saturation-lightness-clamping divergent https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#the-hsl-notation Only a negative saturation is clamped (to 0%) at parsed-value time; larger saturation and out-of-range lightness are kept and the conversion result is then brought into range. donner/css/parser/ColorParser.cc:367-368 (saturation and lightness both clamped to [0,1]) donner/css/Color.cc:190-205 resvg painting/fill/hsl-120-200percent-25percent.svg passes against a reference that also clamps saturation low S Example by hand: hsl(0 200% 75%) is rgb(255 64 64) after conversion and clipping per the spec, rgb(255 128 128) in Donner. Matches legacy engine behavior and the resvg reference, so changing it needs a decision.
feat:css-color-4/hsl-to-srgb conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#hsl-to-rgb Conversion algorithm from HSL to sRGB. n/a donner/css/Color.cc:190-205 (same f(n) formulation as the spec sample) donner/css/tests/Color_tests.cc:118 asRGBA; resvg painting/fill/hsl-120-100percent-25percent.svg - - -
feat:css-color-4/srgb-to-hsl not-applicable https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#rgb-to-hsl Conversion from sRGB to HSL. - - - - - Only needed for interpolation in hsl and relative colors, both absent (see Color 5 rows).
val:color/hwb() partial https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#funcdef-hwb hwb( hue W B [ / alpha ]? ), whitespace separated, W and B as number or percentage, any component may be none. donner/css/parser/ColorParser.cc:401-437 donner/svg/renderer/RendererDriver.cc:1764-1765 (fill), :1792 (stroke) call Color::resolve; donner/css/Color.cc:254-273 donner/css/parser/tests/ColorParser_tests.cc:284 Hwb, :312 HwbErrors medium S Parses the percentage form and the alpha. Number W and B and none are rejected (donner/css/parser/ColorParser.cc:412, :423). The conversion is wrong for any nonzero W or B (next row).
feat:css-color-4/hwb-to-srgb divergent https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#hwb-to-rgb Compute the pure hue as RGB, then scale each RGB channel by (1 - W - B) and add W; when W + B >= 1 the result is the gray W / (W + B). n/a donner/css/parser/ColorParser.cc:616-631: the scale and offset are applied to the HSL triple (hue, saturation, lightness) instead of RGB channels, and the gray branch passes a 0..1 value to numberToChannel, which expects 0..255 donner/css/parser/tests/ColorParser_tests.cc:299 pins hwb(0 50% 50%) as rgb(1 1 1) (spec: rgb(128 128 128)); :300-301 pin hwb(240 30% 30% / 80%) as rgb(109 217 38), a green (spec: about rgb(77 77 179)) medium S Correct only when W and B are both 0. The unit tests assert the wrong output.
feat:css-color-4/hwb-no-legacy-syntax divergent https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#the-hwb-notation Commas inside hwb() are an error. donner/css/parser/ColorParser.cc:410, :417-421 (trySkipComma and requireComma accept hwb(120, 0%, 0%)) accepted and rendered donner/css/parser/tests/ColorParser_tests.cc:328 only asserts that a partly comma-separated form is rejected low S -
feat:css-color-4/srgb-to-hwb not-applicable https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#rgb-to-hwb Conversion from sRGB to HWB. - - - - - No consumer without Color 5 features.

CSS Color 4: lab(), lch(), oklab(), oklch(), color() (sections 9, 10)

Key Class Spec anchor Requirement (paraphrase) Parse evidence Consume evidence Tests Impact Size Notes
val:color/lab() partial https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#funcdef-lab lab( L a b [ / alpha ]? ); each of L, a, b is a number, a percentage or none; percent ranges: L 100% = 100, a and b 100% = 125. donner/css/parser/ColorParser.cc:439-510 donner/css/parser/ColorParser.cc:663-739 (Lab to XYZ D50, Bradford to D65, linear sRGB, encode, 8-bit) donner/css/parser/tests/ColorParser_tests.cc:332 Lab, :366 LabErrors low S Number and percentage forms and alpha work. none is rejected (donner/css/parser/ColorParser.cc:454-456). Percent a and b are clamped (next rows).
feat:css-color-4/lab-lightness-clamp conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#specifying-lab-lch L below 0 is clamped to 0 and above 100 to 100 at parsed-value time. donner/css/parser/ColorParser.cc:450-453, :523-526 donner/css/parser/ColorParser.cc:664-683 donner/css/parser/tests/ColorParser_tests.cc:356-362 (lab(-10% 0 0), lab(110 0 0)), :416-421 - - -
feat:css-color-4/lab-a-b-percent-range divergent https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#specifying-lab-lch a and b percentages map 100% to 125 and are not clamped. donner/css/parser/ColorParser.cc:466-467, :482-483 (clamped to plus or minus 125) donner/css/parser/ColorParser.cc:664-683 donner/css/parser/tests/ColorParser_tests.cc:353 covers an in-range value only low S Only differs for colors far outside sRGB, which are then clipped anyway.
val:color/lch() partial https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#funcdef-lch lch( L C H [ / alpha ]? ); L and C number, percentage or none; H is <hue> or none; C 100% = 150. donner/css/parser/ColorParser.cc:512-582 donner/css/parser/ColorParser.cc:578-582, :663-739 donner/css/parser/tests/ColorParser_tests.cc:400 Lch, :445 LchErrors low S none is rejected; percent chroma is clamped above (next row).
feat:css-color-4/lch-chroma-clamp divergent https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#specifying-lab-lch Negative chroma is clamped to 0; there is no upper clamp. donner/css/parser/ColorParser.cc:539 (percentage clamped to [0,150]), :541 (number: lower clamp only) donner/css/parser/ColorParser.cc:572-574 donner/css/parser/tests/ColorParser_tests.cc:424 (negative), :439 pins lch(50% 110% 30) to the clamped value low S The negative clamp is right; the 150 cap on the percentage form is extra.
feat:css-color-4/lab-lch-to-srgb-conversion conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#color-conversion-code Lab (D50) to sRGB through XYZ with Bradford adaptation; LCH to Lab by polar conversion. n/a donner/css/parser/ColorParser.cc:578-582, :663-739 donner/css/parser/tests/ColorParser_tests.cc:345 (lab(54.29% 80.81 69.89)), :408 (lch(54.29% 106.84 40.86)) - - Donner uses rounded D50 white (0.96422, 0.82521) and a 7-digit sRGB matrix. Recomputed numerically against the spec's rational matrices over 16673 in-gamut Lab samples: the largest 8-bit difference is 1, inside the CR tolerance of one component value.
feat:css-color-4/lab-lch-alpha-precision conformant-untested https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#resolving-lab-lch-values The specified alpha is kept. donner/css/parser/ColorParser.cc:500, :563 (uint8 to double), :682 (back to uint8 by truncation) donner/svg/renderer/RendererDriver.cc:1764-1765 (fill), :1792 (stroke) call Color::resolve; donner/css/Color.cc:254-273 donner/css/parser/tests/ColorParser_tests.cc:348-350 (alpha 0.5 and 50%) - - Checked numerically for all 256 values: a/255*255 truncates back to a in double arithmetic, so there is no off-by-one.
val:color/oklab() missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#funcdef-oklab oklab( L a b [ / alpha ]? ); L 100% = 1.0, a and b 100% = 0.4; L clamped to [0,1]. donner/css/parser/ColorParser.cc:183-200 (no branch; reported as Unsupported color function) declaration dropped none medium S Increasingly common in authored CSS; the paint silently falls back.
val:color/oklch() missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#funcdef-oklch oklch( L C H [ / alpha ]? ); C 100% = 0.4; negative C clamped to 0. donner/css/parser/ColorParser.cc:183-200 declaration dropped none medium S -
feat:css-color-4/lab-to-lch-and-back partial https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#lab-to-lch Polar and rectangular conversions for Lab and Oklab families, with a powerless hue near the neutral axis. n/a donner/css/parser/ColorParser.cc:578-582 (LCH to Lab only) donner/css/parser/tests/ColorParser_tests.cc:408 low S Lab to LCH and both Oklab directions are absent; nothing consumes them yet.
val:color/color() missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#funcdef-color color( <colorspace-params> [ / alpha ]? ) with three number, percentage or none components. donner/css/parser/ColorParser.cc:193-194, :584-587 (returns the error Not implemented) declaration dropped donner/css/parser/tests/ColorParser_tests.cc:111 FunctionNotImplemented asserts the stub error medium M One parser plus one matrix per space; the per-space rows below share this work.
val:color/color()-srgb missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#predefined-sRGB Predefined color space srgb: sRGB primaries and transfer function, D65. donner/css/parser/ColorParser.cc:584-587 declaration dropped none low S Trivial once color() parses; equals rgb() for in-range values.
val:color/color()-srgb-linear missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#predefined-sRGB-linear Predefined color space srgb-linear: sRGB primaries with a linear transfer function. donner/css/parser/ColorParser.cc:584-587 declaration dropped none low S -
val:color/color()-display-p3 missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#predefined-display-p3 Predefined color space display-p3: DCI-p3 primaries, D65, sRGB transfer function. donner/css/parser/ColorParser.cc:584-587 declaration dropped none medium S The most used wide-gamut space; needs gamut mapping to the sRGB output.
val:color/color()-display-p3-linear missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#predefined-display-p3-linear Predefined color space display-p3-linear: display-p3 primaries with a linear transfer function. donner/css/parser/ColorParser.cc:584-587 declaration dropped none low S Added to the TR after earlier drafts.
val:color/color()-a98-rgb missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#predefined-a98-rgb Predefined color space a98-rgb: Adobe RGB (1998) primaries, gamma 563/256. donner/css/parser/ColorParser.cc:584-587 declaration dropped none low S -
val:color/color()-prophoto-rgb missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#predefined-prophoto-rgb Predefined color space prophoto-rgb: ProPhoto primaries, D50 white, ROMM transfer function. donner/css/parser/ColorParser.cc:584-587 declaration dropped none low S -
val:color/color()-rec2020 missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#predefined-rec2020 Predefined color space rec2020: ITU-R BT.2020 primaries and transfer function. donner/css/parser/ColorParser.cc:584-587 declaration dropped none low S -
val:color/color()-xyz missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#predefined-xyz Predefined color space xyz: CIE XYZ, alias of xyz-d65. donner/css/parser/ColorParser.cc:584-587 declaration dropped none low S -
val:color/color()-xyz-d50 missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#predefined-xyz Predefined color space xyz-d50: CIE XYZ with a D50 white; values are not clamped. donner/css/parser/ColorParser.cc:584-587 declaration dropped none low S -
val:color/color()-xyz-d65 missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#predefined-xyz Predefined color space xyz-d65: CIE XYZ with a D65 white; values are not clamped. donner/css/parser/ColorParser.cc:584-587 declaration dropped none low S -
feat:css-color-4/color()-invalid-space conformant-untested https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#color-function An unknown color space name is not a valid color() value. donner/css/parser/ColorParser.cc:584-587 declaration dropped none for this case specifically - - Conformant by accident: every color() value is rejected.

CSS Color 4: conversion, interpolation, gamut mapping, resolving, serializing (sections 10.10 to 17)

Key Class Spec anchor Requirement (paraphrase) Parse evidence Consume evidence Tests Impact Size Notes
feat:css-color-4/simple-alpha-compositing conformant https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#alpha Drawing handles alpha per Simple alpha compositing of Compositing and Blending. n/a third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Highp.cpp:332-342 (premultiplied source-over stage); donner/gpu/shader/programs/ImageBlitSource.h:20 (premultiplied source-over pipeline state) resvg painting/fill-opacity/*, painting/opacity/* (active on TinyGolden and GeodeGolden) - - See the Compositing rows.
feat:css-color-4/color-conversion-algorithm partial https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#color-convert-algorithm General conversion between any two color spaces through XYZ with chromatic adaptation, without clamping intermediate results. n/a donner/css/parser/ColorParser.cc:663-739 (the single Lab to sRGB path, clamped per channel at donner/css/parser/ColorParser.cc:733-739) donner/css/parser/tests/ColorParser_tests.cc:345, :408 low M No reusable conversion layer; each new space currently needs its own path.
feat:css-color-4/comparing-color-values not-applicable https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#comparing-color-values Equivalence of two colors with missing and powerless components. - - - - - Used by CSS features Donner does not have. Color::operator== (donner/css/Color.h:144) is exact variant equality and is an internal helper.
feat:css-color-4/interpolation-color-space partial https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#interpolation-space Colors are interpolated in a host-selected space; legacy sRGB syntaxes default to sRGB, other syntaxes to Oklab. n/a Gradient stops: gamma-encoded sRGB in both renderers (donner/svg/renderer/RendererTinySkia.cc:805-818 feeding third_party/tiny-skia-cpp/src/tiny_skia/shaders/Gradient.cpp:215-223; donner/svg/renderer/RendererGeode.cc:670-690 feeding donner/gpu/shader/programs/SlugGradientSource.h). Animation: sRGB or linear sRGB (donner/svg/components/animation/AnimationValueMath.cc:180-195) resvg paint-servers/linearGradient/*; RendererAnimation_tests.cc:403 LinearRgbColorInterpolationUsesLinearLight low M All inputs are already 8-bit sRGB, so the Oklab default for non-legacy syntaxes cannot apply. SVG gradients and animate are governed by color-interpolation, not by this section.
feat:css-color-4/interpolation-with-missing-components missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#interpolation-missing Missing components take the other color's value; analogous components are carried forward across conversion. no missing-component representation none none low M Not reachable from SVG 2 content without none.
feat:css-color-4/interpolation-premultiplied-alpha spec-ambiguity https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#interpolation-alpha Interpolation premultiplies color components by alpha, interpolates, then un-premultiplies. n/a Animation interpolates straight channels and alpha independently (donner/svg/components/animation/AnimationValueMath.cc:180-195); gradient stops are interpolated straight and premultiplied afterwards (third_party/tiny-skia-cpp/src/tiny_skia/shaders/Gradient.cpp:221-223; donner/svg/renderer/RendererGeode.cc:678-687) none that distinguishes the two (needs endpoints that differ in both color and alpha) low S The SVG 2 CR says color-interpolation uses component-wise linear interpolation and does not mention premultiplication anywhere in pservers.html or painting.html, while Color 4 requires it for CSS interpolation. Straight interpolation matches SVG 1.1 practice for gradients.
feat:css-color-4/hue-interpolation-shorter not-applicable https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#hue-shorter Default hue fixup: take the shorter arc. - - - - - Hue interpolation is only reachable through a polar interpolation space, which needs color-mix() or CSS gradients (recorded as missing in the Color 5 rows).
feat:css-color-4/hue-interpolation-longer not-applicable https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#hue-longer Take the longer arc. - - - - - As above.
feat:css-color-4/hue-interpolation-increasing not-applicable https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#hue-increasing Hue angle only increases. - - - - - As above.
feat:css-color-4/hue-interpolation-decreasing not-applicable https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#hue-decreasing Hue angle only decreases. - - - - - As above.
feat:css-color-4/gamut-mapping divergent https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#css-gamut-mapping Out-of-gamut colors bound for an RGB display are gamut mapped with one of the three listed OkLCh chroma-reduction algorithms, at actual-value time; intermediate values stay unclamped. n/a donner/css/parser/ColorParser.cc:733-739 (each linear channel is encoded and clamped to [0,1] at parse time) none (the lab and lch unit tests use in-gamut or clamped expectations) low M Per-channel clipping shifts hue for saturated lab() and lch() values. Becomes more visible once color(display-p3 ...) and oklch() are accepted.
feat:css-color-4/resolving-srgb-values partial https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#resolving-sRGB-values Hex, rgb, hsl, hwb and named colors compute to an sRGB color with the clamped alpha. donner/css/parser/ColorParser.cc:208-300 donner/css/Color.h:25-29; donner/css/Color.cc:254-264 donner/css/parser/tests/ColorParser_tests.cc:54, :138, :207 medium S Holds for hex, rgb, named colors, and for hsl() on fill and stroke, where the HSLA value is converted on use (donner/css/Color.cc:254-273). Does not hold for hwb(), which converts wrongly (feat:css-color-4/hwb-to-srgb, medium), or for hsl() on the color property, which is read as RGBA without conversion (feat:css-color-4/color-property-hsl-storage, high). This row adds no defect beyond those two rows; fixing them makes it conformant.
feat:css-color-4/resolving-lab-lch-values partial https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#resolving-lab-lch-values lab() and lch() compute to the Lab or LCH color itself, not to sRGB. donner/css/parser/ColorParser.cc:507-509, :570-575 donner/css/Color.h:126 (no Lab alternative) donner/css/parser/tests/ColorParser_tests.cc:332, :400 low L Converted to 8-bit sRGB at parse. Correct for in-gamut rendering; loses the value for interpolation and wide-gamut output.
feat:css-color-4/resolving-oklab-oklch-values missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#resolving-oklab-oklch-values oklab() and oklch() compute to themselves. donner/css/parser/ColorParser.cc:183-200 none none low S Follows the val:color/oklab() and oklch() rows.
feat:css-color-4/resolving-color-function-values missing https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#resolving-color-function-values color() computes to the color in its own space. donner/css/parser/ColorParser.cc:584-587 none none low S Follows val:color/color().
feat:css-color-4/serializing-colors not-applicable https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#serializing-color-values Serialization rules for sRGB, Lab, Oklab, color() and alpha values (sections 16.1 to 16.6) and for <opacity-value> (section 17). - - donner/css/tests/Color_tests.cc:15 ToHexString, :191 OstreamOutput (internal formats) - - Donner exposes no CSSOM or computed-style string API. Internal formats exist (RGBA::toHexString donner/css/Color.cc:225-243 and the ostream operators), used for debug output, animation base values and editor write-back; they do not follow the CSS serialization and are not required to.
feat:css-color-4/default-style-rules not-applicable https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#sample Sample UA rules for HTML elements. - - - - - HTML only.
feat:css-color-4/color-difference-formulae not-applicable https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#color-difference-code deltaE 2000 and deltaE OK, used by gamut mapping. - - - - - Only needed by the gamut-mapping row above.
feat:css-color-4/accessibility-and-system-contrast not-applicable https://www.w3.org/TR/2026/CRD-css-color-4-20261112/#accessibility Authoring and UA guidance on conveying information by color and on system color contrast. - - - - - No rendering requirement for a static renderer.

CSS Color 5 (Working Draft): color-mix(), relative colors, color profiles, device-cmyk(), light-dark(), contrast-color()

Key Class Spec anchor Requirement (paraphrase) Parse evidence Consume evidence Tests Impact Size Notes
feat:css-color-5/color-mix() missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#funcdef-color-mix color-mix( <color-interpolation-method>? , [ <color> && <percentage [0,100]>? ]# ) mixes one or more colors in the given space. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low L Needs a color model richer than 8-bit sRGB plus the Color 4 conversion and interpolation machinery. The per-space and per-method rows below share this work.
feat:css-color-5/color-mix-default-space missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#color-mix-space When the interpolation method is omitted the mix happens in Oklab. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of color-mix().
feat:css-color-5/color-mix-percentage-normalization missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#color-mix-percent-norm Percentages are in 0% to 100%; missing ones are filled in, sums other than 100% are normalized, and a sum below 100% scales the result alpha. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of color-mix().
feat:css-color-5/color-mix-result-and-alpha missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#color-mix-result The result is computed by premultiplied interpolation in the mixing space, including non-unity alpha handling. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of color-mix().
val:color-mix/in-srgb missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#interpolation-space color-mix(in srgb, ...) interpolates in the srgb color space. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of color-mix(); needs conversion to and from srgb.
val:color-mix/in-srgb-linear missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#interpolation-space color-mix(in srgb-linear, ...) interpolates in the srgb-linear color space. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of color-mix(); needs conversion to and from srgb-linear.
val:color-mix/in-display-p3 missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#interpolation-space color-mix(in display-p3, ...) interpolates in the display-p3 color space. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of color-mix(); needs conversion to and from display-p3.
val:color-mix/in-display-p3-linear missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#interpolation-space color-mix(in display-p3-linear, ...) interpolates in the display-p3-linear color space. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of color-mix(); needs conversion to and from display-p3-linear.
val:color-mix/in-a98-rgb missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#interpolation-space color-mix(in a98-rgb, ...) interpolates in the a98-rgb color space. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of color-mix(); needs conversion to and from a98-rgb.
val:color-mix/in-prophoto-rgb missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#interpolation-space color-mix(in prophoto-rgb, ...) interpolates in the prophoto-rgb color space. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of color-mix(); needs conversion to and from prophoto-rgb.
val:color-mix/in-rec2020 missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#interpolation-space color-mix(in rec2020, ...) interpolates in the rec2020 color space. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of color-mix(); needs conversion to and from rec2020.
val:color-mix/in-lab missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#interpolation-space color-mix(in lab, ...) interpolates in the lab color space. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of color-mix(); needs conversion to and from lab.
val:color-mix/in-oklab missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#interpolation-space color-mix(in oklab, ...) interpolates in the oklab color space. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of color-mix(); needs conversion to and from oklab.
val:color-mix/in-xyz missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#interpolation-space color-mix(in xyz, ...) interpolates in the xyz color space. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of color-mix(); needs conversion to and from xyz.
val:color-mix/in-xyz-d50 missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#interpolation-space color-mix(in xyz-d50, ...) interpolates in the xyz-d50 color space. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of color-mix(); needs conversion to and from xyz-d50.
val:color-mix/in-xyz-d65 missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#interpolation-space color-mix(in xyz-d65, ...) interpolates in the xyz-d65 color space. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of color-mix(); needs conversion to and from xyz-d65.
val:color-mix/in-hsl missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#interpolation-space color-mix(in hsl, ...) interpolates in the hsl color space. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of color-mix(); needs conversion to and from hsl.
val:color-mix/in-hwb missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#interpolation-space color-mix(in hwb, ...) interpolates in the hwb color space. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of color-mix(); needs conversion to and from hwb.
val:color-mix/in-lch missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#interpolation-space color-mix(in lch, ...) interpolates in the lch color space. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of color-mix(); needs conversion to and from lch.
val:color-mix/in-oklch missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#interpolation-space color-mix(in oklch, ...) interpolates in the oklch color space. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of color-mix(); needs conversion to and from oklch.
val:color-mix/shorter-hue missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#interpolation-space With a polar space (hsl, hwb, lch, oklch) the 'shorter hue' method selects the hue arc. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of color-mix().
val:color-mix/longer-hue missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#interpolation-space With a polar space (hsl, hwb, lch, oklch) the 'longer hue' method selects the hue arc. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of color-mix().
val:color-mix/increasing-hue missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#interpolation-space With a polar space (hsl, hwb, lch, oklch) the 'increasing hue' method selects the hue arc. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of color-mix().
val:color-mix/decreasing-hue missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#interpolation-space With a polar space (hsl, hwb, lch, oklch) the 'decreasing hue' method selects the hue arc. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of color-mix().
feat:css-color-5/relative-color-processing-model missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#rcs-intro With 'from <color>' the origin color is converted to the function's space and its channels are exposed as keywords usable directly or inside math functions. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low L Also needs calc() inside color functions (Color 4 row).
val:relative-color/rgb() missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#relative-RGB Relative color syntax for rgb(): channel keywords r, g, b, alpha. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of the relative color work.
val:relative-color/hsl() missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#relative-HSL Relative color syntax for hsl(): channel keywords h, s, l, alpha. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of the relative color work.
val:relative-color/hwb() missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#relative-HWB Relative color syntax for hwb(): channel keywords h, w, b, alpha. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of the relative color work.
val:relative-color/lab() missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#relative-Lab Relative color syntax for lab(): channel keywords l, a, b, alpha. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of the relative color work.
val:relative-color/oklab() missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#relative-Oklab Relative color syntax for oklab(): channel keywords l, a, b, alpha. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of the relative color work.
val:relative-color/lch() missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#relative-LCH Relative color syntax for lch(): channel keywords l, c, h, alpha. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of the relative color work.
val:relative-color/oklch() missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#relative-OkLCh Relative color syntax for oklch(): channel keywords l, c, h, alpha. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of the relative color work.
val:relative-color/alpha() missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#relative-alpha Relative color syntax for alpha(): alpha(from <color> / alpha) changes only the alpha channel; new function in this level. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of the relative color work.
val:relative-color/color() missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#relative-color-function Relative color syntax for color(): channel keywords depend on the space (r g b or x y z), plus alpha. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S Part of the relative color work.
feat:css-color-5/custom-color-spaces missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#custom-color color() accepts a <dashed-ident> naming a profile declared with @color-profile, with one or more components. donner/css/parser/ColorParser.cc:584-587 none: the declaration is invalid and is dropped none low L Requires an ICC engine. The SVG 2 CR removed the SVG 1.1 color-profile element and icc-color(), so no SVG content depends on it.
feat:css-color-5/at-color-profile missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#at-profile @color-profile <dashed-ident> or device-cmyk, with descriptors src, rendering-intent (relative-colorimetric, absolute-colorimetric, perceptual, saturation) and components. grep for color-profile in donner/css found nothing; unknown at-rules are skipped by the stylesheet parser (unverified in this ledger) none none low L As above.
feat:css-color-5/calibrated-cmyk-conversion not-applicable https://www.w3.org/TR/2026/WD-css-color-5-20261114/#cal-cmyk Converting calibrated CMYK to and from Lab through an ICC profile, for print. - - - - - Print workflow; no print output in Donner.
val:color/device-cmyk()-legacy missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#typedef-legacy-device-cmyk-syntax device-cmyk( <number>#{4} ) with commas. donner/css/parser/ColorParser.cc:195-196, :589-592 (recognized, returns the error Not implemented) none: the declaration is invalid and is dropped donner/css/parser/tests/ColorParser_tests.cc:113 asserts the stub error low S -
val:color/device-cmyk()-modern missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#typedef-modern-device-cmyk-syntax device-cmyk( <cmyk-component>{4} [ / alpha ]? ) with number, percentage or none components. donner/css/parser/ColorParser.cc:589-592 none: the declaration is invalid and is dropped donner/css/parser/tests/ColorParser_tests.cc:113 low S -
feat:css-color-5/device-cmyk-naive-conversion missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#cmyk-rgb Without a profile, convert CMYK to sRGB naively: each of r, g, b is 1 - min(1, ink * (1 - k) + k). donner/css/parser/ColorParser.cc:589-592 none none low S A few lines once the function parses.
val:color/light-dark() missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#funcdef-light-dark light-dark(<color>, <color>) computes to the first color for a light used color scheme and the second for dark. donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S A static renderer can resolve it as light. Depends on color-scheme (CSS Color Adjustment), which the SVG 2 CR does not reference.
feat:css-color-5/light-dark-image-form not-applicable https://www.w3.org/TR/2026/WD-css-color-5-20261114/#typedef-light-dark-image light-dark() with two images or none. - - - - - No SVG 2 property handled here takes an <image> list.
val:color/contrast-color() missing https://www.w3.org/TR/2026/WD-css-color-5-20261114/#funcdef-contrast-color contrast-color(<color>) resolves to white or black, whichever contrasts more with the argument (white on a tie). donner/css/parser/ColorParser.cc:183-200 (no branch for this function name, so the error is Unsupported color function); grep for color-mix, light-dark, contrast-color and the from keyword in donner/css and donner/svg/properties found nothing none: the declaration is invalid and is dropped none low S UA-defined contrast algorithm at this level.
feat:css-color-5/resolving-and-serializing not-applicable https://www.w3.org/TR/2026/WD-css-color-5-20261114/#resolving-color-values Resolution and serialization of color-mix(), relative colors, custom spaces and device-cmyk (sections 10 and 11). - - - - - No CSSOM; the resolution half follows the missing rows above.
feat:css-color-5/csscolorprofilerule-interface not-applicable https://www.w3.org/TR/2026/WD-css-color-5-20261114/#the-csscolorprofilerule-interface CSSOM interface for @color-profile. - - - - - Script API; Donner has no script engine.

Compositing and Blending 1: mix-blend-mode, isolation, background-blend-mode (section 3.4, 10)

Key Class Spec anchor Requirement (paraphrase) Parse evidence Consume evidence Tests Impact Size Notes
prop:mix-blend-mode conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#propdef-mix-blend-mode Value <blend-mode>; initial normal; applies to container, graphics and graphics referencing elements; not inherited; computed as specified. donner/svg/properties/PropertyRegistry.cc:654-710, :2940-2948; not a presentation attribute (absent from the list at donner/svg/properties/PropertyRegistry.cc:2438-2500) donner/svg/properties/PropertyRegistry.h:516 (not inherited, initial Normal); donner/svg/renderer/RendererDriver.cc:3354-3360; donner/svg/renderer/RenderingContext.cc:639-643 resvg painting/mix-blend-mode/*.svg, 20 cases, none skipped (donner/svg/renderer/tests/resvg_test_suite.cc:923-926, active on TinyGolden and GeodeGolden); resvg painting/mix-blend-mode/as-property.svg (attribute form has no effect); donner/svg/properties/tests/PropertyRegistry_tests.cc:150-155 - - -
val:mix-blend-mode/normal conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#blendingnormal B(Cb, Cs) = Cs: plain source-over. donner/svg/properties/PropertyRegistry.cc:654-710 (keyword), :2940-2948 (registration) tiny-skia: donner/svg/renderer/RendererTinySkia.cc:3583-3600 maps to the stage at third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Highp.cpp:332-342 (float pipeline only, third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Pipeline.cpp:17-31). Geode: donner/gpu/shader/programs/ImageBlitSource.h:421-439 (default case returns Cs), dispatched at :421-439 and composited at :442-466 resvg painting/mix-blend-mode/normal.svg (active on TinyGolden and GeodeGolden); donner/svg/properties/tests/PropertyRegistry_tests.cc:1385 AdditionalKeywordProperties - - tiny-skia maps normal to SourceOver; Geode takes the unblended blit path (donner/svg/renderer/RendererGeode.cc:6381-6393).
val:mix-blend-mode/multiply conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#blendingmultiply B(Cb, Cs) = Cb x Cs. donner/svg/properties/PropertyRegistry.cc:654-710 (keyword), :2940-2948 (registration) tiny-skia: donner/svg/renderer/RendererTinySkia.cc:3583-3600 maps to the stage at third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Highp.cpp:364-378, third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Lowp.cpp:444-455. Geode: donner/gpu/shader/programs/ImageBlitSource.h:256-258, dispatched at :421-439 and composited at :442-466 resvg painting/mix-blend-mode/multiply.svg (active on TinyGolden and GeodeGolden); donner/svg/properties/tests/PropertyRegistry_tests.cc:1385 AdditionalKeywordProperties - - Both implementations walked against the formula; tiny-skia uses the premultiplied form, Geode demultiplies and uses the formula verbatim.
val:mix-blend-mode/screen conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#blendingscreen B(Cb, Cs) = Cb + Cs - Cb x Cs. donner/svg/properties/PropertyRegistry.cc:654-710 (keyword), :2940-2948 (registration) tiny-skia: donner/svg/renderer/RendererTinySkia.cc:3583-3600 maps to the stage at third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Highp.cpp:390-398, third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Lowp.cpp:456-467. Geode: donner/gpu/shader/programs/ImageBlitSource.h:260-262, dispatched at :421-439 and composited at :442-466 resvg painting/mix-blend-mode/screen.svg (active on TinyGolden and GeodeGolden); donner/svg/properties/tests/PropertyRegistry_tests.cc:1385 AdditionalKeywordProperties - - Both implementations walked against the formula; tiny-skia uses the premultiplied form, Geode demultiplies and uses the formula verbatim.
val:mix-blend-mode/overlay conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#blendingoverlay B(Cb, Cs) = HardLight(Cs, Cb). donner/svg/properties/PropertyRegistry.cc:654-710 (keyword), :2940-2948 (registration) tiny-skia: donner/svg/renderer/RendererTinySkia.cc:3583-3600 maps to the stage at third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Highp.cpp:1218-1233, third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Lowp.cpp:1032-1042. Geode: donner/gpu/shader/programs/ImageBlitSource.h:272-275, dispatched at :421-439 and composited at :442-466 resvg painting/mix-blend-mode/overlay.svg (active on TinyGolden and GeodeGolden); donner/svg/properties/tests/PropertyRegistry_tests.cc:1385 AdditionalKeywordProperties - - Both implementations walked against the formula; tiny-skia uses the premultiplied form, Geode demultiplies and uses the formula verbatim.
val:mix-blend-mode/darken conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#blendingdarken B(Cb, Cs) = min(Cb, Cs). donner/svg/properties/PropertyRegistry.cc:654-710 (keyword), :2940-2948 (registration) tiny-skia: donner/svg/renderer/RendererTinySkia.cc:3583-3600 maps to the stage at third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Highp.cpp:1146-1159, third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Lowp.cpp:996-1001. Geode: donner/gpu/shader/programs/ImageBlitSource.h:277-279, dispatched at :421-439 and composited at :442-466 resvg painting/mix-blend-mode/darken.svg (active on TinyGolden and GeodeGolden); donner/svg/properties/tests/PropertyRegistry_tests.cc:1385 AdditionalKeywordProperties - - Both implementations walked against the formula; tiny-skia uses the premultiplied form, Geode demultiplies and uses the formula verbatim.
val:mix-blend-mode/lighten conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#blendinglighten B(Cb, Cs) = max(Cb, Cs). donner/svg/properties/PropertyRegistry.cc:654-710 (keyword), :2940-2948 (registration) tiny-skia: donner/svg/renderer/RendererTinySkia.cc:3583-3600 maps to the stage at third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Highp.cpp:1161-1174, third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Lowp.cpp:1002-1007. Geode: donner/gpu/shader/programs/ImageBlitSource.h:281-283, dispatched at :421-439 and composited at :442-466 resvg painting/mix-blend-mode/lighten.svg (active on TinyGolden and GeodeGolden); donner/svg/properties/tests/PropertyRegistry_tests.cc:1385 AdditionalKeywordProperties - - Both implementations walked against the formula; tiny-skia uses the premultiplied form, Geode demultiplies and uses the formula verbatim.
val:mix-blend-mode/color-dodge conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#blendingcolordodge 0 when Cb is 0, 1 when Cs is 1, else min(1, Cb / (1 - Cs)). donner/svg/properties/PropertyRegistry.cc:654-710 (keyword), :2940-2948 (registration) tiny-skia: donner/svg/renderer/RendererTinySkia.cc:3583-3600 maps to the stage at third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Highp.cpp:450-486 (float pipeline only, third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Pipeline.cpp:17-31). Geode: donner/gpu/shader/programs/ImageBlitSource.h:285-301, dispatched at :421-439 and composited at :442-466 resvg painting/mix-blend-mode/color-dodge.svg (active on TinyGolden and GeodeGolden); donner/svg/properties/tests/PropertyRegistry_tests.cc:1385 AdditionalKeywordProperties - - Both implementations walked against the formula; tiny-skia uses the premultiplied form, Geode demultiplies and uses the formula verbatim.
val:mix-blend-mode/color-burn conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#blendingcolorburn 1 when Cb is 1, 0 when Cs is 0, else 1 - min(1, (1 - Cb) / Cs). donner/svg/properties/PropertyRegistry.cc:654-710 (keyword), :2940-2948 (registration) tiny-skia: donner/svg/renderer/RendererTinySkia.cc:3583-3600 maps to the stage at third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Highp.cpp:412-448 (float pipeline only, third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Pipeline.cpp:17-31). Geode: donner/gpu/shader/programs/ImageBlitSource.h:303-319, dispatched at :421-439 and composited at :442-466 resvg painting/mix-blend-mode/color-burn.svg (active on TinyGolden and GeodeGolden); donner/svg/properties/tests/PropertyRegistry_tests.cc:1385 AdditionalKeywordProperties - - Both implementations walked against the formula; tiny-skia uses the premultiplied form, Geode demultiplies and uses the formula verbatim.
val:mix-blend-mode/hard-light conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#blendinghardlight Multiply(Cb, 2 Cs) when Cs <= 0.5, else Screen(Cb, 2 Cs - 1). donner/svg/properties/PropertyRegistry.cc:654-710 (keyword), :2940-2948 (registration) tiny-skia: donner/svg/renderer/RendererTinySkia.cc:3583-3600 maps to the stage at third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Highp.cpp:1201-1216, third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Lowp.cpp:1020-1031. Geode: donner/gpu/shader/programs/ImageBlitSource.h:264-270, dispatched at :421-439 and composited at :442-466 resvg painting/mix-blend-mode/hard-light.svg (active on TinyGolden and GeodeGolden); donner/svg/properties/tests/PropertyRegistry_tests.cc:1385 AdditionalKeywordProperties - - Both implementations walked against the formula; tiny-skia uses the premultiplied form, Geode demultiplies and uses the formula verbatim.
val:mix-blend-mode/soft-light conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#blendingsoftlight Cb - (1 - 2 Cs) Cb (1 - Cb) when Cs <= 0.5, else Cb + (2 Cs - 1)(D(Cb) - Cb), with D the cubic below 0.25 and sqrt above. donner/svg/properties/PropertyRegistry.cc:654-710 (keyword), :2940-2948 (registration) tiny-skia: donner/svg/renderer/RendererTinySkia.cc:3583-3600 maps to the stage at third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Highp.cpp:1235-1259 (float pipeline only, third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Pipeline.cpp:17-31). Geode: donner/gpu/shader/programs/ImageBlitSource.h:321-350, dispatched at :421-439 and composited at :442-466 resvg painting/mix-blend-mode/soft-light.svg (active on TinyGolden and GeodeGolden); donner/svg/properties/tests/PropertyRegistry_tests.cc:1385 AdditionalKeywordProperties - - Geode uses the formula verbatim. tiny-skia uses the Skia premultiplied rearrangement (darkDst and liteDst terms), which is the same function; equivalence accepted from the passing pixel test, not re-derived term by term.
val:mix-blend-mode/difference conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#blendingdifference B(Cb, Cs) = abs(Cb - Cs). donner/svg/properties/PropertyRegistry.cc:654-710 (keyword), :2940-2948 (registration) tiny-skia: donner/svg/renderer/RendererTinySkia.cc:3583-3600 maps to the stage at third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Highp.cpp:1176-1189, third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Lowp.cpp:1008-1013. Geode: donner/gpu/shader/programs/ImageBlitSource.h:352-354, dispatched at :421-439 and composited at :442-466 resvg painting/mix-blend-mode/difference.svg (active on TinyGolden and GeodeGolden); donner/svg/properties/tests/PropertyRegistry_tests.cc:1385 AdditionalKeywordProperties - - Both implementations walked against the formula; tiny-skia uses the premultiplied form, Geode demultiplies and uses the formula verbatim.
val:mix-blend-mode/exclusion conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#blendingexclusion B(Cb, Cs) = Cb + Cs - 2 Cb Cs. donner/svg/properties/PropertyRegistry.cc:654-710 (keyword), :2940-2948 (registration) tiny-skia: donner/svg/renderer/RendererTinySkia.cc:3583-3600 maps to the stage at third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Highp.cpp:1191-1199, third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Lowp.cpp:1014-1019. Geode: donner/gpu/shader/programs/ImageBlitSource.h:356-358, dispatched at :421-439 and composited at :442-466 resvg painting/mix-blend-mode/exclusion.svg (active on TinyGolden and GeodeGolden); donner/svg/properties/tests/PropertyRegistry_tests.cc:1385 AdditionalKeywordProperties - - Both implementations walked against the formula; tiny-skia uses the premultiplied form, Geode demultiplies and uses the formula verbatim.
val:mix-blend-mode/hue conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#blendinghue SetLum(SetSat(Cs, Sat(Cb)), Lum(Cb)). donner/svg/properties/PropertyRegistry.cc:654-710 (keyword), :2940-2948 (registration) tiny-skia: donner/svg/renderer/RendererTinySkia.cc:3583-3600 maps to the stage at third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Highp.cpp:1263-1281 (float pipeline only, third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Pipeline.cpp:17-31). Geode: donner/gpu/shader/programs/ImageBlitSource.h:402-404, dispatched at :421-439 and composited at :442-466 resvg painting/mix-blend-mode/hue.svg (active on TinyGolden and GeodeGolden); donner/svg/properties/tests/PropertyRegistry_tests.cc:1385 AdditionalKeywordProperties - - Both implementations walked against the formula; tiny-skia uses the premultiplied form, Geode demultiplies and uses the formula verbatim.
val:mix-blend-mode/saturation conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#blendingsaturation SetLum(SetSat(Cb, Sat(Cs)), Lum(Cb)). donner/svg/properties/PropertyRegistry.cc:654-710 (keyword), :2940-2948 (registration) tiny-skia: donner/svg/renderer/RendererTinySkia.cc:3583-3600 maps to the stage at third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Highp.cpp:1283-1301 (float pipeline only, third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Pipeline.cpp:17-31). Geode: donner/gpu/shader/programs/ImageBlitSource.h:406-408, dispatched at :421-439 and composited at :442-466 resvg painting/mix-blend-mode/saturation.svg (active on TinyGolden and GeodeGolden); donner/svg/properties/tests/PropertyRegistry_tests.cc:1385 AdditionalKeywordProperties - - Both implementations walked against the formula; tiny-skia uses the premultiplied form, Geode demultiplies and uses the formula verbatim.
val:mix-blend-mode/color conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#blendingcolor SetLum(Cs, Lum(Cb)). donner/svg/properties/PropertyRegistry.cc:654-710 (keyword), :2940-2948 (registration) tiny-skia: donner/svg/renderer/RendererTinySkia.cc:3583-3600 maps to the stage at third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Highp.cpp:1303-1320 (float pipeline only, third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Pipeline.cpp:17-31). Geode: donner/gpu/shader/programs/ImageBlitSource.h:410-412, dispatched at :421-439 and composited at :442-466 resvg painting/mix-blend-mode/color.svg (active on TinyGolden and GeodeGolden); donner/svg/properties/tests/PropertyRegistry_tests.cc:1385 AdditionalKeywordProperties - - Both implementations walked against the formula; tiny-skia uses the premultiplied form, Geode demultiplies and uses the formula verbatim.
val:mix-blend-mode/luminosity conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#blendingluminosity SetLum(Cb, Lum(Cs)). donner/svg/properties/PropertyRegistry.cc:654-710 (keyword), :2940-2948 (registration) tiny-skia: donner/svg/renderer/RendererTinySkia.cc:3583-3600 maps to the stage at third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Highp.cpp:1322-1339 (float pipeline only, third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Pipeline.cpp:17-31). Geode: donner/gpu/shader/programs/ImageBlitSource.h:414-416, dispatched at :421-439 and composited at :442-466 resvg painting/mix-blend-mode/luminosity.svg (active on TinyGolden and GeodeGolden); donner/svg/properties/tests/PropertyRegistry_tests.cc:1385 AdditionalKeywordProperties - - Both implementations walked against the formula; tiny-skia uses the premultiplied form, Geode demultiplies and uses the formula verbatim.
val:mix-blend-mode/plus-lighter not-applicable https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#propdef-mix-blend-mode Not a value in this published TR (it appears only in linked test names); <blend-mode> lists 16 keywords. donner/svg/properties/PropertyRegistry.cc:654-710 (rejected) - resvg painting/mix-blend-mode/xor.svg shows an unknown keyword is ignored - - Defined in the Level 2 draft, which is out of baseline.
val:mix-blend-mode/plus-darker not-applicable https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#propdef-mix-blend-mode Not a value in this published TR. donner/svg/properties/PropertyRegistry.cc:654-710 (rejected) - - - - As above.
feat:compositing-1/blend-non-separable-helpers conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#blendingnonseparable Lum = 0.3 R + 0.59 G + 0.11 B; ClipColor, SetLum, Sat and SetSat as defined. n/a tiny-skia: third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Highp.cpp:687-731 (premultiplied variants, clip against alpha). Geode: donner/gpu/shader/programs/ImageBlitSource.h:366-400 resvg painting/mix-blend-mode/hue.svg, saturation.svg, color.svg, luminosity.svg (active on TinyGolden and GeodeGolden) - - -
feat:compositing-1/blend-formula-with-backdrop-alpha conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#blending Blend on non-premultiplied colors, clamp the result, weight it by backdrop alpha: Cr = (1 - ab) Cs + ab B(Cb, Cs), then composite. n/a Geode: donner/gpu/shader/programs/ImageBlitSource.h:442-466. tiny-skia: each stage adds s(1 - da) + d(1 - sa) to the blended term, for example third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Highp.cpp:1146-1159 resvg painting/mix-blend-mode/opacity-on-element.svg, opacity-on-group.svg and the per-mode cases use semi-transparent gradients (active on TinyGolden and GeodeGolden) - - Geode does not clamp B explicitly; every formula stays in range for in-range inputs, and the target is unorm.
feat:compositing-1/mix-blend-mode-creates-isolated-group conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#mix-blend-mode A blend mode other than normal makes the element a stacking context; the group is blended as a unit with its parent's content. donner/svg/properties/PropertyRegistry.cc:2940-2948 donner/svg/renderer/RendererDriver.cc:3356-3360; donner/svg/renderer/RenderingContext.cc:639-643; donner/svg/renderer/RendererTinySkia.cc:1730-1784; donner/svg/renderer/RendererGeode.cc:6229-6379 RendererDriver_tests.cc:779 EmitsIsolatedLayerForMixBlendMode, :1105; resvg painting/mix-blend-mode/opacity-on-group.svg - - -
prop:isolation conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#propdef-isolation Value auto or isolate; initial auto; not inherited; in SVG it decides whether a group is isolated. donner/svg/properties/PropertyRegistry.cc:211-231, :2931-2939 donner/svg/properties/PropertyRegistry.h:521; donner/svg/renderer/RendererDriver.cc:3355-3358; donner/svg/renderer/RenderingContext.cc:640 resvg painting/isolation/isolate.svg, as-property.svg (active on TinyGolden and GeodeGolden); donner/svg/properties/tests/PropertyRegistry_tests.cc:1385 - - Not a presentation attribute, matching painting/isolation/as-property.svg.
val:isolation/auto conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#isolation Not isolated unless another feature requires it. donner/svg/properties/PropertyRegistry.cc:211-231 donner/svg/renderer/RendererDriver.cc:3356-3358 resvg painting/mix-blend-mode/multiply.svg (default auto: the blended rect sees its earlier sibling); donner/svg/properties/tests/PropertyRegistry_tests.cc:1385 - - -
val:isolation/isolate conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#isolation The element becomes an isolated group. donner/svg/properties/PropertyRegistry.cc:211-231 donner/svg/renderer/RendererDriver.cc:3356-3360 resvg painting/isolation/isolate.svg (active on TinyGolden and GeodeGolden) - - -
prop:background-blend-mode not-applicable https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#propdef-background-blend-mode Blend mode per CSS background layer; applies to HTML elements. not registered (grep background-blend in donner/svg/properties/PropertyRegistry.cc found nothing) - - - - SVG elements have no CSS backgrounds.

Compositing and Blending 1: order, groups, isolation, backdrop (sections 3.1 to 3.3, 5 to 8, 10.3)

Key Class Spec anchor Requirement (paraphrase) Parse evidence Consume evidence Tests Impact Size Notes
feat:compositing-1/order-of-operations conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#compositingandblendingorder Filter first, then clipping, masking, blending and compositing. n/a donner/svg/renderer/RendererDriver.cc:3356-3380 (isolated layer outermost, then mask, clip path, filter innermost; pop order applies filter, clip, mask, then opacity and blend) resvg filters/filter/with-clip-path-and-mask.svg, masking/mask/with-opacity-1.svg, painting/mix-blend-mode/opacity-on-element.svg (active on TinyGolden and GeodeGolden) - - -
feat:compositing-1/svg-default-non-isolated-group conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#csscompositingrules_SVG Every SVG element forms a non-isolated group by default. n/a donner/svg/renderer/RendererDriver.cc:3356-3360 (no layer unless a trigger is present, children draw straight onto the parent surface) resvg painting/mix-blend-mode/multiply.svg and the other per-mode cases (the blended rect sees its sibling through the root) - - -
feat:compositing-1/isolation-trigger-opacity conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#csscompositingrules_SVG opacity makes the group isolated. n/a donner/svg/renderer/RendererDriver.cc:3356-3360 resvg painting/mix-blend-mode/opacity-on-group.svg; RendererDriver_tests.cc:746 - - -
feat:compositing-1/isolation-trigger-filters conformant-untested https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#csscompositingrules_SVG A filter makes the group isolated. n/a donner/svg/renderer/RendererDriver.cc:3380 (pushFilterStages renders the subtree into an offscreen source graphic); donner/svg/renderer/RendererTinySkia.cc:1900-2105 none that puts a blended child under a filtered group - - Isolated by construction: children draw into the filter's transparent source buffer.
feat:compositing-1/isolation-trigger-3d-transforms not-applicable https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#csscompositingrules_SVG 3D transforms isolate; 2D transforms must not. - - - - - Donner has no 3D transforms. The 2D half is the next row.
feat:compositing-1/2d-transforms-do-not-isolate conformant-untested https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#csscompositingrules_SVG A 2D transform must not cause isolation. n/a donner/svg/renderer/RendererDriver.cc:3346, :3356-3358 (transform is set on the renderer; it is not part of the layer condition) none specific - - -
feat:compositing-1/isolation-trigger-blending conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#csscompositingrules_SVG An element with a non-normal blend mode is itself an isolated group. n/a donner/svg/renderer/RendererDriver.cc:3356-3360 RendererDriver_tests.cc:779 - - -
feat:compositing-1/isolation-trigger-masking conformant-untested https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#csscompositingrules_SVG A masked element is an isolated group; the mask content is always isolated. n/a donner/svg/renderer/RendererDriver.cc:3364-3366, :3867-3965 (mask and content each render to an offscreen) none with a blended child under a mask (RendererDriver_tests.cc:638 covers the mask sequence only) - - -
feat:compositing-1/clip-path-does-not-isolate conformant-untested https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#csscompositingrules_SVG Clipping is not in the list of isolating features. n/a tiny-skia: donner/svg/renderer/RendererTinySkia.cc:1596-1625 (clip is a coverage mask, no surface). Geode: donner/svg/renderer/RendererGeode.cc:6172-6203 (scissor or clip mask, no layer; unverified for every clip shape) none specific - - RenderingContext.cc:630-633 counts a clip path as a layer for depth bookkeeping only.
feat:compositing-1/simple-alpha-compositing conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#simplealphacompositing co = cs + cb (1 - as) on premultiplied values; ao = as + ab (1 - as). n/a tiny-skia third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Highp.cpp:332-342; Geode premultiplied source-over pipeline state donner/gpu/shader/programs/ImageBlitSource.h:20 and unblended layer blit donner/svg/renderer/RendererGeode.cc:6380-6393 resvg painting/opacity/*, painting/fill-opacity/*, painting/stroke-opacity/* (active on TinyGolden and GeodeGolden) - - -
feat:compositing-1/general-formula conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#generalformula Blend in place, then composite with the Porter-Duff factors Fa and Fb. n/a donner/gpu/shader/programs/ImageBlitSource.h:442-466 (source-over factors); tiny-skia stages fold the same two steps resvg painting/mix-blend-mode/*.svg - - Only source-over is reachable from SVG.
feat:compositing-1/backdrop-definition conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#backdropCalc The backdrop is the result of compositing everything painted before the element in its group. n/a tiny-skia composites onto the current surface, donner/svg/renderer/RendererTinySkia.cc:3577-3580, :3618-3631. Geode snapshots the parent target before the blend blit, donner/svg/renderer/RendererGeode.cc:6315-6379 RendererGeode_tests.cc:4356 BlendedLayerPopPreservesBackdropOutsideClip; resvg painting/mix-blend-mode/*.svg - - -
feat:compositing-1/group-invariance conformant-untested https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#groupinvariance Adding or removing a group with default properties changes nothing. n/a donner/svg/renderer/RendererDriver.cc:3356-3358 (a plain g allocates no layer) none that asserts the invariance directly - - -
feat:compositing-1/isolated-group-initial-backdrop conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#isolatedgroups An isolated group starts from transparent black and meets the group backdrop only when the finished group is composited. n/a donner/svg/renderer/RendererTinySkia.cc:1751 (createTransparentPixmap); donner/svg/renderer/RendererGeode.cc:6280 (clear to rgba 0,0,0,0) resvg painting/isolation/isolate.svg (active on TinyGolden and GeodeGolden) - - -
feat:compositing-1/effect-of-isolation-on-blending conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#isolationblending Inside an isolated group, blending sees only the group's own content. n/a donner/svg/renderer/RendererDriver.cc:3356-3360 resvg painting/isolation/isolate.svg - - -
feat:compositing-1/root-element-group conformant-untested https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#pagebackdrop The root element forms an isolated root element group; everything else is composited into it. n/a donner/svg/renderer/RendererTinySkia.cc:1491-1518 (frame cleared to transparent); donner/svg/renderer/RendererGeode.cc:6036-6048 with transparent clear none that blends a top-level element and asserts the transparent backdrop explicitly (the per-mode resvg cases do so implicitly outside the green rect) - - Top-level blends see a transparent initial backdrop, as this section requires.
feat:compositing-1/root-group partial https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#rootgroup The root group covers the canvas below the root element group; browsers commonly use opaque white, which is not required. n/a No root group: output keeps alpha (donner/svg/renderer/RendererTinySkia.cc:3305-3322 straight-alpha snapshot) none low S Permitted by this section. See the SVG render row on the standalone-document white backdrop for the stricter CR sentence.
feat:compositing-1/image-content-is-isolated divergent https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#isolation The content of an image (for example an SVG referenced as an image) is always rendered into an isolated group and does not blend with the host backdrop. n/a donner/svg/renderer/RendererDriver.cc:3440-3460 and :4688-4740: an SVG referenced by an image element is traversed straight into the host renderer under a viewport clip, with no isolated layer none (resvg structure/image/embedded-svg.svg has no blend mode inside the sub-document) low S New finding. A mix-blend-mode inside the referenced SVG blends with the host document's content. Fix: push an isolated layer around drawSubDocument.
feat:compositing-1/blend-fallback-on-non-copyable-target divergent https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#mix-blend-mode The blend mode must be applied whenever it is not normal. n/a Geode only: donner/svg/renderer/RendererGeode.cc:6326-6331, :6376-6377 fall back to plain source-over when the embedder's target texture cannot be copied from or the snapshot allocation fails; donner/svg/renderer/RendererGeode.cc:6238-6258 drops the layer content when the layer texture cannot be allocated none for the fallback low S Silent. tiny-skia has no equivalent fallback (it skips the layer only when the surface budget rejects it, donner/svg/renderer/RendererTinySkia.cc:1747-1750).
feat:compositing-1/blending-color-space spec-ambiguity https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#blendingnonseparable The TR refers to a blending color space but never defines how it is chosen; SVG 2 assigns it to color-interpolation (sRGB or linearRGB). donner/svg/properties/PropertyRegistry.cc:1057-1076 (color-interpolation parses) Both renderers blend and composite gamma-encoded sRGB bytes (donner/svg/renderer/RendererGeode.cc:92 unorm targets; tiny-skia 8-bit premultiplied pixmaps). color-interpolation has no compositing consumer: its only readers are masks (donner/svg/renderer/RendererDriver.cc:3846-3859) and animation none low L See feat:svg2-render/compositing-color-space.
feat:compositing-1/knockout-groups not-applicable https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#changes Knockout was removed from this specification. - - - - - Nothing to implement.
feat:compositing-1/canvas-2d-globalcompositeoperation not-applicable https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#canvascompositingandblending Canvas 2D globalCompositeOperation takes blend modes and Porter-Duff operators. - - - - - Canvas API, no script engine.
feat:compositing-1/html-stacking-context-rule not-applicable https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#csscompositingrules_CSS In HTML everything that creates a stacking context is an isolated group. - - - - - HTML only.

Compositing and Blending 1: Porter-Duff operators (section 9)

Key Class Spec anchor Requirement (paraphrase) Parse evidence Consume evidence Tests Impact Size Notes
feat:compositing-1/porter-duff-source-over conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#porterduffcompositingoperators_srcover Fa = 1, Fb = 1 - as. The only operator CSS and SVG documents can select. n/a tiny-skia third_party/tiny-skia-cpp/src/tiny_skia/pipeline/Highp.cpp:332-342; Geode pipeline blend state donner/gpu/shader/programs/ImageBlitSource.h:20 resvg painting/opacity/group-opacity.svg (active on TinyGolden and GeodeGolden) - - -
feat:compositing-1/porter-duff-clear not-applicable https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#porterduffcompositingoperators_clear Fa = 0, Fb = 0. - - - - - This TR exposes the operator only through Canvas 2D. No SVG property selects it (resvg painting/mix-blend-mode/xor.svg confirms xor is not a mix-blend-mode value). tiny-skia carries the stage (third_party/tiny-skia-cpp/src/tiny_skia/BlendMode.cpp:20-48) for internal use; feComposite belongs to Filter Effects.
feat:compositing-1/porter-duff-copy not-applicable https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#porterduffcompositingoperators_src Fa = 1, Fb = 0. - - - - - This TR exposes the operator only through Canvas 2D. No SVG property selects it (resvg painting/mix-blend-mode/xor.svg confirms xor is not a mix-blend-mode value). tiny-skia carries the stage (third_party/tiny-skia-cpp/src/tiny_skia/BlendMode.cpp:20-48) for internal use; feComposite belongs to Filter Effects.
feat:compositing-1/porter-duff-destination not-applicable https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#porterduffcompositingoperators_dst Fa = 0, Fb = 1. - - - - - This TR exposes the operator only through Canvas 2D. No SVG property selects it (resvg painting/mix-blend-mode/xor.svg confirms xor is not a mix-blend-mode value). tiny-skia carries the stage (third_party/tiny-skia-cpp/src/tiny_skia/BlendMode.cpp:20-48) for internal use; feComposite belongs to Filter Effects.
feat:compositing-1/porter-duff-destination-over not-applicable https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#porterduffcompositingoperators_dstover Fa = 1 - ab, Fb = 1. - - - - - This TR exposes the operator only through Canvas 2D. No SVG property selects it (resvg painting/mix-blend-mode/xor.svg confirms xor is not a mix-blend-mode value). tiny-skia carries the stage (third_party/tiny-skia-cpp/src/tiny_skia/BlendMode.cpp:20-48) for internal use; feComposite belongs to Filter Effects.
feat:compositing-1/porter-duff-source-in not-applicable https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#porterduffcompositingoperators_srcin Fa = ab, Fb = 0. - - - - - This TR exposes the operator only through Canvas 2D. No SVG property selects it (resvg painting/mix-blend-mode/xor.svg confirms xor is not a mix-blend-mode value). tiny-skia carries the stage (third_party/tiny-skia-cpp/src/tiny_skia/BlendMode.cpp:20-48) for internal use; feComposite belongs to Filter Effects.
feat:compositing-1/porter-duff-destination-in not-applicable https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#porterduffcompositingoperators_dstin Fa = 0, Fb = as. - - - - - This TR exposes the operator only through Canvas 2D. No SVG property selects it (resvg painting/mix-blend-mode/xor.svg confirms xor is not a mix-blend-mode value). tiny-skia carries the stage (third_party/tiny-skia-cpp/src/tiny_skia/BlendMode.cpp:20-48) for internal use; feComposite belongs to Filter Effects.
feat:compositing-1/porter-duff-source-out not-applicable https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#porterduffcompositingoperators_srcout Fa = 1 - ab, Fb = 0. - - - - - This TR exposes the operator only through Canvas 2D. No SVG property selects it (resvg painting/mix-blend-mode/xor.svg confirms xor is not a mix-blend-mode value). tiny-skia carries the stage (third_party/tiny-skia-cpp/src/tiny_skia/BlendMode.cpp:20-48) for internal use; feComposite belongs to Filter Effects.
feat:compositing-1/porter-duff-destination-out not-applicable https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#porterduffcompositingoperators_dstout Fa = 0, Fb = 1 - as. - - - - - This TR exposes the operator only through Canvas 2D. No SVG property selects it (resvg painting/mix-blend-mode/xor.svg confirms xor is not a mix-blend-mode value). tiny-skia carries the stage (third_party/tiny-skia-cpp/src/tiny_skia/BlendMode.cpp:20-48) for internal use; feComposite belongs to Filter Effects.
feat:compositing-1/porter-duff-source-atop not-applicable https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#porterduffcompositingoperators_srcatop Fa = ab, Fb = 1 - as. - - - - - This TR exposes the operator only through Canvas 2D. No SVG property selects it (resvg painting/mix-blend-mode/xor.svg confirms xor is not a mix-blend-mode value). tiny-skia carries the stage (third_party/tiny-skia-cpp/src/tiny_skia/BlendMode.cpp:20-48) for internal use; feComposite belongs to Filter Effects.
feat:compositing-1/porter-duff-destination-atop not-applicable https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#porterduffcompositingoperators_dstatop Fa = 1 - ab, Fb = as. - - - - - This TR exposes the operator only through Canvas 2D. No SVG property selects it (resvg painting/mix-blend-mode/xor.svg confirms xor is not a mix-blend-mode value). tiny-skia carries the stage (third_party/tiny-skia-cpp/src/tiny_skia/BlendMode.cpp:20-48) for internal use; feComposite belongs to Filter Effects.
feat:compositing-1/porter-duff-xor not-applicable https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#porterduffcompositingoperators_xor Fa = 1 - ab, Fb = 1 - as. - - - - - This TR exposes the operator only through Canvas 2D. No SVG property selects it (resvg painting/mix-blend-mode/xor.svg confirms xor is not a mix-blend-mode value). tiny-skia carries the stage (third_party/tiny-skia-cpp/src/tiny_skia/BlendMode.cpp:20-48) for internal use; feComposite belongs to Filter Effects.
feat:compositing-1/porter-duff-lighter not-applicable https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#porterduffcompositingoperators_plus Fa = 1, Fb = 1. - - - - - This TR exposes the operator only through Canvas 2D. No SVG property selects it (resvg painting/mix-blend-mode/xor.svg confirms xor is not a mix-blend-mode value). tiny-skia carries the stage (third_party/tiny-skia-cpp/src/tiny_skia/BlendMode.cpp:20-48) for internal use; feComposite belongs to Filter Effects.
feat:compositing-1/group-compositing-with-porter-duff not-applicable https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#groupcompositing Behavior of backdrop-dependent operators on the first element of an isolated group. - - - - - Only source-over is reachable.

CSS Images 3 as used by SVG: image values, image-rendering, object-fit, image-orientation

Key Class Spec anchor Requirement (paraphrase) Parse evidence Consume evidence Tests Impact Size Notes
feat:css-images-3/image-type-url not-applicable https://www.w3.org/TR/2023/CRD-css-images-3-20231218/#image-values <image> is <url> or <gradient>; a url() image is fetched and decoded. - - - - - No SVG 2 CR property handled in this ledger takes <image>: fill and stroke take <paint>, and image content comes from the image element's href. The CSS Masking mask-image case belongs to the masking ledger.
feat:css-images-3/linear-gradient() missing https://www.w3.org/TR/2023/CRD-css-images-3-20231218/#funcdef-linear-gradient linear-gradient( [ <angle> or to <side-or-corner> ]? , <color-stop-list> ) as an <image>. No CSS gradient parser: grep for the function names in donner/css and donner/svg/properties found nothing none none low L Only reachable in SVG through CSS Masking mask-image (a CSS gradient as a mask source); not valid as a fill or stroke paint. Owned by the masking ledger; recorded here because the function is defined in this spec.
feat:css-images-3/radial-gradient() missing https://www.w3.org/TR/2023/CRD-css-images-3-20231218/#funcdef-radial-gradient radial-gradient( [ <radial-shape> or <radial-size> ]? [ at <position> ]? , <color-stop-list> ) with circle, ellipse, the four extent keywords and explicit sizes. as above none none low L As above.
feat:css-images-3/repeating-linear-gradient() missing https://www.w3.org/TR/2023/CRD-css-images-3-20231218/#funcdef-repeating-linear-gradient Repeating form of linear-gradient(). as above none none low S As above.
feat:css-images-3/repeating-radial-gradient() missing https://www.w3.org/TR/2023/CRD-css-images-3-20231218/#funcdef-repeating-radial-gradient Repeating form of radial-gradient(). as above none none low S As above.
feat:css-images-3/color-stop-list missing https://www.w3.org/TR/2023/CRD-css-images-3-20231218/#typedef-color-stop-list Color stops with optional positions and color hints; premultiplied interpolation; stop fixup. as above none none low S As above. SVG gradient stops are a separate mechanism (paint server ledger).
feat:css-images-3/default-sizing-algorithm conformant https://www.w3.org/TR/2023/CRD-css-images-3-20231218/#default-sizing A replaced image without a specified size takes its natural dimensions, or resolves a missing dimension from the natural aspect ratio. n/a (image element geometry) donner/svg/renderer/RendererDriver.cc:3463-3490 with the sized-element bounds computed in donner/svg/components/layout/LayoutSystem.cc (calculateSizedElementBounds, :845 onward) resvg structure/image/no-width.svg, no-height.svg, no-width-and-height.svg, no-height-non-square.svg (active on TinyGolden and GeodeGolden) - - Owned in detail by the embedded-content ledger.
prop:image-rendering conformant https://www.w3.org/TR/2023/CRD-css-images-3-20231218/#propdef-image-rendering Value auto, smooth, high-quality, pixelated or crisp-edges; initial auto; inherited; applies to all elements; optimizeSpeed and optimizeQuality must still be accepted. donner/svg/properties/PropertyRegistry.cc:233-263, :2949-2957; presentation attribute donner/svg/properties/PropertyRegistry.cc:2467 donner/svg/properties/PropertyRegistry.h:525 (inherited); donner/svg/renderer/ImageSampling.h:46-56 donner/svg/properties/tests/PropertyRegistry_tests.cc:1531-1550; resvg painting/image-rendering/optimizeSpeed.svg (TinyGolden only), optimizeSpeed-on-SVG.svg, on-feImage.svg - - The SVG 2 CR property table lists only auto, optimizeQuality and optimizeSpeed (painting.html#ImageRendering); Donner accepts the union.
val:image-rendering/auto conformant https://www.w3.org/TR/2023/CRD-css-images-3-20231218/#valdef-image-rendering-auto UA-dependent scaling; the SVG 2 CR asks for at least nearest neighbor and prefers bilinear or better. donner/svg/properties/PropertyRegistry.cc:233-263 donner/svg/renderer/ImageSampling.h:46-56 (Mitchell cubic); donner/svg/renderer/RendererTinySkia.cc:592-600; donner/svg/renderer/RendererGeode.cc:7215-7220 resvg structure/image/preserveAspectRatio=*.svg against resvg 0.49 references (active on TinyGolden and GeodeGolden) - - -
val:image-rendering/smooth conformant https://www.w3.org/TR/2023/CRD-css-images-3-20231218/#valdef-image-rendering-smooth A smoothing algorithm such as bilinear. donner/svg/properties/PropertyRegistry.cc:233-263 donner/svg/renderer/ImageSampling.h:46-56 (bilinear); donner/svg/renderer/RendererTinySkia.cc:592-600; donner/svg/renderer/RendererGeode.cc:7215-7220 RendererGeodeGolden_tests.cc:494 (smooth sampling golden); RendererPublicApi_tests.cc:5290-5330 - - -
val:image-rendering/high-quality conformant https://www.w3.org/TR/2023/CRD-css-images-3-20231218/#valdef-image-rendering-high-quality As smooth with a preference for higher quality. donner/svg/properties/PropertyRegistry.cc:233-263 donner/svg/renderer/ImageSampling.h:46-56 (Mitchell cubic); donner/svg/renderer/RendererTinySkia.cc:592-600; donner/svg/renderer/RendererGeode.cc:7215-7220 RendererPublicApi_tests.cc:5302-5306 - - -
val:image-rendering/pixelated conformant https://www.w3.org/TR/2023/CRD-css-images-3-20231218/#valdef-image-rendering-pixelated Nearest neighbor to the closest integer multiple of the natural size, then smooth scaling to the target. donner/svg/properties/PropertyRegistry.cc:233-263 donner/svg/renderer/ImageSampling.h:46-56 (PixelatedSmooth: integer nearest step then bilinear); donner/svg/renderer/RendererTinySkia.cc:592-600; donner/svg/renderer/RendererGeode.cc:7215-7220 RendererGeodeGolden_tests.cc:486 (2x2 PNG pixelated to 32x32); RendererGeode_tests.cc:4231 DrawImagePixelatedInterpolatesPremultipliedColors - - -
val:image-rendering/crisp-edges conformant https://www.w3.org/TR/2023/CRD-css-images-3-20231218/#valdef-image-rendering-crisp-edges No smoothing or color blending; nearest neighbor is acceptable. donner/svg/properties/PropertyRegistry.cc:233-263 donner/svg/renderer/ImageSampling.h:46-56 (nearest); donner/svg/renderer/RendererTinySkia.cc:592-600; donner/svg/renderer/RendererGeode.cc:7215-7220 RendererPublicApi_tests.cc:4210, :4337 (crisp-edges on feImage), :5300-5306 - - -
val:image-rendering/optimizeSpeed conformant https://www.w3.org/TR/2023/CRD-css-images-3-20231218/#the-image-rendering Deprecated; must behave as crisp-edges. donner/svg/properties/PropertyRegistry.cc:233-263 donner/svg/renderer/ImageSampling.h:46-56 (nearest); donner/svg/renderer/RendererTinySkia.cc:592-600; donner/svg/renderer/RendererGeode.cc:7215-7220 resvg painting/image-rendering/optimizeSpeed.svg on both backends (donner/svg/renderer/tests/resvg_test_suite.cc:877-879); RendererRegressionTests.ImageNearestSweepMatchesSoftwareRendererTexels - - Both backends map pixel centers through the single-precision inverse of the image placement. Where a texel boundary passes exactly through a pixel center, the selected texel can still follow the platform's multiply-add contraction.
val:image-rendering/optimizeQuality divergent https://www.w3.org/TR/2023/CRD-css-images-3-20231218/#the-image-rendering Deprecated; must behave as smooth. donner/svg/properties/PropertyRegistry.cc:233-263 donner/svg/renderer/ImageSampling.h:46-56 (Mitchell cubic, while smooth uses bilinear); donner/svg/renderer/RendererTinySkia.cc:592-600; donner/svg/renderer/RendererGeode.cc:7215-7220 RendererPublicApi_tests.cc:5314-5321 low S CSS Images says the alias behaves the same as smooth; Donner gives it the auto kernel instead (documented at donner/svg/core/ImageRendering.h:19-20 as following resvg). The SVG 2 CR only requires at least bilinear, which the cubic satisfies, so the visible effect is a slightly sharper resample.
feat:svg2-painting/image-resampling-color-space conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#ImageRendering Resampling happens in a truecolor space; high-quality viewers should resample in a linear color space. n/a donner/svg/renderer/RendererTinySkia.cc:575-581 (resamples premultiplied 8-bit sRGB RGBA) none specific - - The truecolor requirement is met. Linear-light resampling is a should for high-quality viewers and is not done.
prop:object-fit missing https://www.w3.org/TR/2023/CRD-css-images-3-20231218/#propdef-object-fit fill, contain, cover, none or scale-down; initial fill; sizes the image content within the positioning rectangle. The CR's image element text applies it before preserveAspectRatio. not registered: grep for object-fit and objectFit in donner found nothing none none low M preserveAspectRatio covers the common cases. The five value rows share this work.
val:object-fit/fill missing https://www.w3.org/TR/2023/CRD-css-images-3-20231218/#valdef-object-fit-fill Content fills the box, ignoring aspect ratio. not registered none none low S Part of prop:object-fit.
val:object-fit/contain missing https://www.w3.org/TR/2023/CRD-css-images-3-20231218/#valdef-object-fit-contain Largest size that fits while keeping the aspect ratio. not registered none none low S Part of prop:object-fit.
val:object-fit/cover missing https://www.w3.org/TR/2023/CRD-css-images-3-20231218/#valdef-object-fit-cover Smallest size that covers the box while keeping the aspect ratio. not registered none none low S Part of prop:object-fit.
val:object-fit/none missing https://www.w3.org/TR/2023/CRD-css-images-3-20231218/#valdef-object-fit-none Natural size, not resized. not registered none none low S Part of prop:object-fit.
val:object-fit/scale-down missing https://www.w3.org/TR/2023/CRD-css-images-3-20231218/#valdef-object-fit-scale-down The smaller result of none and contain. not registered none none low S Part of prop:object-fit.
prop:object-position missing https://www.w3.org/TR/2023/CRD-css-images-3-20231218/#propdef-object-position <position>, initial 50% 50%; aligns the content inside the box. not registered: grep for object-position found nothing none none low S Follows object-fit.
prop:image-orientation missing https://www.w3.org/TR/2023/CRD-css-images-3-20231218/#propdef-image-orientation from-image (initial), none, or an angle with optional flip; from-image applies the image's own orientation metadata such as EXIF. The property is optional for implementations. not registered: grep for image-orientation and imageOrientation in donner found nothing; the decoder ignores EXIF (grep for Exif and orientation in third_party/stb/stb_image.h found nothing) none none low M A JPEG with an EXIF rotation renders unrotated, unlike browsers where from-image is the default.

SVG 2 render chapter: rendering tree, display and visibility (sections 3.1, 3.2)

Key Class Spec anchor Requirement (paraphrase) Parse evidence Consume evidence Tests Impact Size Notes
feat:svg2-render/conformance-deviation not-applicable https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#Introduction Implementations follow the rendering model, with deviations permitted by the conformance appendix and device limits. - - - - - Framing text; the concrete rules follow.
feat:svg2-render/never-rendered-elements conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#Definitions clipPath, defs, desc, linearGradient, marker, mask, metadata, pattern, radialGradient, script, style, title, and a symbol that is not a use instance root are never rendered directly. RenderingBehavior::Nonrenderable on defs, desc, title, metadata, linearGradient, radialGradient, clipPath, filter and unknown elements (donner/svg/SVGDefsElement.cc:11, SVGDescElement.cc:15, SVGTitleElement.cc:15, SVGMetadataElement.cc:15, SVGLinearGradientElement.cc:12, SVGRadialGradientElement.cc:12, SVGClipPathElement.cc:14, SVGUnknownElement.cc:12); ShadowOnlyChildren on marker, mask, pattern, symbol (SVGMarkerElement.cc:26, SVGMaskElement.cc:22, SVGPatternElement.cc:32, SVGSymbolElement.cc:26); style and symbol get display none in the UA sheet (donner/svg/core/UserAgentStylesheet.h:14-15) donner/svg/renderer/RenderingContext.cc:426-437 (Nonrenderable returns no instance; ShadowOnlyChildren skips light-tree children) resvg structure/defs/*, structure/style/*, structure/symbol/* (active on TinyGolden and GeodeGolden) - - script has no element class and falls under the unknown-element rule.
feat:svg2-render/renderable-elements partial https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#Definitions a, circle, ellipse, foreignObject, g, image, line, path, polygon, polyline, rect, svg, switch, text, textPath, tspan, use, and an instance-root symbol can be rendered. Element classes exist for all but foreignObject (ls donner/svg shows no foreignObject class; it becomes an unknown, non-rendered element) donner/svg/renderer/RenderingContext.cc:376-655 resvg shapes/*, structure/*, text/* suites low L foreignObject is the only renderable type with no implementation; its content is skipped. Owned by the embedded-content ledger.
feat:svg2-render/not-rendered-never-rendered-types conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#Rendered-vs-NonRendered Situation 1: never-rendered element types are not rendered. as feat:svg2-render/never-rendered-elements donner/svg/renderer/RenderingContext.cc:426-437 resvg structure/defs/* - - -
feat:svg2-render/not-rendered-conditional-processing conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#Rendered-vs-NonRendered Situation 2: elements excluded by conditional processing attributes or switch are not rendered. n/a donner/svg/renderer/RenderingContext.cc:650, :723 (switch selects one child) resvg structure/switch/*, structure/systemLanguage/* (active on TinyGolden and GeodeGolden) - - Owned in detail by the structure ledger.
feat:svg2-render/not-rendered-display-none conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#Rendered-vs-NonRendered Situation 3: an element whose computed display is none is not rendered. donner/svg/properties/PropertyRegistry.cc:100-148 donner/svg/renderer/RenderingContext.cc:442-444 resvg painting/display/none-on-rect.svg, none-on-svg.svg, none-on-tspan-1.svg (active on TinyGolden and GeodeGolden) - - -
feat:svg2-render/not-rendered-detached conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#Rendered-vs-NonRendered Situation 4: elements detached from the DOM tree are not rendered. n/a donner/svg/renderer/RenderingContext.cc:710-730 (traversal starts at the document root and follows TreeComponent links only) none specific - - True by construction.
feat:svg2-render/not-rendered-descendants conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#Rendered-vs-NonRendered Situation 5: descendants of a non-rendered element are not rendered. n/a donner/svg/renderer/RenderingContext.cc:711-714 (traverseTree returns before visiting children when no instance is prepared) resvg painting/display/none-on-svg.svg; structure/defs/* - - -
feat:svg2-render/non-rendered-side-effects conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#Rendered-vs-NonRendered Non-rendered elements have no visual effect unless referenced, do not contribute to clip or mask geometry or bounding boxes, and receive no pointer events or focus; they still take part in the cascade. n/a donner/svg/renderer/RenderingContext.cc:442-444 (no instance means no draw, no hit test target) resvg painting/display/bBox-impact.svg, none-on-clipPath.svg - - Bounding-box and hit-testing consequences are owned by the geometry and interactivity ledgers; only the rendering half was read here.
val:display/none conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#VisibilityControl display none removes a normally rendered graphics, text content or container element and its descendants from the rendering tree. donner/svg/properties/PropertyRegistry.cc:100-148, :2967-2975; presentation attribute donner/svg/properties/PropertyRegistry.cc:2450 donner/svg/renderer/RenderingContext.cc:442-444 resvg painting/display/none-on-rect.svg, none-on-svg.svg, none-on-tspan-1.svg, none-on-tspan-2.svg, bBox-impact.svg (active on TinyGolden and GeodeGolden) - - none-on-tref.svg is excluded as removed in SVG 2 (donner/svg/renderer/tests/resvg_test_suite.cc:826-828).
val:display/other-values conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#VisibilityControl Any display value other than none renders the element as normal; the definition of the property is CSS 2.1. donner/svg/properties/PropertyRegistry.cc:100-148 (accepts the CSS 2.1 keywords inline, block, list-item, inline-block and the table values) donner/svg/renderer/RenderingContext.cc:442-444 (only None is tested) donner/svg/properties/tests/PropertyRegistry_tests.cc:1654 DisplayAnchorVisibilityOverflowAndPointerEventsErrors (parses each accepted display keyword at :1676) - - Values added after CSS 2.1 (contents, flex, grid, flow-root, multi-keyword forms) are rejected as invalid, so a lower-priority display:none would win over them. That is outside the CR's CSS 2.1 baseline.
feat:svg2-render/display-not-inherited conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#VisibilityControl display is not inherited. n/a donner/svg/properties/PropertyRegistry.h:180 (default cascade, initial inline) resvg painting/display/none-on-rect.svg (siblings and parents still render) - - -
feat:svg2-render/display-none-on-never-rendered conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#VisibilityControl display none on a never-rendered element, or on one excluded by conditional processing, has no effect. n/a Paint servers and clip paths are resolved by reference, not through the render-tree display check resvg painting/display/none-on-clipPath.svg, none-on-defs.svg, none-on-linearGradient.svg (active on TinyGolden and GeodeGolden) - - -
feat:svg2-render/display-none-still-referenceable conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#VisibilityControl display none does not prevent an element from being referenced by others. n/a as above resvg painting/display/none-on-defs.svg, none-on-linearGradient.svg - - The path-referenced-by-textPath example in the CR was not checked (text ledger).
val:visibility/hidden conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#VisibilityControl visibility hidden on a graphics element or use: not painted, but still in the rendering tree, contributing to bounding boxes and layout. The same SVG 2 sentence also lists clipping paths; that clause is not covered by this class, see Notes. donner/svg/properties/PropertyRegistry.cc:886-906, :2985-2993; presentation attribute donner/svg/properties/PropertyRegistry.cc:2499 donner/svg/renderer/RenderingContext.cc:509-511, :537 (instance.visible gates drawing only) resvg painting/visibility/hidden-on-shape.svg, bbox-impact-1.svg, bbox-impact-2.svg, bbox-impact-3.svg, hidden-on-tspan.svg (active on TinyGolden and GeodeGolden) - - Conformant for painting and bounding boxes. Clipping-path contribution is a spec conflict, not covered by the tests named here: SVG 2 (render.html 3.2.3) says a hidden element still contributes to clipping paths; CSS Masking 1 says a clipPath child made invisible by visibility does not contribute. The two normative texts conflict; Donner follows CSS Masking (donner/svg/renderer/RenderingContext.cc:887-890). It is classed spec-ambiguity in clipping_masking.md (feat:svg2-render/visibility-hidden-in-clip) and styling_properties.md (feat:svg2/render-visibility-hidden-clip-contribution).
val:visibility/collapse conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#VisibilityControl collapse behaves as hidden. donner/svg/properties/PropertyRegistry.cc:896-897 donner/svg/renderer/RenderingContext.cc:509 (anything other than Visible) resvg painting/visibility/collapse-on-tspan.svg - - -
val:visibility/visible conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#VisibilityControl Initial value; the element is painted. donner/svg/properties/PropertyRegistry.cc:892-893 donner/svg/renderer/RenderingContext.cc:509 resvg painting/visibility/hidden-on-group.svg (a visible child of a hidden group is painted) - - -
feat:svg2-render/visibility-inherited-not-on-containers conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#VisibilityControl visibility is inherited and has no effect on a container or use itself; a descendant can set it back to visible. n/a donner/svg/properties/PropertyRegistry.h:190 (inherited); donner/svg/renderer/RenderingContext.cc:509-511 resvg painting/visibility/hidden-on-group.svg (active on TinyGolden and GeodeGolden) - - -
feat:svg2-render/reused-graphics-shadow-tree conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#ReusedGraphics Shadow tree content is rendered like normal content, as if the host were a container, with style resolved independently. n/a donner/svg/renderer/RenderingContext.cc:426-437 (instance copies), :376-655 resvg structure/use/*, structure/symbol/* (active on TinyGolden and GeodeGolden) - - Owned in detail by the structure ledger.
feat:svg2-render/use-is-non-isolated-group conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#ReusedGraphics For blending, use forms a non-isolated group. n/a donner/svg/renderer/RendererDriver.cc:3356-3358 (no layer for a plain use) none with a blend mode inside a use - - -
feat:svg2-render/graphical-effects-are-isolated partial https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#ReusedGraphics Marker, paint server, clipPath and mask content is rendered independently as a stacking context and an isolated group, then used as a flattened image. n/a Pattern: rendered into its own tile (donner/svg/renderer/RendererDriver.cc:3969-4030). Mask: own offscreen (donner/svg/renderer/RendererDriver.cc:3867-3965). Marker: drawn inline onto the current surface under a clip (donner/svg/renderer/RendererDriver.cc:4293-4400), not isolated none with a blend mode inside a marker low S A mix-blend-mode on marker content blends with whatever is already painted, including the marked shape. New finding.
feat:svg2-render/display-inside-graphical-effects conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#ReusedGraphics display none on child content of an effect element excludes it; display none on the effect element or an ancestor does not disable the effect. n/a as feat:svg2-render/display-none-on-never-rendered resvg painting/display/none-on-clipPath.svg, none-on-linearGradient.svg, none-on-defs.svg - - The child-content half is unverified for masks and patterns.

SVG 2 render chapter: painters model, order, stacking contexts, groups, opacity (sections 3.3 to 3.9)

Key Class Spec anchor Requirement (paraphrase) Parse evidence Consume evidence Tests Impact Size Notes
feat:svg2-render/painters-model conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#PaintersModel Paint is applied in successive operations; each result becomes background for the next. n/a donner/svg/renderer/RendererDriver.cc:3320-3400 (per-instance draw loop onto the current surface) resvg painting/opacity/mixed-group-opacity.svg and the structure suites (active on TinyGolden and GeodeGolden) - - -
feat:svg2-render/document-order conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#RenderingOrder Elements are painted in document order within a stacking context; a stacking context is atomic for its parent. n/a donner/svg/renderer/RenderingContext.cc:376-655 builds render instances in tree order with a monotonically increasing drawOrder (donner/svg/renderer/RenderingContext.cc:472); donner/svg/renderer/RendererDriver.cc traverses them in that order resvg structure/g/deeply-nested-groups.svg; painting/mix-blend-mode/* (order-dependent results) - - paint-order reordering of fill, stroke and markers is in the painting ledger.
feat:svg2-render/stacking-context-document-element conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#EstablishingStackingContex A stacking context is established: at the document element when it is an svg. n/a donner/svg/renderer/RenderingContext.cc:376-655 builds render instances in tree order with a monotonically increasing drawOrder (donner/svg/renderer/RenderingContext.cc:472); donner/svg/renderer/RendererDriver.cc traverses them in that order none specific - - A stacking context has no observable effect here beyond atomic painting in document order, because the SVG 2 CR defines no z-ordering property; tree-order traversal already guarantees it. Whether the element is also an isolated group is recorded in the Compositing rows.
feat:svg2-render/stacking-context-outermost-svg conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#EstablishingStackingContex A stacking context is established: at an outermost svg element (parent not in the SVG namespace). n/a donner/svg/renderer/RenderingContext.cc:376-655 builds render instances in tree order with a monotonically increasing drawOrder (donner/svg/renderer/RenderingContext.cc:472); donner/svg/renderer/RendererDriver.cc traverses them in that order none specific - - A stacking context has no observable effect here beyond atomic painting in document order, because the SVG 2 CR defines no z-ordering property; tree-order traversal already guarantees it. Whether the element is also an isolated group is recorded in the Compositing rows.
feat:svg2-render/stacking-context-foreignObject not-applicable https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#EstablishingStackingContex foreignObject always establishes a stacking context, ordered by CSS 2.1 Appendix E. - - - - - foreignObject is not implemented (see feat:svg2-render/renderable-elements).
feat:svg2-render/stacking-context-image conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#EstablishingStackingContex A stacking context is established: always at an image element. n/a donner/svg/renderer/RenderingContext.cc:376-655 builds render instances in tree order with a monotonically increasing drawOrder (donner/svg/renderer/RenderingContext.cc:472); donner/svg/renderer/RendererDriver.cc traverses them in that order none specific - - An SVG image is drawn as one unit under a viewport clip (donner/svg/renderer/RendererDriver.cc:4688-4740). A stacking context has no observable effect here beyond atomic painting in document order, because the SVG 2 CR defines no z-ordering property; tree-order traversal already guarantees it. Whether the element is also an isolated group is recorded in the Compositing rows.
feat:svg2-render/stacking-context-marker conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#EstablishingStackingContex A stacking context is established: always at a marker element. n/a donner/svg/renderer/RenderingContext.cc:376-655 builds render instances in tree order with a monotonically increasing drawOrder (donner/svg/renderer/RenderingContext.cc:472); donner/svg/renderer/RendererDriver.cc traverses them in that order none specific - - A stacking context has no observable effect here beyond atomic painting in document order, because the SVG 2 CR defines no z-ordering property; tree-order traversal already guarantees it. Whether the element is also an isolated group is recorded in the Compositing rows.
feat:svg2-render/stacking-context-mask-element conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#EstablishingStackingContex A stacking context is established: always at a mask element. n/a donner/svg/renderer/RenderingContext.cc:376-655 builds render instances in tree order with a monotonically increasing drawOrder (donner/svg/renderer/RenderingContext.cc:472); donner/svg/renderer/RendererDriver.cc traverses them in that order none specific - - A stacking context has no observable effect here beyond atomic painting in document order, because the SVG 2 CR defines no z-ordering property; tree-order traversal already guarantees it. Whether the element is also an isolated group is recorded in the Compositing rows.
feat:svg2-render/stacking-context-pattern conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#EstablishingStackingContex A stacking context is established: always at a pattern element. n/a donner/svg/renderer/RenderingContext.cc:376-655 builds render instances in tree order with a monotonically increasing drawOrder (donner/svg/renderer/RenderingContext.cc:472); donner/svg/renderer/RendererDriver.cc traverses them in that order none specific - - A stacking context has no observable effect here beyond atomic painting in document order, because the SVG 2 CR defines no z-ordering property; tree-order traversal already guarantees it. Whether the element is also an isolated group is recorded in the Compositing rows.
feat:svg2-render/stacking-context-symbol conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#EstablishingStackingContex A stacking context is established: always at a symbol element. n/a donner/svg/renderer/RenderingContext.cc:376-655 builds render instances in tree order with a monotonically increasing drawOrder (donner/svg/renderer/RenderingContext.cc:472); donner/svg/renderer/RendererDriver.cc traverses them in that order none specific - - A stacking context has no observable effect here beyond atomic painting in document order, because the SVG 2 CR defines no z-ordering property; tree-order traversal already guarantees it. Whether the element is also an isolated group is recorded in the Compositing rows.
feat:svg2-render/stacking-context-use conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#EstablishingStackingContex A stacking context is established: always at a use element. n/a donner/svg/renderer/RenderingContext.cc:376-655 builds render instances in tree order with a monotonically increasing drawOrder (donner/svg/renderer/RenderingContext.cc:472); donner/svg/renderer/RendererDriver.cc traverses them in that order none specific - - A stacking context has no observable effect here beyond atomic painting in document order, because the SVG 2 CR defines no z-ordering property; tree-order traversal already guarantees it. Whether the element is also an isolated group is recorded in the Compositing rows.
feat:svg2-render/stacking-context-inner-svg-overflow conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#EstablishingStackingContex A stacking context is established: at a nested svg whose computed overflow is not visible. n/a donner/svg/renderer/RenderingContext.cc:376-655 builds render instances in tree order with a monotonically increasing drawOrder (donner/svg/renderer/RenderingContext.cc:472); donner/svg/renderer/RendererDriver.cc traverses them in that order none specific - - A stacking context has no observable effect here beyond atomic painting in document order, because the SVG 2 CR defines no z-ordering property; tree-order traversal already guarantees it. Whether the element is also an isolated group is recorded in the Compositing rows.
feat:svg2-render/stacking-context-clip-property not-applicable https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#EstablishingStackingContex The CSS 2.1 clip property with a value other than auto establishes a stacking context. not registered (no clip entry in donner/svg/properties/PropertyRegistry.cc) - resvg masking/clip is excluded as deprecated (donner/svg/renderer/tests/resvg_test_suite.cc:652-658) - - The CR's own required-property list does not include clip; treated as a leftover reference.
feat:svg2-render/stacking-context-clip-path-property conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#EstablishingStackingContex A stacking context is established: when clip-path is not none. n/a donner/svg/renderer/RenderingContext.cc:376-655 builds render instances in tree order with a monotonically increasing drawOrder (donner/svg/renderer/RenderingContext.cc:472); donner/svg/renderer/RendererDriver.cc traverses them in that order none specific - - A stacking context has no observable effect here beyond atomic painting in document order, because the SVG 2 CR defines no z-ordering property; tree-order traversal already guarantees it. Whether the element is also an isolated group is recorded in the Compositing rows.
feat:svg2-render/stacking-context-opacity-property conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#EstablishingStackingContex A stacking context is established: when opacity is not 1. n/a donner/svg/renderer/RenderingContext.cc:376-655 builds render instances in tree order with a monotonically increasing drawOrder (donner/svg/renderer/RenderingContext.cc:472); donner/svg/renderer/RendererDriver.cc traverses them in that order none specific - - A stacking context has no observable effect here beyond atomic painting in document order, because the SVG 2 CR defines no z-ordering property; tree-order traversal already guarantees it. Whether the element is also an isolated group is recorded in the Compositing rows.
feat:svg2-render/stacking-context-mask-property conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#EstablishingStackingContex A stacking context is established: when mask is not none. n/a donner/svg/renderer/RenderingContext.cc:376-655 builds render instances in tree order with a monotonically increasing drawOrder (donner/svg/renderer/RenderingContext.cc:472); donner/svg/renderer/RendererDriver.cc traverses them in that order none specific - - A stacking context has no observable effect here beyond atomic painting in document order, because the SVG 2 CR defines no z-ordering property; tree-order traversal already guarantees it. Whether the element is also an isolated group is recorded in the Compositing rows.
feat:svg2-render/stacking-context-filter-property conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#EstablishingStackingContex A stacking context is established: when filter is not none. n/a donner/svg/renderer/RenderingContext.cc:376-655 builds render instances in tree order with a monotonically increasing drawOrder (donner/svg/renderer/RenderingContext.cc:472); donner/svg/renderer/RendererDriver.cc traverses them in that order none specific - - A stacking context has no observable effect here beyond atomic painting in document order, because the SVG 2 CR defines no z-ordering property; tree-order traversal already guarantees it. Whether the element is also an isolated group is recorded in the Compositing rows.
feat:svg2-render/stacking-context-other-specification-properties conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#EstablishingStackingContex A stacking context is established: by properties another specification defines to do so in SVG (mix-blend-mode other than normal, isolation isolate). n/a donner/svg/renderer/RenderingContext.cc:376-655 builds render instances in tree order with a monotonically increasing drawOrder (donner/svg/renderer/RenderingContext.cc:472); donner/svg/renderer/RendererDriver.cc traverses them in that order none specific - - A stacking context has no observable effect here beyond atomic painting in document order, because the SVG 2 CR defines no z-ordering property; tree-order traversal already guarantees it. Whether the element is also an isolated group is recorded in the Compositing rows.
feat:svg2-render/element-is-non-isolated-group conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#Elements A graphics element is a non-isolated group whose members are its fill, stroke and markers. n/a donner/svg/renderer/RendererDriver.cc:3356-3400 (fill and stroke draw onto the current surface, or onto the element's own layer when it has one) resvg painting/mix-blend-mode/opacity-on-element.svg; painting/stroke-opacity/* (active on TinyGolden and GeodeGolden) - - -
feat:svg2-render/group-rendering-isolated conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#Grouping An isolated group renders its children onto a new transparent buffer, applies filters and other effects, then is blended and composited with the group backdrop. n/a donner/svg/renderer/RendererDriver.cc:3356-3380; donner/svg/renderer/RendererTinySkia.cc:1730-1784; donner/svg/renderer/RendererGeode.cc:6229-6393 resvg painting/opacity/group-opacity.svg, painting/isolation/isolate.svg (active on TinyGolden and GeodeGolden) - - The sentence on applying filter primitives in the operating coordinate space belongs to the filter ledger.
feat:svg2-render/group-rendering-non-isolated conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#Grouping A non-isolated group renders children directly onto the group backdrop, applying the group transform to each child. n/a donner/svg/renderer/RendererDriver.cc:3346 (absolute transform per instance), :3356-3358 resvg structure/g/*; structure/transform/* (active on TinyGolden and GeodeGolden) - - -
feat:svg2-render/effects-make-group-isolated conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#Grouping Applying opacity, filters or masking to a group makes it isolated. n/a donner/svg/renderer/RendererDriver.cc:3356-3380 RendererDriver_tests.cc:746, :638; resvg painting/opacity/group-opacity.svg - - See the Compositing isolation-trigger rows for the per-feature test gaps.
feat:svg2-render/effect-order conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#Grouping Effects on a group are applied to its rendered result in the order filter, clipping, masking, opacity. n/a donner/svg/renderer/RendererDriver.cc:3356-3380 and the comment at :3368-3371 resvg filters/filter/with-clip-path-and-mask.svg, masking/mask/with-opacity-1.svg, -2.svg, -3.svg (active on TinyGolden and GeodeGolden) - - -
feat:svg2-render/group-opacity conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#ObjectAndGroupOpacityProperties The object or group is rendered offscreen and blended as a whole with a uniform opacity; nested opacities multiply. donner/svg/properties/PropertyRegistry.cc:2976-2984 donner/svg/renderer/RendererDriver.cc:3352-3360 resvg painting/opacity/group-opacity.svg, mixed-group-opacity.svg, bBox-impact.svg (active on TinyGolden and GeodeGolden) - - -
feat:svg2-render/opacity-applies-to conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#ObjectAndGroupOpacityProperties opacity applies to svg, g, symbol, marker, a, switch, use and graphics elements. n/a donner/svg/renderer/RendererDriver.cc:3352-3360 (any render instance) resvg painting/opacity/on-the-root-svg.svg, group-opacity.svg, structure/symbol/opacity-on-symbol.svg, opacity-on-use.svg, opacity-on-use-and-symbol.svg (active on TinyGolden and GeodeGolden) - - opacity on the marker element itself is unverified: donner/svg/renderer/RendererDriver.cc:4293-4400 (drawMarker) has no opacity handling of its own and no resvg case sets it. painting/opacity/on-an-invalid-element.svg covers the not-applicable side.
feat:svg2-render/fill-stroke-stop-opacity-are-intermediate conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#ObjectAndGroupOpacityProperties fill-opacity, stroke-opacity and stop-opacity act inside individual paint operations, not on the group. n/a donner/svg/renderer/RendererDriver.cc:1764-1765, :1792; donner/svg/renderer/RendererTinySkia.cc:818; donner/svg/renderer/RendererGeode.cc:678 resvg painting/fill-opacity/*, painting/stroke-opacity/*, paint-servers/stop-opacity/* (active on TinyGolden and GeodeGolden) - - -
feat:svg2-render/markers-painted-with-shape conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#PaintingShapesAndText Markers are painted as if expanded into the tree just after the marked shape, in order along the path; fill, stroke and markers follow paint-order. n/a donner/svg/renderer/RendererDriver.cc:4150-4292 (drawMarkers after the shape's own paint) resvg painting/marker/* (active on TinyGolden and GeodeGolden) - - Owned in detail by the painting ledger.
feat:svg2-render/raster-resampling conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#PaintingRasterImages Raster samples are resampled to output positions per the image-rendering rules. n/a donner/svg/renderer/ImageSampling.h:46-56; donner/svg/renderer/RendererTinySkia.cc:592-600 resvg structure/image/image-with-float-size-scaling.svg, raster-image-and-size-with-odd-numbers.svg (active on TinyGolden and GeodeGolden) - - -
feat:svg2-render/animated-images-synchronised not-applicable https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#PaintingRasterImages Animated images with the same URL and data share one timeline and restart together. - - resvg structure/image/embedded-gif.svg shows the single decoded frame - - Donner decodes one frame of a GIF and has no animated raster support, so there is no timeline to share.
feat:svg2-render/filtering-painted-regions conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#FilteringPaintRegions Filtered content is painted into an intermediate canvas initialized to transparent black, then filtered. n/a donner/svg/renderer/RendererDriver.cc:3380; donner/svg/renderer/RendererTinySkia.cc:1900-2105 resvg filters/filter/* (active on TinyGolden and GeodeGolden) - - Owned in detail by the filter ledger.
feat:svg2-render/clipping-and-masking not-applicable https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#ClippingAndMasking Clipping paths and masks are defined by CSS Masking. - - - - - Pointer to another specification; covered by the masking ledger. Order relative to other effects is feat:svg2-render/effect-order.

SVG 2 render chapter: parent compositing, canvas, color space, overflow (sections 3.10, 3.11)

Key Class Spec anchor Requirement (paraphrase) Parse evidence Consume evidence Tests Impact Size Notes
feat:svg2-render/svg-element-is-isolated-group divergent https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#ParentCompositing The svg element always creates an isolated group. n/a donner/svg/renderer/RenderingContext.cc:462-469 (a nested svg contributes only a viewport clip; no isolated layer); the root is isolated by construction because the frame starts transparent none with a blend mode inside a nested svg low S A mix-blend-mode inside a nested svg reaches content painted before the nested svg. Compositing 1 section 3.3 does not list svg as an isolating feature, so the two specifications disagree; the CR sentence is explicit.
feat:svg2-render/standalone-document-white-backdrop partial https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#ParentCompositing For a top-level standalone document the root svg is the page group and is composited onto an opaque white backdrop; in all other cases the document is composited into its parent with opacity preserved. n/a Both renderers start from and return a transparent canvas: donner/svg/renderer/RendererTinySkia.cc:1491-1518, :3305-3322; donner/svg/renderer/RendererGeode.cc:6036-6048 with transparent clears. donner/svg/tool/DonnerSvgTool.cc:304-312 offers a background color for GIF output only none low S Blending inside the document is unaffected: the root is an isolated group with a transparent initial backdrop under both readings, so top-level blend results match. Only the final flattening onto white is absent, which leaves PNG output with alpha. For a library whose output is embedded by a host this matches the CR's other case (opacity preserved). For a standalone render (the command-line tool writing a PNG) the white backdrop is a plain unmet requirement. The pixel tests compare the straight-alpha RGBA snapshot with transparent-background reference PNGs and do no background flattening (donner/svg/renderer/tests/ImageComparisonTestFixture.cc:959-972), so no test can detect a white backdrop either way. See feat:svg2-render/test-harness-backdrop.
feat:svg2-render/embedded-opacity-preserved conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#ParentCompositing When not top-level, the fragment is composited into its parent with opacity preserved. n/a donner/svg/renderer/RendererTinySkia.cc:3305-3322 (straight-alpha RGBA snapshot); donner/svg/renderer/RendererGeode.cc readback of the RGBA target PixelFormatUtils_tests.cc:14, :46 (unpremultiply); resvg painting/opacity/on-the-root-svg.svg compared with alpha (active on TinyGolden and GeodeGolden) - - -
feat:svg2-render/test-harness-backdrop not-applicable https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#ParentCompositing (Observation, not a requirement on the harness.) CR requirement for reference: For a top-level standalone document the root svg is the page group and is composited onto an opaque white backdrop; in all other cases the document is composited into its parent with opacity preserved. n/a donner/svg/renderer/tests/ImageComparisonTestFixture.cc:959-995 compares the straight-alpha RGBA snapshot with the reference PNG, with no background flattening the whole resvg suite; donner/svg/renderer/tests/resvg_test_suite.cc:877-879 notes one superseded reference that had been flattened onto white and was replaced - - Not a conformance row: the CR places no requirement on a test harness. The pixel tests compare the straight-alpha RGBA snapshot with transparent-background reference PNGs and do no background flattening (donner/svg/renderer/tests/ImageComparisonTestFixture.cc:959-972), so no test can detect a white backdrop either way. References are transparent-background resvg renderings, consistent with the renderer output, so the suite exercises the embedded case only; see feat:svg2-render/standalone-document-white-backdrop.
feat:svg2-render/premultiplied-alpha-pipeline conformant https://www.w3.org/TR/2024/CRD-compositing-1-20240321/#simplealphacompositing Compositing may use premultiplied values; results must equal the non-premultiplied definition. n/a tiny-skia stores premultiplied RGBA8 and unpremultiplies once at snapshot (donner/svg/renderer/RendererTinySkia.cc:3305-3322); Geode shaders emit premultiplied color (donner/gpu/shader/programs/ImageBlitSource.h:20, :442-466) PixelFormatUtils_tests.cc:14 UnpremultiplyMatchesDoubleReferenceForEveryBytePair; RendererGeode_tests.cc:3055 DrawTextureSnapshotPreservesPremultipliedAlpha - - -
feat:svg2-render/compositing-color-space missing https://www.w3.org/TR/2026/CR-SVG2-20261006/painting.html#ColorInterpolation color-interpolation on the child element selects sRGB or linearRGB for compositing and blending it into the background. donner/svg/properties/PropertyRegistry.cc:1057-1076, :3158 (parsed, inherited) No compositing consumer: the property is read only for luminance masks (donner/svg/renderer/RendererDriver.cc:3846-3859, donner/svg/renderer/RendererTinySkia.cc:54-55, donner/svg/renderer/geode/GeoEncoder.cc:3333) and animation. Both renderers always composite gamma-encoded sRGB none low L linearRGB compositing would need linear intermediate surfaces per group. Browsers do not implement it either; the default sRGB is what Donner does.
feat:svg2-render/overflow-root-svg conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#OverflowAndClipProperties Document root svg: initial visible, no UA override; hidden and scroll clip to the viewport. donner/svg/properties/PropertyRegistry.cc:908-930, :2994-3002 donner/svg/renderer/RenderingContext.cc:462-469 with donner/svg/components/layout/LayoutSystem.cc:829-842; the canvas itself is the viewport none specific - - On the root, visible and hidden are indistinguishable in output because the canvas is exactly the viewport.
feat:svg2-render/overflow-nested-svg conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#OverflowAndClipProperties Other svg: UA sheet hidden; visible and auto do not clip, hidden and scroll clip to the viewport. donner/svg/core/UserAgentStylesheet.h:17 donner/svg/renderer/RenderingContext.cc:462-469 resvg structure/svg/nested-svg-with-overflow-visible.svg, nested-svg-with-overflow-auto.svg, nested-svg.svg (active on TinyGolden and GeodeGolden) - - -
feat:svg2-render/overflow-text spec-ambiguity https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#OverflowAndClipProperties The table lists text with a UA-sheet value of hidden. donner/svg/core/UserAgentStylesheet.h:17 (text is not in the rule) none: text establishes no viewport, so there is nothing to clip to none low S The CR's prose and its UA style sheet (styling chapter) do not mention text, and the table row has fewer columns than the others. No behavior can be derived.
feat:svg2-render/overflow-pattern spec-ambiguity https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#OverflowAndClipProperties pattern: UA sheet hidden; visible would let tile content overflow. donner/svg/core/UserAgentStylesheet.h:17 donner/svg/renderer/RendererDriver.cc:3969-4030 (tile always bounded; grep for overflow in donner/svg/renderer/RendererDriver.cc finds only the marker path at :4371) resvg paint-servers/pattern/overflow=visible.svg is excluded as UndefinedBehavior (donner/svg/renderer/tests/resvg_test_suite.cc:725) low M The paint server chapter leaves visible overflow on a pattern undefined; Donner always clips to the tile.
feat:svg2-render/overflow-marker conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#OverflowAndClipProperties marker: UA sheet hidden; visible and auto do not clip; hidden and scroll clip to the marker viewport. donner/svg/core/UserAgentStylesheet.h:17 donner/svg/renderer/RendererDriver.cc:4368-4378 resvg painting/overflow/auto-on-marker.svg, visible-on-marker.svg, scroll-on-marker.svg, inherit-on-marker.svg, inherit-on-marker-without-parent.svg; painting/marker/default-clip.svg (active on TinyGolden and GeodeGolden) - - -
feat:svg2-render/overflow-symbol conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#OverflowAndClipProperties symbol: UA sheet hidden; visible does not clip. donner/svg/core/UserAgentStylesheet.h:17 donner/svg/renderer/RenderingContext.cc:462-469 with LayoutSystem.cc:829-833 (shadow sized element bounds) resvg structure/symbol/with-overflow-visible.svg (active on TinyGolden and GeodeGolden) - - -
feat:svg2-render/overflow-image divergent https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#OverflowAndClipProperties image: UA sheet hidden; with visible the image may extend beyond its positioning rectangle (for example preserveAspectRatio slice). donner/svg/core/UserAgentStylesheet.h:17 donner/svg/renderer/RendererDriver.cc:3478-3481 and the SVG-image path :4704-4705 always push a clip to the image bounds, whatever overflow says none with overflow visible on an image low S Fix: skip the clip when the computed overflow is visible or auto.
feat:svg2-render/overflow-foreignObject not-applicable https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#OverflowAndClipProperties foreignObject: UA sheet hidden; scroll may show a scrolling mechanism. - - - - - foreignObject is not implemented.
val:overflow/visible conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#OverflowAndClipProperties No clipping rectangle is created. donner/svg/properties/PropertyRegistry.cc:914-915 donner/svg/renderer/RenderingContext.cc:465 resvg structure/svg/nested-svg-with-overflow-visible.svg; painting/overflow/visible-on-marker.svg - - -
val:overflow/hidden conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#OverflowAndClipProperties Clip to exactly the SVG viewport. donner/svg/properties/PropertyRegistry.cc:916-917 donner/svg/renderer/RenderingContext.cc:465-468 resvg structure/svg/nested-svg.svg; painting/marker/default-clip.svg - - -
val:overflow/scroll conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#OverflowAndClipProperties As hidden when no scrolling mechanism exists. donner/svg/properties/PropertyRegistry.cc:918-919 donner/svg/renderer/RenderingContext.cc:465; donner/svg/renderer/RendererDriver.cc:4371 resvg painting/overflow/scroll-on-marker.svg - - -
val:overflow/auto conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#OverflowAndClipProperties Without a scrolling mechanism auto must be treated as visible. donner/svg/properties/PropertyRegistry.cc:920-921 donner/svg/renderer/RenderingContext.cc:465; donner/svg/renderer/RendererDriver.cc:4371 resvg structure/svg/nested-svg-with-overflow-auto.svg; painting/overflow/auto-on-marker.svg - - -
feat:svg2-render/overflow-ua-stylesheet conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#OverflowAndClipProperties The UA style sheet sets overflow hidden on non-root svg, pattern and marker (the styling chapter's sheet also lists image and symbol). donner/svg/core/UserAgentStylesheet.h:17 (svg:not(:root), image, marker, pattern, symbol) donner/svg/renderer/RenderingContext.cc:462-469 resvg structure/svg/nested-svg.svg; painting/marker/default-clip.svg - - -
feat:svg2-render/overflow-initial-value spec-ambiguity https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#OverflowAndClipProperties The table gives visible as the initial value while the closing prose says the initial value is auto. donner/svg/properties/PropertyRegistry.h:195-196 (initial visible) donner/svg/renderer/RenderingContext.cc:465 (visible and auto behave identically) none needed low S No rendering difference in Donner.
feat:svg2-render/initial-clipping-path conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/render.html#OverflowAndClipProperties Content outside the outermost SVG viewport is not shown unless overflow allows it. n/a The output surface is exactly the root viewport (donner/svg/renderer/RendererTinySkia.cc:1491-1500), so nothing outside it can be painted none specific - - A root svg with overflow visible cannot show overflow because there is no surrounding canvas; acceptable for a standalone renderer.

Raster image requirements of the CR (conform.html, embedded.html) checked against the image decoder

Key Class Spec anchor Requirement (paraphrase) Parse evidence Consume evidence Tests Impact Size Notes
feat:svg2-conform/png-support conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/conform.html#ConformingSVGViewers A viewer must support PNG (the CR cites the PNG Second Edition, 10 November 2003). donner/svg/resources/ImageLoader.cc:144-146 (MIME gate), :90-104 (magic gate) donner/svg/resources/ImageLoader.cc:194-197 (stb_image 2.30, built for PNG, JPEG and GIF only at third_party/BUILD.stb:89-97); donner/svg/renderer/RendererTinySkia.cc:575-581 (premultiply), image draw through donner/svg/renderer/RendererDriver.cc:3463-3490 donner/svg/resources/tests/ImageLoader_tests.cc:123 LoadsPngDataUrl, :347 LoadsPngWithAncillaryChunkAndSplitIdat; resvg structure/image/embedded-png.svg, external-png.svg (active on TinyGolden and GeodeGolden) - - -
feat:svg2-conform/jpeg-support conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/conform.html#ConformingSVGViewers A viewer must support JPEG (the CR cites JFIF, 1992). donner/svg/resources/ImageLoader.cc:144-146, :94-97 donner/svg/resources/ImageLoader.cc:194-197 (stb_image 2.30, built for PNG, JPEG and GIF only at third_party/BUILD.stb:89-97) resvg structure/image/embedded-jpeg-as-image-jpeg.svg, embedded-jpeg-as-image-jpg.svg, embedded-jpeg-without-mime.svg, external-jpeg.svg (active on TinyGolden and GeodeGolden) - - The non-standard MIME type image/jpg is also accepted.
feat:svg2-embedded/rgb-image-to-rgba conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html#ImageElement A three-channel image is treated as RGBA with alpha 1. n/a donner/svg/resources/ImageLoader.cc:194-197 (decode with four requested channels) resvg structure/image/external-jpeg.svg (active on TinyGolden and GeodeGolden) - - -
feat:svg2-embedded/grayscale-image-to-rgba conformant-untested https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html#ImageElement A single-channel image supplies all three color channels, alpha 1. n/a donner/svg/resources/ImageLoader.cc:194-197 (the decoder replicates gray into RGB) donner/svg/resources/tests/ImageLoader_tests.cc:347 decodes a grayscale-with-alpha PNG but asserts only its size; no pixel assertion for a gray image - - -
feat:svg2-conform/srgb-accuracy conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/conform.html#ConformingSVGViewers sRGB color computations are accurate to within one 8-bit component value. n/a see feat:css-color-4/lab-lch-to-srgb-conversion and feat:css-color-4/opacity-multiply-rounding the resvg suite thresholds (donner/svg/renderer/tests/resvg_test_suite.cc) - - The known one-step truncation in Color::resolve stays inside this tolerance.
feat:png/color-types conformant-untested https://www.w3.org/TR/2003/REC-PNG-20031110/#13Decoders Decoders shall support every valid combination of color type (grayscale, truecolor, indexed, grayscale with alpha, truecolor with alpha), bit depth and interlace method. n/a third_party/stb/stb_image.h:5084-5240 (all five types expanded to the requested channel count) donner/svg/resources/tests/ImageLoader_tests.cc:347 (grayscale with alpha, size only); the resvg PNG cases use truecolor data (unverified which type) - - No test for indexed or plain grayscale input.
feat:png/bit-depths conformant https://www.w3.org/TR/2003/REC-PNG-20031110/#11IHDR Bit depths 1, 2, 4, 8 and 16 as allowed per color type. n/a third_party/stb/stb_image.h:5111 (accepts 1, 2, 4, 8, 16), :1190, :1272 (16-bit samples reduced to 8) resvg structure/image/embedded-16bit-png.svg (active on TinyGolden and GeodeGolden) - - Depths 1, 2 and 4 are untested. 16-bit precision is discarded, which the 8-bit pipeline cannot use anyway.
feat:png/transparency-trns conformant-untested https://www.w3.org/TR/2003/REC-PNG-20031110/#11tRNS tRNS supplies palette alpha or a transparent color key. n/a third_party/stb/stb_image.h:5148-5160, :5232 none - - -
feat:png/interlace-adam7 conformant-untested https://www.w3.org/TR/2003/REC-PNG-20031110/#13Progressive-display Decoders are required to be able to read interlaced (Adam7) images. n/a third_party/stb/stb_image.h:5117, :4861-4867 none - - -
feat:png/gamma-gama conformant-untested https://www.w3.org/TR/2003/REC-PNG-20031110/#13Decoder-gamma-handling gAMA gives the encoding gamma. Ancillary chunks are optional for decoders, which are encouraged, not required, to apply it. n/a ignored: grep for gAMA in third_party/stb/stb_image.h and in donner/svg found nothing none - - Permitted by the PNG conformance text (decoders may ignore ancillary chunks). Samples are used as if sRGB, so a file with a non-sRGB gamma renders lighter or darker than in a gamma-aware viewer.
feat:png/color-profile-iccp-srgb missing https://www.w3.org/TR/2003/REC-PNG-20031110/#11iCCP iCCP embeds an ICC profile; the sRGB chunk tags the image as sRGB. n/a ignored: grep for iCCP in third_party/stb/stb_image.h found nothing; no color management in Donner none low L Same gap as feat:css-color-4/tagged-images. An sRGB-tagged PNG is handled correctly by default.
feat:png/crc-and-ancillary-chunks partial https://www.w3.org/TR/2003/REC-PNG-20031110/#13Error-checking Decoders may ignore ancillary chunks; they should check each chunk CRC and fail gracefully on errors in critical data. donner/svg/resources/ImageLoader.cc:53-81 (declared chunk lengths validated before decode) third_party/stb/stb_image.h:4599 (no CRC checking), :5236-5258 (unknown chunks skipped) donner/svg/resources/tests/ImageLoader_tests.cc:347 (ancillary chunk and split IDAT), :321 (truncated IDAT rejected) low S Corrupt-but-inflatable data is accepted without a CRC error.
feat:png/apng not-applicable https://www.w3.org/TR/2003/REC-PNG-20031110/ Animated PNG is not part of the cited Second Edition. - third_party/stb/stb_image.h: no acTL or fdAT handling (grep found nothing), so the default image is shown - - - Would only matter under the PNG Third Edition, which the CR does not cite.
feat:jpeg/baseline conformant https://www.w3.org/Graphics/JPEG/jfif3.pdf Baseline sequential JPEG in a JFIF container, YCbCr or grayscale. n/a third_party/stb/stb_image.h:3268-3284, :3363-3384 resvg structure/image/external-jpeg.svg, embedded-jpeg-as-image-jpeg.svg (active on TinyGolden and GeodeGolden) - - -
feat:jpeg/progressive conformant-untested https://www.w3.org/Graphics/JPEG/jfif3.pdf Progressive JPEG, widely used though outside the JFIF baseline. n/a third_party/stb/stb_image.h:3363, :3384, :3082 none - - -
feat:jpeg/cmyk-ycck conformant-untested https://www.w3.org/Graphics/JPEG/jfif3.pdf Four-component JPEG with an Adobe marker (not JFIF, common in print exports). n/a third_party/stb/stb_image.h:3178-3190, :3957-3966 none - - Decoded with the naive inversion, no ICC.
feat:jpeg/arithmetic-12bit-lossless missing https://www.w3.org/Graphics/JPEG/jfif3.pdf Arithmetic-coded, 12-bit and lossless JPEG variants. n/a third_party/stb/stb_image.h:3269 (8-bit only), :135-136 (no arithmetic coding) donner/svg/resources/tests/ImageLoader_tests.cc:69 shows a decode failure maps to an error, not a crash low L Outside JFIF and unsupported by browsers too; such files fail to load and the image is not drawn.
feat:jpeg/exif-orientation-and-icc missing https://www.w3.org/TR/2023/CRD-css-images-3-20231218/#propdef-image-orientation EXIF orientation (image-orientation: from-image) and embedded ICC profiles. n/a ignored by the decoder (grep for Exif and orientation in third_party/stb/stb_image.h found nothing) none low M See prop:image-orientation and feat:css-color-4/tagged-images.
feat:image-formats/gif legacy https://www.w3.org/TR/2026/CR-SVG2-20261006/embedded.html#ImageElement The CR requires only PNG, JPEG and SVG; GIF is an extension. donner/svg/resources/ImageLoader.cc:98-102, :144-146 donner/svg/resources/ImageLoader.cc:194-197 (stb_image 2.30, built for PNG, JPEG and GIF only at third_party/BUILD.stb:89-97) (first frame only) resvg structure/image/embedded-gif.svg, external-gif.svg (active on TinyGolden and GeodeGolden); donner/svg/resources/tests/ImageLoader_tests.cc:240 low S Extra format, not a gap. Animated GIFs show one frame.
feat:image-formats/decode-limits conformant https://www.w3.org/TR/2026/CR-SVG2-20261006/conform.html#ConformingSVGViewers (Audit item) Implementation limits on raster input. donner/svg/resources/ImageLoader.cc:13 (16384 pixel dimension cap), :130-137 (decoded-bytes budget relative to input size) donner/svg/resources/ImageLoader.cc:181-192 donner/svg/resources/tests/ImageLoader_tests.cc:188, :226, :254, :265 - - A PNG larger than 16384 pixels on a side, or one exceeding the amplification budget, is refused and not drawn. Permitted as a resource limit; documented here because it changes output for very large images.

Tests to create

  • feat:css-color-4/color-property-hsl-storage, css-color-4 #propdef-color: <g color="hsl(120 100% 25%)"><rect fill="currentColor"/><text>x</text></g> and a filter using drop-shadow(currentColor ...) under it; expect green, no abort, both renderers.
  • feat:css-color-4/non-rgba-storage-paths, #resolving-color-values: <feFlood flood-color="currentColor"/> and <feDiffuseLighting lighting-color="currentColor"> with color="hsl(...)" on the filter element.
  • val:color/currentcolor-on-color, #resolving-other-colors: <g color="green"><g color="currentColor"><rect fill="currentColor"/></g></g> renders green.
  • val:color/named-colors, #named-colors: unit test iterating the 148 spec names and values; render case fill="rebeccapurple".
  • val:color/CanvasText and the other system color rows, #css-system-colors: fill="CanvasText", fill="Canvas", fill="LinkText" resolve to defined colors; one case with a deprecated name (fill="WindowText").
  • val:color/rgb()-modern, #typedef-modern-rgb-syntax: a pixel case for rgb(0 128 0) and rgb(0 128 0 / 50%) (the only resvg case is excluded).
  • val:color/rgb()-modern-mixed-number-percentage, val:color/rgb()-none, val:alpha-value/none: rgb(255 50% 0), rgb(none 128 0), rgb(0 128 0 / none) accepted.
  • val:color/hsl()-modern-numbers, val:color/hsl()-none, val:hue/none: hsl(120 100 25), hsl(none 0% 50%).
  • feat:css-color-4/hsl-saturation-lightness-clamping, #the-hsl-notation: hsl(0 200% 75%) and hsl(0 100% 150%) with the expected values decided first.
  • feat:css-color-4/hwb-to-srgb, #hwb-to-rgb: unit cases hwb(0 50% 50%) = rgb(128 128 128), hwb(240 30% 30%) about rgb(77 77 179), hwb(120 20% 0%); feat:css-color-4/hwb-no-legacy-syntax: hwb(120, 0%, 0%) rejected; a render case with three hwb fills.
  • feat:css-color-4/lab-a-b-percent-range, feat:css-color-4/lch-chroma-clamp: lab(50% 150% 0) and lch(50% 110% 30) not clamped before conversion.
  • val:color/oklab(), val:color/oklch(), #specifying-oklab-oklch: fill="oklch(62.8% 0.2577 29.23)" (about red), fill="oklab(0.5 0 0)".
  • val:color/color() and each val:color/color()-<space> row, #color-function: color(srgb 0 0.5 0), color(srgb-linear ...), color(display-p3 1 0 0), color(display-p3-linear ...), color(a98-rgb ...), color(prophoto-rgb ...), color(rec2020 ...), color(xyz ...), color(xyz-d50 ...), color(xyz-d65 ...); color(unknown 1 0 0) rejected.
  • feat:css-color-4/gamut-mapping, #css-gamut-mapping: fill="lch(50% 150 30)" against a CSS-gamut-mapped reference.
  • feat:css-color-4/math-functions-in-color-components: rgb(calc(100 + 28) 0 0).
  • feat:css-color-4/opacity-multiply-rounding: fill-opacity="0.5" on an opaque fill gives alpha 128.
  • feat:css-color-4/interpolation-premultiplied-alpha, #interpolation-alpha: <animate attributeName="fill" from="rgba(255,0,0,0)" to="blue"> sampled midway, and a two-stop gradient from transparent red to opaque blue, once the intended behavior is decided.
  • Color 5 rows: color-mix(in srgb, red 50%, blue), one case per interpolation space and per hue method; rgb(from green r g b / 50%) and one case per relative function; alpha(from green / 0.5); device-cmyk(0 1 1 0); light-dark(green, red); contrast-color(black).
  • feat:compositing-1/isolation-trigger-filters, -masking, feat:compositing-1/clip-path-does-not-isolate, compositing-1 #csscompositingrules_SVG: a mix-blend-mode: multiply child inside a group with a filter, with a mask, and with a clip-path, over a colored backdrop (isolated, isolated, not isolated).
  • feat:compositing-1/2d-transforms-do-not-isolate, feat:compositing-1/group-invariance, feat:svg2-render/use-is-non-isolated-group: the same blended child under a transformed plain g, under nested plain groups, and inside a use.
  • feat:compositing-1/root-element-group: top-level mix-blend-mode: difference rect over transparent canvas equals the unblended rect.
  • feat:compositing-1/image-content-is-isolated: an image element referencing an SVG whose content has mix-blend-mode: multiply, over a colored host backdrop.
  • feat:svg2-render/graphical-effects-are-isolated: a marker whose content has mix-blend-mode: difference on a filled path.
  • feat:svg2-render/svg-element-is-isolated-group: nested svg containing a mix-blend-mode: difference rect over outer content.
  • feat:compositing-1/blend-fallback-on-non-copyable-target: Geode render into a target without copy capability reports or handles the fallback.
  • feat:svg2-render/overflow-image: <image preserveAspectRatio="xMidYMid slice" style="overflow:visible">.
  • feat:svg2-render/overflow-root-svg, feat:svg2-render/initial-clipping-path: root svg with overflow="hidden" and content outside the viewBox under a non-uniform preserveAspectRatio.
  • feat:svg2-render/opacity-applies-to: opacity on a marker element.
  • feat:svg2-render/stacking-context-*: no new case needed unless a z-ordering property is added.
  • val:image-rendering/optimizeQuality and val:image-rendering/optimizeSpeed: pixel cases comparing optimizeQuality with smooth, and a Geode-gated nearest-neighbor case at an integer scale.
  • prop:object-fit, prop:object-position: image with object-fit: contain and cover; prop:image-orientation: a JPEG with EXIF orientation 6.
  • feat:svg2-embedded/grayscale-image-to-rgba, feat:png/color-types, feat:png/bit-depths, feat:png/transparency-trns, feat:png/interlace-adam7: decode tests with pixel assertions for grayscale, indexed with tRNS, 1-bit, 2-bit, 4-bit and interlaced PNGs.
  • feat:png/gamma-gama, feat:png/color-profile-iccp-srgb, feat:css-color-4/tagged-images: a PNG with gAMA 1.0 and one with a display-p3 iCCP profile, expected values decided first.
  • feat:png/crc-and-ancillary-chunks: a PNG with a corrupted IDAT CRC.
  • feat:jpeg/progressive, feat:jpeg/cmyk-ycck: progressive, grayscale and Adobe CMYK JPEG decode tests.

Unverified / could not fetch

  • The JFIF document (PDF) was not fetched or parsed. The statements about what JFIF covers (baseline, 8-bit, YCbCr or grayscale) in the feat:jpeg/* rows are from memory, unverified.
  • feat:css-color-4/color-property-hsl-storage (a process abort, fix in review) was traced by code reading; nothing was executed.
  • Reachability of the two residual paths in feat:css-color-4/non-rgba-storage-paths (a filter primitive without a computed style component; an hsl() tool background) was not established.
  • val:mix-blend-mode/soft-light on tiny-skia: the premultiplied rearrangement was not re-derived term by term; it is the standard Skia form and the pixel test passes.
  • The 8-bit lowp variants of the separable blend stages were read for darken, difference and overlay only; multiply, screen, lighten, exclusion and hard-light were located but not walked (their float variants were).
  • Geode clip handling (feat:compositing-1/clip-path-does-not-isolate) was read at the pushClip entry point only, not for every clip shape.
  • Whether opacity on a marker element takes effect, and whether display: none on child content of masks and patterns is honored, were not traced.
  • Which PNG color types and JPEG variants the vendored resvg image fixtures actually use was not inspected, so the decoder feature rows cite only what the unit tests state.
  • Bounding-box, hit-testing and focus consequences of non-rendered elements were not read (covered by other ledgers).
  • The hand-computed examples (hsl clamping, hwb expectations, alpha truncation) were computed outside Donner, not by running it.