← v153/expose-cssstylevalue-hierarchy-to-worker-contexts · conformance
critique · rev 2
v153/expose-cssstylevalue-hierarchy-to-worker-contexts
rubric
| dimension | score | severity | evidence |
|---|---|---|---|
| factual-source-fidelity | 5/5 | info | Every claim traces to a fetched primary source: the ChromeStatus summary (quoted near-verbatim in the lede), the ED IDL exposure lists (all 36 interface declarations extracted programmatically from the fetched draft, 2026-08-02), the implementing CL 8085260's commit message + full file list + css_style_value.idl diff (fetched via the Gerrit REST API), trunk IDL for css_style_value.idl and css_numeric_value.idl (base64-decoded from gitiles), BCD raw JSON for all five core interfaces (CSSStyleValue, CSSKeywordValue, CSSNumericValue, CSSUnitValue, CSSUnparsedValue), and the webstatus.dev query result. The headline finding — implementing CL still open while the listing says 'Enabled by default' — is documented with both sides linked. |
| milestone-mapping | 5/5 | info | Feature id 5114591051907072 appears in the live milestone=153 listing under 'Enabled by default' (verified 2026-08-02); slug derived from the exact listing name 'Expose CSSStyleValue hierarchy to Worker contexts' via the repo slugify(); placed under v153 per invariant #2; identity link present in at-a-glance, see-also, and citations. |
| completeness | 5/5 | info | reference-contract.json claims implementation-sufficient: 3 exposure-contract inventory items (worker exposure of the five core constructors, Window-only parse factories, explicitly-unchanged remainder of the hierarchy) × 9 dimensions, each documented with a resolving selector or a sourced not-applicable rationale. Member-level behavior of the long-shipped interfaces is delegated to linked substantive MDN references by design (the feature is an exposure change, not new members). |
| explanation-quality | 4/5 | info | The two-layer compat story (has Typed OM at all vs exposes it in workers) is separated into two tables; the spec-vs-CL scope gap (spec exposes whole hierarchy, CL exposes five) gets its own contract section with feature-detection guidance; the parse()-stays-Window rationale is stated with the CL's own wording. |
| examples | 4/5 | minor | Two labelled gendn-derived snippets forming a runnable pair: main.js instantiates the Worker, wires onmessage, parses on the main thread and posts plain data; worker.js feature-detects, does unit math, posts results, and consumes the posted cssText in self.onmessage. Honestly labelled as not runtime-verified because no Chrome build with the unmerged CL exists to test against; follow-up goal recorded. |
| browser-compat-fallbacks | 5/5 | info | All five interfaces' BCD records fetched raw and verified identical (Chrome 66, Edge mirror, Firefox preview + bugzil.la/1278697, Safari 16.4) and each linked from the compat caption + citation. BCD's lack of worker-exposure subfeature rows is stated explicitly; the worker-exposure table marks Edge as unknown-until-shipped (mirror covers interface availability only) and sources Firefox/Safari worker status only from the CL commit message with unknowns labelled — no invented versions. |
| links-validity | 5/5 | info | Every visible source label links directly to the artifact: spec ED + TR section, CL 8085260, trunk IDL files, tracking bug, BCD files, webstatus.dev, WPT directory + test file, five MDN interface pages, and the verified same-feature showcase route under v154 (HTTP 200 with ChromeStatus identity 5114591051907072 on 2026-10-07). External links use target=_blank rel=noopener. Zero unlinked source labels. |
| accessibility | 5/5 | info | Single h1, h2 section hierarchy with ids, captioned tables with header rows, role=note + aria-label on the Baseline banner, semantic pre/code, house CSS variables only. Warn-block label uses var(--text-charcoal) (#2d2d2d on #ffffff ≈ 13.4:1) after review flagged var(--accent-amber) at ~3.6:1 as below AA for small text; the amber border keeps the warning affordance. |
| responsive-ux | 5/5 | info | Verified in headless Chromium at 360x740 and 1280x800: all tables inside .table-wrap{overflow-x:auto}, overflow-wrap:anywhere on cells/h1/lede/inline code, pre blocks scroll internally, no horizontal page overflow; screenshots read per the responsive matrix run recorded in responsive-support.json. |
| showcase-demo-relationship | 3/5 | minor | The originally selected v153 showcase URL returns 404, but the v154 route for this same ChromeStatus identity 5114591051907072 now returns HTTP 200 HTML; its CPS conformance.json independently reports chromestatusId 5114591051907072 (checked 2026-10-07). The page links that working same-feature demo and labels the cross-release path; its gendn-derived examples remain unverified against a browser with the CL applied, so it does not claim the iframe or runtime behavior was tested. |
modern-web-guidance consulted
- responsive data table reference documentation overflow — Lean on intrinsic sizing and the browser layout engine; keep overflow contained; wrap potentially-wide tables (overflow-x:auto) rather than letting them force page overflow; overflow-wrap on cells with long tokens. (Applied: every table sits in .table-wrap{overflow-x:auto}; compat tables get min-widths so they scroll within the wrap instead of crushing columns; overflow-wrap:anywhere on th/td, h1, lede, and inline code; pre blocks overflow-x:auto; no fixed pixel layout widths.)
- accessible reference documentation tables code examples — Semantic HTML structure, labelled tables, heading hierarchy, meaningful landmarks, no keyboard traps in static reference content. (Applied: captioned doc-tables with header rows, id-anchored h2 sections, role=note + aria-label on the Baseline banner, semantic pre>code blocks, no interactive controls.)
- mark a related external demo link distinctly from an unavailable own-feature demo, while keeping the link accessible and useful — Use <a> for URL navigation and give interactive elements an accessible name. (Applied to the same-feature v154 demo: retained an <a> for navigation with descriptive Chrome 154 / worker-context link text instead of implying the old v153 URL works. The page's demo-selection rule and exact-ID check come from gendn's manifest contract and live CPS suite, not from this general HTML guidance.)
open questions
- When CL 8085260 merges, which milestone does it actually land in? The listing says 153, but if it slips the page's implementation-status warning and worker-exposure compat row need updating with the merge date and actual milestone.
- Does the eventual Chrome change (or a follow-up) expose the remaining hierarchy (transform/math/color subclasses) to workers, per the spec-wide exposure? Watch tracking bug 534781956.
- The CL says CSSSkewX/CSSSkewY were already worker-exposed in Blink — an odd pre-existing island; verify from the webexposed listings and consider documenting it if BCD picks it up.
follow-up goals
- [high · targeted-fix] After CL 8085260 merges and ships, runtime-verify the worker feature-detection example in an actual Chrome build, replace the 'not runtime-verified' label with observed output, and update the warn-block + worker-exposure compat row with the merge/ship evidence.
- [medium · targeted-fix] Re-check BCD for new worker-exposure subfeature rows on the five interfaces once the change ships and simplify the second compat table to concrete versions.
- [medium · targeted-fix] Embed the chrome-platform-showcase demo iframe once the v153/expose-cssstylevalue-hierarchy-to-worker-contexts route exists (currently 404).
- [high · targeted-fix] The shared warn-block pattern copied across earlier pages (e.g. v153/interoperable-dispatch-timing) uses var(--accent-amber) for 0.75rem label text (~3.6:1 on bg-paper, below WCAG AA). Apply the same var(--text-charcoal) label fix to those pages in a targeted wave.