← v158/css-custom-highlight-universal-selector-highlight · conformance

critique · rev 1

v158/css-custom-highlight-universal-selector-highlight

reviewed 2026-11-22 by gendn leaf-reference writer (self-review; independent integrator review pending)

rubric

dimensionscoreseverityevidence
factual-source-fidelity4/5minorGrammar and both specificity sentences quoted verbatim from css-pseudo-4 §3.1 (fetched 2026-11-22). Cascade/inheritance claims trace to css-pseudo-4 §3.5 and to the WPT custom-highlight-universal-* tests (source read 2026-11-22). Pre-158 rejection path observed in headless Chrome 153 (insertRule SyntaxError for ::highlight(*), CSS.supports('selector(::highlight(*))') false, ::highlight(\*) parses). Positive Chrome 158 behaviour NOT executed locally: the sandbox Chrome is 153 and the CSSCustomHighlightUniversalSelector runtime flag does not exist there.
The ':root::highlight(*) vs unqualified ::highlight(*)' pitfall is derived from the spec's §3.5 inheritance rule and its ::selection example, not from a dedicated WPT test; flagged as derived in openQuestions.
milestone-mapping5/5infoFeature 5174965228929024 appears under 'Enabled by default' in /api/v0/features?milestone=158 with listing name 'CSS Custom Highlight Universal Selector ::highlight(*)'; slug css-custom-highlight-universal-selector-highlight computed with the lib/chromestatus.ts rule; H1 equals the listing name; chromestatus.com/feature/5174965228929024 linked 4 times in the rendered DOM.
completeness4/5minorreference-contract.json: 3 inventory items (the '*' argument; zero-specificity per-property cascade; inheritance of the universal base) x 9 dimensions, all documented with h2/h3 fragment selectors and surfaceMarkers. Pre-existing ::highlight(<custom-ident>) and HighlightRegistry surfaces are referenced, not re-inventoried (Chrome 105, MDN-covered).
getComputedStyle(el, '::highlight(*)') deliberately documented only as 'not covered by WPT'.
explanation-quality4/5infoExplains matching (per-name, not merged), parse-failure fallbacks (selector-list invalidation), per-property cascade with a worked resolved-style table, inheritance with the :root pattern, and painting/lifecycle (dynamic registration, priority, async repaint).
examples4/5minorShowcase universal-base-style concept iframe (HTTP 200, 2026-11-22; renders in headless Chrome 153 at 1280 and 360 widths, showing its pre-158 fallback state) plus four pre/code examples: full page with @supports fallback, WPT painting-001 mirror, WPT deep-chain-001 mirror, script feature detection. Example code was not executed in a Chrome 158 build.
browser-compat-fallbacks4/5minorBCD css/selectors/highlight.json has no '*' subfeature, stated explicitly; compat table uses ChromeStatus (Chrome 158), wpt.fyi run of 2026-11-22 (Chrome 160 canary all pass; Edge 158 1/2 inheritance-computed; Firefox Nightly 163.0a1 partial; Safari 27.2 fails painting), WebKit bug 323469 (fixed 2026-09-11) and both standards positions; parent ::highlight() versions from BCD. Baseline: Limited availability for '*', parent highlight feature Newly available since 2026-03-24 (webstatus.dev).
links-validity5/5infoEvery source label is a direct link; spec anchors (selectordef-highlight-highlight-name-selector, typedef-highlight-name-selector, highlight-cascade, highlight-styling, highlight-painting, highlight-security, privacy; css-highlight-api-1 #default-styles #creation #highlight-registry #painting #priority #repaint #priv #sec; selectors-4 #invalid; css-conditional-4 #at-supports-ext; cssom-1 #dom-cssstylesheet-insertrule) verified present in fetched spec HTML; All 41 other non-GitHub hrefs curl-checked 200 (2026-11-22); commits.webkit.org/320952@main returned 403 through the sandbox proxy so the page links the GitHub mirror commit WebKit/WebKit@5ed89fc instead (content read via WebFetch). GitHub-hosted sources (issues, PR, WPT and BCD files, standards positions) cannot be curl-checked through this proxy; their content was read via WebFetch or raw.githubusercontent.com (200). All external links target=_blank rel=noopener.
accessibility5/5infoSingle h1; id-anchored h2/h3 hierarchy; tables with scope'd headers and captions; scrollable table wrappers with captions get tabindex=0 + role=region + aria-labelledby and a visible focus outline; Baseline banner role=note with aria-label; iframe has a descriptive title; CSS variables only.
responsive-ux4/5infodeno task responsive: desktop ok / mobile ok (no overflow). Full-page headless screenshots at 1280 and 360 widths read in full (/tmp/claude-0/sp/dc-*.png, mc-*.png): banner wraps, wide tables scroll inside .table-wrap rather than squashing (args/resolved/compat tables given min-width after a first 360px pass showed one-character-per-line columns), code blocks scroll horizontally, iframe at 100% width.
showcase-demo-relationship5/5infoEmbeds this feature's own showcase concept universal-base-style (HTTP 200); parent feature page breadcrumb verified; CPS conformance JSON release v158 / featureSlug / chromestatusId 5174965228929024 match; sibling concepts zero-specificity-cascade and multi-category-annotator linked in see also.

modern-web-guidance consulted

open questions

follow-up goals