← v160/svg-path-data-api · conformance
critique · rev 1
v160/svg-path-data-api
Honest MDN redirect stub for Chrome 160 SVG Path Data API (pointing to MDN's complete dedicated pages for getPathData(), setPathData(), and getPathSegmentAtLength()), enriched with Blink C++ edge-case semantics, BCD lag disclosure, and live Chrome Platform Showcase embed.
rubric
| dimension | score | severity | evidence |
|---|---|---|---|
| factual-source-fidelity | 5/5 | info | Verified MDN coverage across all three methods (getPathData, setPathData, getPathSegmentAtLength — all HTTP 200 with Syntax, Parameters, Return value, Examples, Specifications, and Browser compatibility on 2026-11-24). Chrome 160 behavior verified directly from Blink svg_path_element.cc, svg_path_data.idl, WPT svg/path/interfaces/*, BCD api/SVGPathElement.json, and ChromeStatus 4787972240179200. |
| milestone-mapping | 5/5 | info | Feature 4787972240179200 appears under 'Enabled by default' in /api/v0/features?milestone=160 with listing name 'SVG Path Data API'; slug svg-path-data-api matches lib/chromestatus.ts; H1 matches listing name; declared ChromeStatus row present. |
| completeness | 5/5 | info | Honest MDN redirect stub (exempt from reference-contract.json because MDN owns the canonical per-method references) supplemented with Blink C++ edge-case notes, BCD lag disclosure, quick-reference metadata, and live showcase embed. |
| explanation-quality | 5/5 | info | Clearly documents Chrome 160's base-d-only semantics, setPathData() valid-prefix truncation and empty removeAttribute('d') behavior, getPathSegmentAtLength() clamping, and MutationObserver notifications. |
| examples | 5/5 | info | Embeds live Chrome Platform Showcase segment-inspector demo with required sandbox + referrerpolicy, links 4 sibling concepts, and provides a feature-detected normalize/transform JS snippet. |
| browser-compat-fallbacks | 5/5 | info | Honest Limited availability Baseline banner (Firefox 137 + Chrome/Edge 160; Safari no signal), explicitly discloses BCD api/SVGPathElement.json Chrome=false lag, and links path-data-polyfill. |
| links-validity | 5/5 | info | Every visible source/citation label carries a direct <a href> with target='_blank' rel='noopener'; all three MDN URLs, Blink source links, WPT links, and CPS routes verified HTTP 200 on 2026-11-24. |
| accessibility | 5/5 | info | Single <main>, single <h1>, sequential h2 hierarchy, <nav class='local-nav'> jump links, captioned tables with <th scope>, focusable .table-wrap scroll regions with :focus-visible outline, and role='note' Baseline banner. |
| responsive-ux | 5/5 | info | Verified via npm run responsive -- --page v160/svg-path-data-api --screenshots (desktop:ok mobile:ok) and visual inspection of desktop (1280x800) and mobile (360x740 DPR3) screenshots: 0px horizontal overflow, clean wrapping of Baseline chips and local-nav pills, block-level responsive iframe, and max-inline-size: 100% scrollable tables. |
| showcase-demo-relationship | 5/5 | info | Embeds verified 200 concept demo https://chrome-platform-showcase.paulkinlan-ea.deno.net/v160/svg-path-data-api/segment-inspector/ whose parent breadcrumb resolves to /v160/svg-path-data-api/conformance.json (chromestatusId 4787972240179200). |
modern-web-guidance consulted
- responsive reference documentation table scroll focus navigation code blocks — Use semantic landmarks (<main>, <header>, <nav>, <footer>), sequential headings, captioned tables with <th scope>, aria-labelledby, and visible :focus-visible outlines on focusable scroll regions. (Applied: single <main>, sequential h1/h2, <nav class='local-nav' aria-label='On this page'>, captioned tables with <th scope='col|row'>, focusable .table-wrap regions linked via aria-labelledby with 3px :focus-visible outline.)
- responsive data table mobile overflow typography code blocks — Use logical sizing properties (max-inline-size, inline-size), never mask overflow with overflow: hidden, and use display: block on replaced elements like <iframe> to avoid baseline gaps. (Applied: .table-wrap uses max-inline-size: 100%, .example-embed iframe uses display: block and inline-size: 100%, and shared styles handle horizontal scrolling without overflow: hidden clipping.)
- responsive data table mobile overflow typography code blocks — Keep headings balanced and code/tables legible on narrow mobile viewports. (Applied: relies on shared /public/styles.css editorial tokens with zero inline overrides on pre, h1, code, blockquote, or .baseline-browsers.)
- dark mode color-scheme semantic tokens light-dark — Use semantic design tokens rather than hard-coded colors so light and dark themes remain legible. (Applied: all borders and focus outlines use CSS custom properties from /public/styles.css.)
open questions
- Remove the BCD Chrome=false lag note once mdn/browser-compat-data updates api/SVGPathElement.json for Chrome 160.
- Track WebKit standards-positions#731 and Interop 2027 proposal #1469 for Safari support.
follow-up goals
- [low · targeted-fix] Update Browser compatibility table once BCD api/SVGPathElement.json records Chrome 160 support.