Skip to content
Skip the list of specifications

css/css-animations/parsing/

animation-invalid.html

Passes: all 8 assertions match

A parsing check: each value the parser must accept or reject.

Run it in the playgroundThe fileOn GitHubBrowsers’ results on wpt.fyi

Each assertion

A passing assertion got what it asked for, so only a failing one shows what it expected and what it got.

AssertionExpectedGotVerdict
e.style['animation'] = "1s 2s 3s" should not set the property valuePasses
e.style['animation'] = "-1s -2s" should not set the property valuePasses
e.style['animation'] = "steps(1) steps(2)" should not set the property valuePasses
e.style['animation'] = "1 2" should not set the property valuePasses
e.style['animation'] = "reverse alternate alternate-reverse anim" should not set the property valuePasses
e.style['animation'] = "both backwards forwards anim" should not set the property valuePasses
e.style['animation'] = "paused running paused anim" should not set the property valuePasses
e.style['animation'] = "anim1 timeline1 anim2" should not set the property valuePasses

Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.