← v148/idna-contextj-rules · conformance
critique · rev 1
v148/idna-contextj-rules
rubric
| dimension | score | severity | evidence |
|---|---|---|---|
| factual-source-fidelity | 4/5 | minor | Formal rules quoted from the WHATWG URL Standard 'domain parser ToASCII' (CheckJoiners=true regardless of beStrict, read 2026-11-15) and RFC 5892 Appendix A.1/A.2 rule sets (rfc-editor.org text). Escaped example outcomes were observed in headless Chromium 153.0.8010.12: Latin+ZWNJ/ZWJ rejected; Devanagari virama+ZWNJ/ZWJ and a Persian ZWNJ word accepted (punycode hostnames recorded). Existing prose kept; the original 'xn--<ZWNJ>' snippet also fails in 153 but is an odd illustration, so a clearer escaped example was added after it rather than replacing it. |
| milestone-mapping | 5/5 | info | Feature 6295810820145152 listed under 'Enabled by default' in chromestatus milestone=148 (queried 2026-11-15); detail record desktop/android/webview 148. Route, identity and manifest demo unchanged. |
| completeness | 4/5 | info | No JS API surface: the change is a parsing rule. Contract keeps its four inventory items; syntax now maps to the new #formal-syntax block with the URL ToASCII flags and both ContextJ rule sets. |
| explanation-quality | 4/5 | info | Plain-language reading of the rule sets added, including the URL Standard nuance that an all-ASCII host is lowercased and accepted in the lax parser even if Unicode ToASCII reports an error. |
| examples | 4/5 | info | Escaped valid/invalid example with recorded outputs from Chromium 153; ContextJ Demo showcase concept embedded. Not run on a Chrome 148 build. |
| browser-compat-fallbacks | 3/5 | minor | BCD api/URL.json (raw, 2026-11-15) has no IDNA/ContextJ sub-feature and webstatus.dev returns nothing for 'idna'/'contextj'; both stated on the page. Table is labelled interim from ChromeStatus (Chrome 148; Firefox/Safari 'Shipped for a long time, exact version not found'; Edge unknown). Score reflects missing per-version data for other engines, not a page defect. |
| links-validity | 4/5 | minor | Every link curl-checked 200 on 2026-11-15 except github.com BCD blob (403 via session proxy; content verified via raw JSON). Intent to Ship now also links the canonical Google Groups thread. |
| accessibility | 4/5 | info | Banner role=note + aria-label; status conveyed in text; compat table keeps thead/th; iframe titled with figcaption text link; invisible joiners in new examples written as \u escapes so they are perceivable. |
| responsive-ux | 4/5 | info | Playwright 1280x800 and 360x740 DPR3: scrollWidth == innerWidth, no console errors, no failed requests; tables scroll inside .table-wrap on mobile; pre blocks scroll. Screenshots read: scratchpad idna-desktop.png, idna-mobile.png, idna-mobile-banner.png, idna-desktop-iframe.png. |
| showcase-demo-relationship | 5/5 | info | Feature route and five concept routes 200 (2026-11-15). contextj-demo embedded after a text link to the feature index; deno task manifest still selects https://chrome-platform-showcase.paulkinlan-ea.deno.net/v148/idna-contextj-rules/; check-routes PASS without migration. iframe title read: 'ContextJ Demo — IDNA ContextJ rules — Chrome 148'. |
modern-web-guidance consulted
- responsive data table on mobile without horizontal page overflow — Keep semantic table/thead/th markup and let the table scroll in a wrapper on small screens instead of crushing columns below legibility. (Applied: compat table uses thead/th inside .table-wrap; name/version columns do not break mid-token and the notes column has a min-width so narrow screens scroll rather than squeeze. Exception: no sticky/stacked layout, to match the shared v148 table pattern.)
- lazy loading cross-origin iframe embed sandbox — Use native loading="lazy" for below-the-fold iframes with explicit dimensions. (Applied: showcase iframe is loading="lazy" with width/height, below the fold.)
- status banner note accessible semantics — Use semantic HTML, name note regions, and do not rely on colour alone. (Applied: role=note + aria-label on the banner; Edge's unknown status is stated in text as well as with a dashed border.)
open questions
- No primary source gives Firefox or Safari version numbers for ContextJ enforcement; ChromeStatus says 'exact version not found'. WPT IdnaTestV2 per-engine results were linked but not summarised.
- Edge behaviour is inferred from Chromium, not verified.
follow-up goals
- [low · targeted-fix] Replace the interim compat rows when BCD or web-features add an IDNA/ContextJ entry; otherwise summarise WPT url/IdnaTestV2 per-engine pass rates for the ContextJ cases.