Skip to content
Skip the list of specifications

css/css-animations/parsing/

animation-valid.html

Passes: all 12 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" should set the property valuePasses
e.style['animation'] = "cubic-bezier(0, -2, 1, 3)" should set the property valuePasses
e.style['animation'] = "cubic-bezier( 0, -2, 1, 3 )" should set the property valuePasses
e.style['animation'] = "1s -3s" should set the property valuePasses
e.style['animation'] = "4" should set the property valuePasses
e.style['animation'] = "reverse" should set the property valuePasses
e.style['animation'] = "both" should set the property valuePasses
e.style['animation'] = "paused" should set the property valuePasses
e.style['animation'] = "none" should set the property valuePasses
e.style['animation'] = "anim" should set the property valuePasses
e.style['animation'] = "anim paused both reverse 4 1s -3s cubic-bezier(0, -2, 1, 3)" should set the property valuePasses
e.style['animation'] = "anim paused both reverse, 4 1s -3s cubic-bezier(0, -2, 1, 3)" should set the property valuePasses

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