← v160/case-sensitive-anchor-name-matching-in-quirks-mode · conformance
critique · rev 1
v160/case-sensitive-anchor-name-matching-in-quirks-mode
Implementation-sufficient Chrome 160 reference for case-sensitive <a name> anchor matching in quirks mode, sourced from the HTML Living Standard, Blink tree_scope.cc and runtime_enabled_features.json5, WPT scroll-to-anchor-name-quirks-case.html, BCD html/elements/a.json, and ChromeStatus 5085237991309312.
rubric
| dimension | score | severity | evidence |
|---|---|---|---|
| factual-source-fidelity | 5/5 | info | Normative algorithm quoted verbatim from HTML Living Standard #find-a-potential-indicated-element (fetched 2026-11-24); Blink TreeScope::FindAnchorWithName() and CaseSensitiveAnchorMatching flag verified directly in Chromium source; WPT scroll-to-anchor-name-quirks-case.html test cases (ASCII, non-ASCII, U+017F long-s, earlier-anchor shadowing) verified verbatim. |
| milestone-mapping | 5/5 | info | Feature 5085237991309312 appears under 'Enabled by default' in /api/v0/features?milestone=160 with listing name 'Case-sensitive anchor name matching in quirks mode'; slug case-sensitive-anchor-name-matching-in-quirks-mode matches lib/chromestatus.ts; H1 matches listing name; ChromeStatus row declared in .doc-table. |
| completeness | 5/5 | info | reference-contract.json maps both the quirks-mode lookup algorithm and migration guidance across all 9 required dimensions with substantive rendered HTML and surfaceMarkers. |
| explanation-quality | 5/5 | info | Explains exact raw + percent-decoded lookup steps, preserves the unchanged ASCII-case-insensitive #top special case, explains the earlier-anchor shadowing bug fixed by the change, and provides concrete migration and rollback guidance. |
| examples | 4/5 | minor | Two complete semantic <pre><code> examples (WPT-derived quirks-mode before/after behavior and a DevTools DOM audit script for finding case-mismatched <a name> links). No chrome-platform-showcase demo exists (HEAD returned 404 on 2026-11-24). |
| browser-compat-fallbacks | 5/5 | info | Honestly reports no webstatus.dev Baseline ID and no BCD quirks-mode subfeature while documenting Chrome 160 stable flip, Firefox/Safari already case-sensitive, and Edge 160 wpt.fyi status. |
| links-validity | 5/5 | info | Zero unlinked citation labels; all external links use target='_blank' rel='noopener'; full 16-digit ChromeStatus ID 5085237991309312. |
| accessibility | 5/5 | info | Single <main>, single <h1>, sequential h2/h3 hierarchy, semantic tables with <caption> and <th scope>, focusable .table-wrap scroll regions with aria-labelledby and 3px :focus-visible outline, and Baseline banner role='note'. |
| responsive-ux | 5/5 | info | Uses shared /public/styles.css layout, .local-nav jump bar, logical max-inline-size: 100%, and horizontally scrollable .table-wrap containers without horizontal document overflow at desktop or 360px mobile. |
| showcase-demo-relationship | 4/5 | info | HEAD check on https://chrome-platform-showcase.paulkinlan-ea.deno.net/v160/case-sensitive-anchor-name-matching-in-quirks-mode/ returned 404 on 2026-11-24; no broken iframe or speculative link emitted so manifest demo remains honestly null. |
modern-web-guidance consulted
- accessible documentation landmarks headings tables dark mode typography — Use semantic landmarks (<main>, <header>, <nav>, <footer>), sequential headings, semantic data tables with <caption> and <th scope>, and :focus-visible outlines on keyboard-focusable scroll containers. (Applied: single <main>, <nav class='local-nav' aria-label='On this page'>, sequential h1/h2/h3 headings, captioned tables with <th scope>, and focusable .table-wrap regions with aria-labelledby and :focus-visible outlines.)
- responsive reference documentation table scroll navigation without horizontal overflow — Use logical sizing properties (max-inline-size) and overflow: auto scroll containers for wide data tables without overflow: hidden clipping. (Applied: .table-wrap uses max-inline-size: 100% with horizontal scrolling for .compat-table and .scroll-table, inheriting /public/styles.css layout tokens.)
- accessible documentation landmarks headings tables dark mode typography — Keep heading wrapping balanced via shared styles and preserve scannable code blocks on narrow screens. (Applied via /public/styles.css (balanced headings, scrollable <pre> blocks). Exception: omitted text-wrap: pretty on long reference prose.)
- accessible documentation landmarks headings tables dark mode typography — Use shared semantic color tokens for light/dark parity rather than hardcoding inline colors. (Applied: relies on /public/styles.css semantic tokens with minimal table-width inline styles.)
open questions
- Update wpt.fyi Edge pass counts once Edge 160+ picks up the CaseSensitiveAnchorMatching stable flip.
follow-up goals
- [low · targeted-fix] Refresh wpt.fyi results in the Browser compatibility table once Edge 160+ reflects the stable CaseSensitiveAnchorMatching flip.