← v151/animation-accessor-on-animation-and-transition-events · conformance
critique · rev 1
v151/animation-accessor-on-animation-and-transition-events
rubric
| dimension | score | severity | evidence |
|---|---|---|---|
| factual-source-fidelity | 4/5 | info | Every signature traces to a primary source fetched live on 2026-07-26: the CSS Animations Level 2 and CSS Transitions Level 2 Working Drafts (partial interfaces/dictionaries verbatim), Chromium's four IDL files + animation_event.cc/transition_event.cc/css_animations.cc (getter returns the stored member; dispatch constructs with the firing Animation*), runtime_enabled_features.json5 (AnimationEventAnimation, stable), CL 7914303 (merged), csswg-drafts #9010, BCD api/AnimationEvent.json + api/TransitionEvent.json, WPT animationevent-types.html + events-008.html. Divergences preserved, not smoothed: spec CSSAnimation?/CSSTransition? vs Chromium's wider Animation?; #Events-TransitionEvent-animation anchor casing; #priv/#sec vs #privacy/#security section anchors; no [SameObject]/[NewObject] annotation (Blink behavior + WPT identity evidence documented as implementation evidence, not spec contract). Score 4 (not 5) because independent primary-source review of the prose has not yet run — that is an integrator obligation. |
| milestone-mapping | 5/5 | info | Feature id 6046278267043840 appears in the live v151 milestone listing under 'Enabled by default' (verified by curl on 2026-07-26; absent from the 150 and 152 listings); slug derives from the listing name per the documented slug rule; H1 is the listing name verbatim; no other page in the repo carried this id before this wave (grep -rl returned nothing). |
| completeness | 5/5 | info | Exact surface inventory: two attributes + two dictionary fields (AnimationEvent.animation, AnimationEventInit.animation, TransitionEvent.animation, TransitionEventInit.animation) — verified against both specs' IDL blocks; no further members. Overview links both stable member pages; each covers all nine dimensions for its property item plus dedicated #init/#init-outputs/#init-errors/#init-security sections for the field item. reference-contract.json maps 36 sources, 4 inventory items, 36 dimension coverages, all 'documented'. |
| explanation-quality | 5/5 | info | Overview motivates from the developer problem (getAnimations() query-and-guess; the duplicate-name ambiguity from csswg-drafts #9010), states the catch-up framing (FF/Safari shipped first), and records the ChromeStatus polyfill caveat. Member pages document the null contract precisely (UA-dispatched never null; script-constructed defaults null; isTrusted separates authored from native) and the naming choice (member is 'animation' on TransitionEvent, per #9010). |
| examples | 5/5 | info | Overview embeds the identity-verified showcase concept route meet-the-animation-object (HEAD 200; a11y snapshot confirms the demo rendered, including its own honest capability fallback on Chrome 150) with a linked source label, plus a pre/code snippet (pause/finished/transitionProperty/feature-detect). Each member page has a complete pre/code example block including constructor usage and feature-detection. |
| browser-compat-fallbacks | 5/5 | info | Real BCD-backed tables on all three pages (chrome 151, edge mirror, firefox 152, safari 27, Deno/Node explicitly unknown), vendor signals kept separate and cited to the ChromeStatus API record. No web-features/webstatus entry (zero query hits) recorded honestly — no Baseline badge claimed despite all-engines support. Feature-detect patterns documented. BCD's missing spec_url/mdn_url recorded. Local Chrome 150 runtime absence probed live ('animation' in AnimationEvent.prototype === false) and claimed nowhere as support. |
| links-validity | 5/5 | info | Zero plain-text source labels: every citation (specs with verified anchors, Chromium IDL/CC files, runtime_enabled_features.json5, CL, BCD files, WPT results, webstatus queries, ChromeStatus page + API record, issue #9010, WebIDL/DOM anchors, MDN pages, showcase routes) is separately linked with target=_blank rel=noopener. Spec anchors verified against the live drafts (including the two anchor-casing traps). |
| accessibility | 5/5 | info | Single main and h1 per page; sequential h1→h2; tables with captions and scoped headers; banner role=note with aria-label; descriptive iframe title; pre blocks carry tabindex=0 so keyboard users can reach scrollable code (modern-web-guidance 'html'). |
| responsive-ux | 5/5 | info | chrome-devtools-mcp matrix at 1280x800 and 390x844 on all three routes: no document-level horizontal overflow (two real defects found and fixed in-place during the matrix: inline <code> tokens needed overflow-wrap:anywhere on the overview; long h2 tokens 'AnimationEventInit.animation'/'TransitionEventInit.animation' needed main h2 overflow-wrap on the member pages). Screenshots read on all six route×viewport combinations; tables contained in .table-wrap; pre scrolls internally. |
| showcase-demo-relationship | 5/5 | info | Iframe src is the feature's own stable showcase concept route (meet-the-animation-object), identity-matched to chromestatus id 6046278267043840 and HEAD-verified 200 alongside the sibling concepts (conduct-a-running-animation, transition-companion — linked in Examples/See also) and the feature-level /conformance/ route (concept-level /conformance is 404; cpsFeature.conformanceRoute corrected to the verified feature-level route). No repointing, no forked platform assertions. |
modern-web-guidance consulted
- accessible code examples syntax pre code semantic — Semantic landmarks; single h1 with sequential hierarchy; figure/figcaption for the embed; <pre><code> for code blocks; tabindex=0 on scrollable <pre> so keyboard users can reach the content; tables for tabular data. (Applied on all three pages: main landmark, one h1 each, figure/figcaption iframe embed, pre><code blocks with tabindex=0, captioned tables with scoped headers.)
- responsive documentation page with wide compatibility table no horizontal overflow mobile — Use overflow-wrap (break-word/anywhere) to contain long tokens; rem-based sizing; avoid min-content blowout on narrow viewports. (Applied: code { overflow-wrap: anywhere } and main h2 { overflow-wrap: anywhere } added after the 390px matrix exposed two real overflow defects (inline code tokens on the overview; long h2 tokens on member pages); .table-wrap contains wide tables.)
- responsive documentation page with wide compatibility table no horizontal overflow mobile — Contain wide content within its track; intrinsic sizing over fixed widths. (Applied: .table-wrap { overflow-x: auto } around every doc-table; no fixed-width layout; the iframe is width=100% with max-width:100%.)
- accessible code examples syntax pre code semantic — Semantic structure and descriptive names for embedded frames; keyboard-reachable scrollable regions. (Applied: iframe title describes the demo; pre tabindex=0; banner uses role=note + aria-label.)
- responsive documentation page with wide compatibility table no horizontal overflow mobile — Component-level width adaptation (container queries) for cards/panels. (Exception justified: the pages are single-column editorial documents with no cards needing container-relative styling; viewport-relative wrapping + table containment solved the actual overflow, verified by the dual-viewport matrix.)
open questions
- Case B vs Case A judgment: MDN has dedicated, current (2026-07-04) property pages for AnimationEvent.animation and TransitionEvent.animation with value/spec/compat — but no Examples section. Per the cycle-16 MDN checklist (full coverage = syntax/values/examples/Specifications/compat), coverage is not 'full', and the routine prefers generating when unclear — so this is a full reference. The integrator may reclassify to a Case A stub if they weigh MDN's coverage as sufficient; the MDN links are in See also either way.
- Runtime follow-up verified on 2026-10-08 in headless Chrome 154.0.8037.97 against a locally served page: an actual trusted animationstart event carried a CSSAnimation named a5pulse and event.animation === the matching element.getAnimations() entry; new AnimationEvent('animationstart').animation and new TransitionEvent('transitionstart').animation both defaulted to null. Exact probe: timeout -k 30 85 deno run --allow-all /tmp/a5-runtime-browser.mjs with a local HTTP server; output /tmp/a5-runtime.log and browser screenshots /tmp/a5-before.png and /tmp/a5-after.png. This verifies the animationstart identity and both constructor defaults, not the identity of a UA-dispatched transition event or every event type.
- Spec-vs-Chromium type divergence (spec CSSAnimation?/CSSTransition? vs Chromium Animation?) is documented as of 2026-07-26; if Chromium narrows the IDL to match the spec (or the spec widens), update the member pages.
- BCD entries lack spec_url/mdn_url as of 2026-07-26; when they gain them (and if web-features starts tracking the feature, making Baseline official), update the banner and compat sections.
- WPT covers animationstart/end/iteration identity and transitionrun/start/end instanceof; animationcancel and transitioncancel event coverage was not verified in this pass — if WPT gains cancel-case assertions, cite them.
follow-up goals
- [medium · targeted-fix] When a Chrome 151+ build is available, verify the runtime contract live (animationstart event carries the CSSAnimation; constructor default null; event.animation === getAnimations() entry) and record the evidence.
- [low · targeted-fix] If the integrator judges MDN's attribute pages full coverage, reclassify this page to a Case A stub (recorded in the report; needs a migration record only if the route identity changes — a built→stub status change on the same route/slug/identity does not).
- [low · targeted-fix] When BCD gains spec_url/mdn_url or web-features starts tracking the feature (official Baseline), refresh the banner and compat sections.