← v152/speculation-rules-moderate-viewport-heuristics-controls · conformance
critique · rev 1
v152/speculation-rules-moderate-viewport-heuristics-controls
rubric
| dimension | score | severity | evidence |
|---|---|---|---|
| factual-source-fidelity | 5/5 | info | Every claim traces to a primary source fetched live 2026-07-29: the explainer gist (grammar, defaults, the three-check algorithm), the Intent to Experiment + API-owner LGTM (M152-M157 inclusive, Android-only, no spec/TAG N-A/'no plans to ship as is', Shopify interest, WPT-No answer), runtime_enabled_features.json5 (flag status experimental, origin_trial_feature_name, origin_trial_os [Android], origin_trial_allows_third_party), and four Chromium source files (speculation_rule_set.cc unconditional parse + ignored-malformed; speculation_rule_set.h optional-fields struct; document_speculation_rules.cc first-rule-set-wins; anchor_element_interaction_tracker.cc defaults, clamping, OT-gated application, 10ms privacy floor). The one source divergence found (explainer delay clamp 0-5000 vs implementation 10-5000) is disclosed on both pages with the implementation treated as authoritative. |
| milestone-mapping | 5/5 | info | Slug and folder derive from the milestone=152 listing name 'Speculation Rules - moderate viewport heuristics controls' filed under category 'Origin trial' (re-fetched 2026-07-29). The detail record's stale 'Proposed' status and empty OT fields are disclosed in at-a-glance; the listing is treated as authoritative per invariant #2. Identity link chromestatus.com/feature/6240467143491584 present on both pages. |
| completeness | 5/5 | info | reference-contract.json declares 5 inventory items (the ruleset key, its three fields, and the candidate-selection algorithm they tune) x 9 dimensions, all documented across overview + child route; implementation-sufficient claimed. The inventory was derived from the explainer field table and the Chromium parse/apply code, not from prose guesswork. |
| explanation-quality | 5/5 | info | The page leads with what the feature is NOT (no spec, no ship plan) before the grammar; the heuristic is explained as the three checks the parameters tune, with the two-layer gating (base heuristic feature, then OT) and the deliberately-simplistic first-rule-set-wins semantics made explicit. Effect-of-changing rows give developers an experimentation starting point without inventing recommended values. |
| examples | 5/5 | info | Three snippets: the explainer's proposal example verbatim, a partial-override example (demonstrating optional-field fallback), and a two-rule-set example demonstrating first-wins (sourced to document_speculation_rules.cc). Live CPS heuristic-builder iframe embedded after HEAD-200 verification; it rendered real demo content in the desktop screenshot. |
| browser-compat-fallbacks | 5/5 | info | No BCD entry and no webstatus entry (both verified absent with linked queries 2026-07-29); the compat table is labelled interim and compiled from linked primary sources with explicit not-applicable rows (desktop, WebView) and no-signal rows (Firefox, Safari). Silent-degradation fallback (unknown-key ignore semantics) is documented. |
| links-validity | 5/5 | info | All 17 contract sources are direct primary-artifact links (no plain-text citations); external links use target=_blank rel=noopener. mail-archive mirrors provided for the blink-dev intent. CPS routes HEAD-checked before embedding. |
| accessibility | 4/5 | info | Single h1, ordered h2 sections, scoped table headers (th scope=row / thead), role=note + aria-label on the baseline banner, descriptive iframe title, shared design-system variables only (WCAG AA). Guided by the accessibility skill (semantic structure, labelled frames). |
| responsive-ux | 4/5 | info | css-layout guidance applied: tables inside .table-wrap overflow-x containers, h1/lede/inline code overflow-wrap:anywhere for the long snake_case tokens, pre blocks scroll internally. Mobile 390px and desktop 1280px screenshots captured and read; no horizontal overflow; the 5-row field tables and the long flag name wrap cleanly. |
| showcase-demo-relationship | 5/5 | info | CPS feature index plus three concept routes (heuristic-builder, candidate-ranker, prefetch-observer) all HEAD-200 on 2026-07-29; heuristic-builder embedded (the parameter-focused concept), feature index linked in see-also. The demo demonstrates parameter effects — consistent with the reference's explanation, no contradictory claims. |
modern-web-guidance consulted
- responsive reference documentation tables without horizontal overflow — Lean on the browser layout engine; use overflow containment for wide content; prefer intrinsic sizing and logical properties. (Applied: .table-wrap{overflow-x:auto} around every doc-table, overflow-wrap:anywhere on h1/lede/inline code, pre{overflow-x:auto}; verified in 390px/1280px screenshots.)
- accessible data tables reference docs — Semantic structure, labelled tables and frames, visible focus and AA contrast from the shared design system. (Applied: thead/scope on all tables, role=note banner, titled iframe, CSS variables only.)
open questions
- The explainer documents a delay clamp of 0-5000 while the implementation enforces 10-5000 (10 ms floor 'per privacy review'); the page treats the implementation as authoritative — if the explainer is updated to match, the page's discrepancy note can be simplified.
- The chromestatus detail record still reads 'Proposed' with empty OT fields while the listing files the feature as Origin trial; if the record is updated, the at-a-glance disclosure can be removed.
- The compiled defaults are Finch feature parameters (kPreloadingModerateViewportHeuristics: distance_from_ptr_down_low/hi, largest_anchor_threshold, delay) — the effective defaults in the field may differ from the documented compiled values; no public source pins the served values.
- Whether a future shipping version of these controls (post-experiment) would keep the same grammar is unknowable by design; the intent explicitly records no ship plan.
follow-up goals
- [medium · targeted-fix] Re-check the explainer gist and anchor_element_interaction_tracker.cc for convergence on the delay clamp (0 vs 10 ms floor); simplify the discrepancy note if they agree.
- [high · targeted-fix] When the origin trial concludes (post-M157) or the feature graduates to a shipping spec (WICG/nav-speculation PR), re-evaluate this page: either fold the final grammar into updated docs or record the experiment's outcome and mark the page historical.
- [low · targeted-fix] If WPT or BCD coverage for moderate_viewport_heuristics appears, replace the interim compat table with real data and drop the absence statements.
- [medium · targeted-fix] Verify runtime behavior on a physical Android device with a trial token (candidate pick changes with parameter tweaks) once hardware is available; current behavior contracts are source-derived, not executed.