← v160/regular-expression-buffer-boundaries · conformance
critique · rev 1
v160/regular-expression-buffer-boundaries
Honest Chrome 160 MDN stub for Regular Expression Buffer Boundaries (5187917373898752), pointing to MDN's dedicated Buffer_boundary_assertion page while documenting Chrome 160 shipping details, V8 flag js_regexp_buffer_boundaries, the Annex B non-Unicode trap, BCD lag, and the live Chrome Platform Showcase embed.
rubric
| dimension | score | severity | evidence |
|---|---|---|---|
| factual-source-fidelity | 5/5 | info | Verified \A, \z, and \Z grammar productions ([+UnicodeMode] Assertion escapes) directly from the TC39 Stage 3 specification (tc39.es/proposal-regexp-buffer-boundaries) and proposal README, V8 flag js_regexp_buffer_boundaries from V8 src/flags/feature-flags.h, Annex B legacy identity-escape behavior outside u/v mode, and ChromeStatus 5187917373898752 (fetched 2026-11-24). |
| milestone-mapping | 5/5 | info | Feature 5187917373898752 appears under 'Enabled by default' in /api/v0/features?milestone=160 with listing name 'Regular Expression Buffer Boundaries'; slug regular-expression-buffer-boundaries matches lib/chromestatus.ts slugify(); H1 equals listing name; declared ChromeStatus row links https://chromestatus.com/feature/5187917373898752. |
| completeness | 5/5 | info | Honest Case A MDN stub: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Buffer_boundary_assertion returns HTTP 200 and contains complete Syntax, Description, worked Examples, Specifications, and BCD-backed Browser compatibility sections (index.json verified 2026-11-24). Stub exemption applies; no reference-contract.json required. |
| explanation-quality | 5/5 | info | Explains the three assertions and their RegExp Modifiers equivalents, highlights the silent Annex B literal-character trap when u/v is omitted, and provides a safe RegExp constructor feature-detection snippet. |
| examples | 5/5 | info | Includes a concise feature-detection and Annex B caveat code block plus an embedded live Chrome Platform Showcase iframe (buffer-anchor-tester) and links to all four sibling concept demos. |
| browser-compat-fallbacks | 5/5 | info | Cross-references BCD javascript/regular_expressions.json (buffer_boundary_assertion: Chrome false, Firefox preview behind preference, Safari preview) against ChromeStatus 160 desktop/Android/WebView and Firefox 155.0a1 Nightly release notes, with explicit disclosure that BCD has not yet recorded Chrome 160. |
| links-validity | 5/5 | info | Every visible source and citation label carries a direct external <a href> with target='_blank' rel='noopener'; all MDN, TC39, V8, ChromeStatus, BCD, and 5 CPS concept URLs verified on 2026-11-24. |
| accessibility | 5/5 | info | Single <main>, single <h1>, sequential h2 hierarchy, local <nav aria-label='On this page'>, semantic tables with <caption> and <th scope>, focusable .table-wrap and <pre tabindex='0'>, descriptive iframe title, and visible :focus-visible outline. |
| responsive-ux | 5/5 | info | Uses shared /public/styles.css tokens with minimal local table-wrap and example-embed rules, logical max-inline-size: 100%, horizontal table scroller, and responsive iframe; verified via npm run responsive at desktop (1280x800) and mobile (360x740). |
| showcase-demo-relationship | 5/5 | info | CPS v160/regular-expression-buffer-boundaries/ and all 5 concept routes HEAD-checked 200 on 2026-11-24. Primary embed buffer-anchor-tester/ carries sandbox='allow-scripts allow-same-origin' and referrerpolicy='strict-origin-when-cross-origin', with parent conformance suite verified 200. |
modern-web-guidance consulted
- responsive data table on mobile without horizontal overflow — Use logical sizing properties (max-inline-size), display: block on replaced elements like <iframe> to avoid inline baseline gaps, flex-wrap: wrap for wrapping lists, and overflow: auto instead of overflow: hidden to handle wide content cleanly. (Applied: .table-wrap uses max-inline-size: 100%, .example-embed iframe uses display: block and max-width: 100%, and shared styles.css provides flex-wrap on .baseline-browsers and overflow-x: auto on scrollable containers.)
- accessible semantic navigation landmarks focus visible — Place all content in semantic landmarks (<header>, <nav>, <main>, <footer>), use sequential headings, semantic tables with <caption> and <th scope>, descriptive iframe title attributes, and explicit :focus-visible outlines. (Applied: single <main>, <header class='lede-block'>, <nav class='local-nav' aria-label='On this page'>, <footer>, captioned compat table with <th scope='col|row'>, descriptive iframe title, and 3px :focus-visible outline on .table-wrap.)
- technical documentation typography readability inline code headings — Apply text-wrap: balance to short headings (h1-h3) and keep code blocks legible without overriding base typography inconsistently. (Applied: inherited shared /public/styles.css heading balance and semantic typography without inline overrides on h1, pre, code, or blockquote.)
- accessible semantic navigation landmarks focus visible — Use <pre tabindex='0'><code> for scrollable code blocks, loading='lazy' for below-the-fold iframes, and keep focusable iframes in the accessibility tree. (Applied: <pre tabindex='0'><code> on the feature-detection snippet and loading='lazy' with descriptive title on the CPS iframe without aria-hidden.)
open questions
- Update browser compatibility table once BCD javascript/regular_expressions.json updates Chrome from false to 160 and once Firefox/Safari ship stable releases.
follow-up goals
- [low · targeted-fix] Refresh the Browser compatibility table once BCD records Chrome 160 and stable Firefox/Safari versions for javascript.regular_expressions.buffer_boundary_assertion.