← v155/predefinedcolorspace-srgb-linear-and-display-p3-linear · conformance
critique · rev 1
v155/predefinedcolorspace-srgb-linear-and-display-p3-linear
New full reference (Case B) for the Chrome 155 PredefinedColorSpace linear color spaces. MDN check 2026-10-11: getContext()/ImageData.colorSpace pages exist but none documents the srgb-linear/display-p3-linear values and the MDN search API returns no matching page — so a full gendn page, not a stub.
rubric
| dimension | score | severity | evidence |
|---|---|---|---|
| factual-source-fidelity | 5/5 | info | All IDL quoted verbatim from the HTML Standard fetched 2026-10-11 (PredefinedColorSpace enum with both linear values present, CanvasRenderingContext2DSettings, CanvasColorType, ImageDataSettings — each extracted from the tag-stripped spec HTML, not memory). Flag ColorSpacePredefinedLinearSpaces confirmed status:stable with its comment citing this exact ChromeStatus id. Intent to Ship fetched (mail-archive msg17379 + Groups msgid link) and quoted for motivation, Finch name, vendor positions, WPT links, TAG review. |
| milestone-mapping | 5/5 | info | Feature 5122501071994880 confirmed in the milestone=155 listing under 'Enabled by default' with listing name 'PredefinedColorSpace srgb-linear and display-p3-linear' (fetched 2026-10-11); slug from the listing name matches the folder and the showcase route. Detail milestones (desktop/android/webview 155, ios null) quoted in at-a-glance only. |
| completeness | 4/5 | info | Enum-widening change: inventory is the two new values plus the two settings surfaces (context settings, ImageData settings) with nine-dimension mappings on one page, proportionate per the v154 fetch-abort-reason precedent. WebGL/WebGPU surfaces that reference the same enum are flagged as not-covered-by-sources rather than claimed or silently omitted. |
| explanation-quality | 4/5 | info | Page separates the enum table (which values are new), the linear-light rationale quoted from the Intent, the conversion-on-render rule quoted from the spec, and the unorm8-banding caveat tied to the companion CanvasColorType setting. |
| examples | 4/5 | minor | Two gendn-derived snippets (try/catch detection with getContextAttributes readback; linear-gradient + getImageData round trip using color(srgb-linear …) syntax per CSS Color 4), labelled as gendn-derived; the embedded linear-light-gradients showcase demo exercises the behavior live. Snippets not executed outside the showcase demo. |
| browser-compat-fallbacks | 4/5 | minor | BCD absence of a linear-value subfeature verified against package data 8.1.5 (2026-10-08) and stated; interim table from ChromeStatus (155 desktop/android/webview) and the Intent ('already implemented in WebKit', Mozilla no-signal), with Edge and Safari versions recorded as unknown rather than guessed; prerequisite colorSpace row quoted from BCD (Chrome 92 / Safari 15.2 / Firefox false). Baseline banner distinguishes the limited parent web feature from the newer linear values. |
| links-validity | 4/5 | minor | Every named source is a direct link: spec section anchors (colour-spaces-and-colour-correction, the-canvas-settings, css-color-4 predefined-sRGB-linear/display-p3-linear — anchor presence grep-verified), Groups msgid + mail-archive both linked, chromestatus feature link present (invariant #3), TAG/Mozilla/WebKit positions linked. WPT result pages linked but per-browser subtest results not individually extracted. |
| accessibility | 4/5 | info | Single h1, sequential h2 outline with stable ids, baseline banner role=note with aria-label, iframe title + figcaption, thead/th scope=row on tables, spec quotes in blockquote.spec-quote; colors are styles.css tokens only. |
| responsive-ux | 4/5 | info | modern-web-guidance responsive-table + overflow guidance applied: .table-wrap{overflow-x:auto} wrappers, pre{overflow-x:auto}, overflow-wrap:anywhere on headings/lede/inline code, iframe max-width:100% with loading=lazy. Verified via the repo responsive scan (desktop+mobile green) and writer-read screenshots at 1280px and 360px. |
| showcase-demo-relationship | 5/5 | info | All five CPS concept routes HEAD-checked 200 on 2026-10-11; linear-light-gradients embedded (directly visualizes gamma vs linear blending, the page's core concept); context-settings, imagedata-round-trip, additive-spotlights, detection-traps linked in the figcaption; feature route in see-also. |
modern-web-guidance consulted
- MDN-style reference documentation page responsive compat table baseline banner — Semantic thead/th foundation; wrap tables in an overflow:auto wrapper with max-inline-size:100% so wide tables scroll inside the wrapper, not the page. (Applied: every table uses thead or th scope=row inside .table-wrap{overflow-x:auto;max-inline-size:100%}. Sticky headers/container-query stacking not adopted — short reference tables, not data grids (targeted exception).)
- MDN-style reference documentation page responsive compat table baseline banner — Prefer intrinsic sizing and logical properties for responsive components. (Applied: max-inline-size on wrappers; layout otherwise inherits the shared /public/styles.css design system — no new layout primitives.)
- embed cross-origin iframe demo in article responsive sizing lazy loading — Defer offscreen embeds; avoid layout shift from late-loading media. (Applied: the showcase iframe uses loading="lazy" with explicit width/height (100%/520) so it reserves space and defers until scrolled near; sandbox + referrerpolicy pair per the repo's gendn-kjq iframe posture.)
open questions
- No shipping Safari version for the linear enum values is recorded in the sources read ('already implemented in WebKit' per the Intent); fill in the version when BCD or the WebKit release notes record it.
- Whether Chrome 155 also accepts srgb-linear/display-p3-linear on WebGL drawingBufferColorSpace/unpackColorSpace and WebGPU GPUCanvasConfiguration.colorSpace is not stated in the sources read; the page flags this explicitly.
- BCD has no subfeature for the linear values; the compat table is interim and labelled as such.
- iOS Chrome milestone is null in the ChromeStatus record; the page says 'no iOS milestone recorded' rather than guessing.
follow-up goals
- [medium · targeted-fix] Watch BCD api/HTMLCanvasElement.json and api/ImageData.json for srgb-linear/display-p3-linear subfeatures and replace the interim compat rows with quoted BCD data when they land.
- [medium · targeted-fix] Verify against the WebGL and WebGPU specs/implementations whether Chrome 155 accepts the linear values for drawingBufferColorSpace/unpackColorSpace and GPUCanvasConfiguration.colorSpace, and extend the inventory if confirmed.
- [low · targeted-fix] Record the first Safari release with the linear values once a WebKit release note or BCD entry names it.