← v156/css-pseudo-class-for-navigation-source-element · conformance
critique · rev 1
v156/css-pseudo-class-for-navigation-source-element
rubric
| dimension | score | severity | evidence |
|---|---|---|---|
| factual-source-fidelity | 5/5 | info | Every load-bearing claim traced to a primary source fetched live 2026-11-01: css-navigation-1 §2.2 (matching rule quoted verbatim; trigger element kinds a/area/form/input-submit/button) and §4 (navigation state struct, phases, pre-reveal null source element, fully-active requirement), runtime_enabled_features.json5 (NavigationSourcePseudoClass status stable, implied_by RouteMatching), ChromeStatus API record 6327898878377984 (desktop/Android/WebView 156, vendor views, finch name), BCD css/selectors/navigation-source.json (chrome 156, firefox/safari false, experimental true), webstatus.dev absence (empty search + id 404), csswg-drafts #11801 (origin, :navigation-trigger → :nav-source → :navigation-source history, closed completed via PR #14122 on 2026-07-01), intent-to-ship thread (2026-09-03, three LGTMs). |
| milestone-mapping | 5/5 | info | Feature id 6327898878377984 confirmed in the milestone=156 listing under 'Enabled by default' (fetched 2026-11-01); slug css-pseudo-class-for-navigation-source-element derived from the exact listing name 'CSS pseudo-class for navigation source element' per invariant #1. Trunk flag state is stable (not experimental), so the eyebrow carries 'enabled by default' and no warn-block is required; the baseline banner still states Limited availability honestly. |
| completeness | 4/5 | info | The developer-facing surface is a single argument-less pseudo-class; it is documented on the overview with all nine dimensions (syntax+specificity+feature-detect, matchable elements, effects, invalid-selector degradation, context, navigation-state lifecycle, examples, BCD compat, security/privacy). reference-contract.json claims implementation-sufficient with 1 inventory item and 13 sources. The wider css-navigation-1 surface (@location, @navigation, navigation()) is explicitly out of scope and linked in see-also; those are separate chromestatus features. |
| explanation-quality | 4/5 | info | The lifecycle section explains the non-obvious parts a developer must know: matching happens in the OUTGOING document only, the destination document reconstructs state with source element null, script navigations have no source element, pre-reveal navigations never reflect in CSS, and a second navigation moves the match. |
| examples | 4/5 | minor | The spec's own two examples are quoted (thumbnail view-transition-name; form/submit outline) plus feature-detection and :where() isolation patterns. Examples are source-derived; not executed against a local Chrome 156 (environment Chrome predates 156), disclosed here rather than implied. |
| browser-compat-fallbacks | 5/5 | info | Real per-version BCD table (Chrome 156, Chrome Android/WebView 156, Edge mirror 156, Firefox false, Safari false) with the BCD file linked; webstatus.dev absence stated with the exact queries; graceful-degradation section covers the invalid-selector-list hazard with the two safe authoring patterns and cites selectors-4 §3.9. |
| links-validity | 5/5 | info | Every cited source is a direct link; all non-GitHub URLs curl-verified 200 on 2026-11-01; GitHub URLs (which reject this environment's HEAD/GET probes with 403) verified via WebFetch content reads (issue #11801 title/state/dates confirmed). Zero unlinked source labels; external links use target=_blank rel=noopener. |
| accessibility | 4/5 | info | Single h1, sequential h2 outline, th scope=row on glance table, thead on data tables, role=note + aria-label on the baseline banner, iframe title, figcaption, and keyboard-scrollable table wrappers (tabindex=0 role=region aria-label per modern-web-guidance responsive-table). Colors come from the shared design-system variables (WCAG AA pairs). |
| responsive-ux | 5/5 | info | Matrix pass 2026-11-01: Playwright headless Chromium at 1280x800 and 360x740 DPR2 touch; full-page scrolled segments read; hOverflow=0 both classes; zero console errors; zero failed requests; repo auto-scan desktop:ok mobile:ok; responsive-support.json set to ok/ok with method evidence. |
| showcase-demo-relationship | 5/5 | info | Embeds the showcase thumbnail-view-transition concept (HEAD-checked 200, 2026-11-01) with the mandatory sandbox="allow-scripts allow-same-origin" + referrerpolicy="strict-origin-when-cross-origin" posture; sibling concepts (loading-links, form-submit-feedback, selector-parse-lab) linked additively; the selected demo URL is the first own-feature showcase link in source order and is recorded in the manifest. |
modern-web-guidance consulted
- responsive data table without horizontal overflow on mobile reference page — Semantic table with thead/th scope; scrollable wrapper with tabindex="0" and role="region" plus an accessible name so keyboard users can scroll; keep header/data relationships intact on small screens. (Applied: every doc-table sits in the house .table-wrap scroller, now with tabindex="0" role="region" and aria-label on each wrapper; headers use th scope/thead; cells wrap via the corpus-wide overflow-wrap default, verified 0px horizontal overflow at 360px.)
- embed cross-origin iframe securely sandbox — Treat third-party embeds as untrusted: sandbox them and avoid leaking the embedding page's URL cross-origin. (Applied via the repo's gendn-kjq posture: sandbox="allow-scripts allow-same-origin" (withholding top-navigation/popups/forms/downloads/pointer-lock) + referrerpolicy="strict-origin-when-cross-origin" + loading="lazy" on the showcase iframe.)
- embedding third party iframe lazy loading performance — Defer offscreen/heavy embeds so they don't compete with initial render. (Applied: the showcase iframe is loading="lazy" and sits below the examples fold; no other third-party content loads on the page.)
open questions
- css-navigation-1 is an early Editor's Draft with open issues on naming and HTML integration (the traversing-navigate-event concept); the matching rule or phase names could change before a Working Draft — the lifecycle section would need re-anchoring.
- The spec's Privacy and Security Considerations sections are placeholders ('To be written'); when written, the security-and-privacy section's gendn-derived analysis must be replaced with the normative text.
- Whether the submit-button-vs-form source element choice matches Chromium's shipped behavior for every submission path (implicit submission, requestSubmit with/without a submitter) is spec-ambiguous at this draft stage and not asserted on the page.
follow-up goals
- [medium · targeted-fix] When webstatus.dev gains a web-features entry for :navigation-source (web_feature is currently 'Missing feature'), add the Baseline computation to the banner and re-check the BCD row set.
- [medium · targeted-fix] When css-navigation-1 writes its Privacy/Security Considerations sections, replace the gendn-derived analysis in #security-and-privacy with the normative text and re-cite.
- [medium · targeted-fix] Execute the spec examples against a Chrome 156+ build (or WPT when css/css-navigation tests land) to confirm the submit-button source-element behavior across submission paths, then de-hedge the lifecycle notes.
- [high · additive-page] Add v156 pages for the sibling CSS Navigation Matching features (@location / @navigation / navigation() route matching) as they appear in milestone listings, cross-linking this page.