← v160/csspseudoelement-selectortext · conformance
critique · rev 1
v160/csspseudoelement-selectortext
Implementation-sufficient Chrome 160 reference for CSSPseudoElement.selectorText with live Chrome Platform Showcase embed, sourced from CSS Pseudo-Elements 4 §7.1, Blink css_pseudo_element.idl/.cc, CSSWG #12161 & #14528, WPT, BCD, webstatus.dev, and ChromeStatus 5071155760332800.
rubric
| dimension | score | severity | evidence |
|---|---|---|---|
| factual-source-fidelity | 5/5 | info | WebIDL and normative quote fetched directly from CSS Pseudo-Elements 4 ED §7.1 on 2026-11-24; serialization, SerializeIdentifier escaping, ::scroll-button() coordinate-space rules, and view-transition parent hierarchy verified directly against Blink css_pseudo_element.idl, css_pseudo_element.cc, CSSWG #14528, WPT CSSPseudoElement-selectorText.html, and ChromeStatus 5071155760332800. |
| milestone-mapping | 5/5 | info | Feature 5071155760332800 appears under 'Enabled by default' in /api/v0/features?milestone=160 with listing name 'CSSPseudoElement.selectorText'; slug csspseudoelement-selectortext matches lib/chromestatus.ts; H1 matches listing name; ChromeStatus row declared in .doc-table. |
| completeness | 5/5 | info | reference-contract.json inventories CSSPseudoElement.selectorText and its serialization algorithm across all 9 dimensions and explicitly lists pre-existing interface members (type, element, parent, pseudo) in outOfScope with rationales. |
| explanation-quality | 5/5 | info | Clearly contrasts type vs selectorText, documents single-segment sub-pseudo behavior, explains physical vs logical ::scroll-button() rules for author-created vs browser-created instances, and documents null-return and strict-mode error behavior. |
| examples | 5/5 | info | Embeds verified 200 live Chrome Platform Showcase concept demo (type-vs-selectortext/) with sandbox and referrerpolicy attributes, links all 4 sibling concept demos, and provides two complete semantic <pre><code> examples (scroll-button/view-transition round-tripping and feature detection). |
| browser-compat-fallbacks | 5/5 | info | Honest Limited availability Baseline banner citing webstatus.dev css-object-model-csspseudoelement and BCD api/CSSPseudoElement.json; compat table reports Chrome 160, Edge 160 wpt.fyi 4/4 pass count, Firefox #1489 No signal, and Safari #744 No signal. |
| links-validity | 5/5 | info | Zero unlinked citation labels; all external links carry target='_blank' rel='noopener'; full 16-digit ChromeStatus ID 5071155760332800. |
| accessibility | 5/5 | info | Single <main>, single <h1>, sequential h2/h3 headings, semantic tables with <caption> and <th scope>, focusable .table-wrap scroll regions with aria-labelledby and 3px :focus-visible outline, iframe title attribute, and Baseline banner role='note'. |
| responsive-ux | 5/5 | info | Shared /public/styles.css layout with logical max-inline-size: 100%, display: block on iframe to prevent inline baseline gaps, .local-nav jump links, and scrollable wide tables with zero horizontal overflow at desktop and 360px mobile. |
| showcase-demo-relationship | 5/5 | info | Verified 200 on https://chrome-platform-showcase.paulkinlan-ea.deno.net/v160/csspseudoelement-selectortext/type-vs-selectortext/ and matching parent conformance suite (release v160, featureSlug csspseudoelement-selectortext, chromestatusId 5071155760332800). |
modern-web-guidance consulted
- accessible documentation landmarks headings tables dark mode typography — Place all content in semantic landmarks (<main>, <header>, <nav>, <footer>), use sequential headings, semantic tables with <caption> and <th scope>, explicit :focus-visible outlines, and aria-labelledby for named regions. (Applied: single <main>, <nav class='local-nav' aria-label='On this page'>, sequential h1/h2/h3 hierarchy, captioned tables with <th scope>, focusable .table-wrap scroll regions wired via aria-labelledby with :focus-visible outlines, and titled iframe.)
- responsive reference documentation table scroll navigation without horizontal overflow — Use logical sizing properties (max-inline-size, inline-size), display: block on replaced elements like <iframe> to eliminate inline gaps, flex-wrap with gap, and overflow: auto rather than overflow: hidden. (Applied: .table-wrap uses max-inline-size: 100%, .example-embed iframe uses display: block and inline-size: 100%, and shared /public/styles.css handles flex-wrap and overflow-x: auto.)
- accessible documentation landmarks headings tables dark mode typography — Apply text-wrap: balance to headings via shared stylesheet without applying globally; keep body and code typography readable across viewports. (Applied via shared /public/styles.css (headings balanced, code blocks horizontally scrollable). Exception: omitted text-wrap: pretty on long body paragraphs to avoid unnecessary line-breaking work.)
- accessible documentation landmarks headings tables dark mode typography — Rely on semantic color tokens adapting to light/dark color-scheme without hardcoding conflicting inline overrides. (Applied: inherits /public/styles.css semantic tokens and light-dark variables with minimal page-specific table/embed rules.)
open questions
- Update the Browser compatibility table once BCD api/CSSPseudoElement.json adds a selectorText entry and once Firefox/Safari update their standards positions.
follow-up goals
- [low · targeted-fix] Refresh the Browser compatibility table once MDN BCD api/CSSPseudoElement.json adds selectorText support data.