Skip to content
Skip the list of specifications

css/css-animations/parsing/

animation-range-shorthand.html

Passes: all 91 assertions match

A parsing and computed-value check: each value the parser must accept or reject, and what it computes to.

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-range'] = "normal" should set the property valuePasses
e.style['animation-range'] = "normal normal" should set the property valuePasses
e.style['animation-range'] = "cover" should set the property valuePasses
e.style['animation-range'] = "contain" should set the property valuePasses
e.style['animation-range'] = "entry" should set the property valuePasses
e.style['animation-range'] = "entry-crossing" should set the property valuePasses
e.style['animation-range'] = "exit" should set the property valuePasses
e.style['animation-range'] = "exit-crossing" should set the property valuePasses
e.style['animation-range'] = "entry, exit" should set the property valuePasses
e.style['animation-range'] = "0% 100%" should set the property valuePasses
e.style['animation-range'] = "entry 0% entry 100%" should set the property valuePasses
e.style['animation-range'] = "entry-crossing 0% entry-crossing 100%" should set the property valuePasses
e.style['animation-range'] = "exit 0% exit 100%" should set the property valuePasses
e.style['animation-range'] = "exit-crossing 0% exit-crossing 100%" should set the property valuePasses
e.style['animation-range'] = "cover 0% cover 100%" should set the property valuePasses
e.style['animation-range'] = "contain 0% contain 100%" should set the property valuePasses
e.style['animation-range'] = "entry calc(10% - 10%) entry calc(50% + 50%)" should set the property valuePasses
e.style['animation-range'] = "cover 50%" should set the property valuePasses
e.style['animation-range'] = "contain 50%" should set the property valuePasses
e.style['animation-range'] = "entry 50%" should set the property valuePasses
e.style['animation-range'] = "entry-crossing 50%" should set the property valuePasses
e.style['animation-range'] = "exit 50%" should set the property valuePasses
e.style['animation-range'] = "exit-crossing 50%" should set the property valuePasses
e.style['animation-range'] = "entry 50px exit 100px" should set the property valuePasses
e.style['animation-range'] = "exit calc(10% + 50px)" should set the property valuePasses
e.style['animation-range'] = "entry 50% exit 50%" should set the property valuePasses
e.style['animation-range'] = "cover 50% entry 50%, contain 50% exit 50%" should set the property valuePasses
e.style['animation-range'] = "50% exit 50%" should set the property valuePasses
e.style['animation-range'] = "normal 100px" should set the property valuePasses
e.style['animation-range'] = "100px" should set the property valuePasses
e.style['animation-range'] = "100px normal" should set the property valuePasses
e.style['animation-range'] = "10% normal" should set the property valuePasses
e.style['animation-range'] = "entry normal" should set the property valuePasses
e.style['animation-range'] = "entry 50% 0s" should not set the property valuePasses
e.style['animation-range'] = "0s entry 50%" should not set the property valuePasses
e.style['animation-range'] = "1s" should not set the property valuePasses
e.style['animation-range'] = "-1s" should not set the property valuePasses
e.style['animation-range'] = "1s 2s" should not set the property valuePasses
e.style['animation-range'] = "1s, 2s" should not set the property valuePasses
e.style['animation-range'] = "1s 2s, 3s" should not set the property valuePasses
e.style['animation-range'] = "1s, 2s 3s" should not set the property valuePasses
e.style['animation-range'] = "1s, 2s, 3s" should not set the property valuePasses
e.style['animation-range'] = "1s 2s 3s" should not set the property valuePasses
e.style['animation-range'] = "0s, 1s 2s 3s" should not set the property valuePasses
e.style['animation-range'] = "1s / 2s" should not set the property valuePasses
e.style['animation-range'] = "1s, 2px" should not set the property valuePasses
e.style['animation-range'] = "#ff0000" should not set the property valuePasses
e.style['animation-range'] = "red" should not set the property valuePasses
e.style['animation-range'] = "thing" should not set the property valuePasses
e.style['animation-range'] = "thing 0%" should not set the property valuePasses
e.style['animation-range'] = "thing 42%" should not set the property valuePasses
e.style['animation-range'] = "thing 100%" should not set the property valuePasses
e.style['animation-range'] = "thing 100px" should not set the property valuePasses
e.style['animation-range'] = "100% thing" should not set the property valuePasses
e.style['animation-range'] = "normal foo normal 100%" should not set the property valuePasses
e.style['animation-range'] = "normal normal 100%" should not set the property valuePasses
Property animation-range value 'normal'Passes
Property animation-range value 'normal normal'Passes
Property animation-range value 'cover'Passes
Property animation-range value 'contain'Passes
Property animation-range value 'entry'Passes
Property animation-range value 'entry-crossing'Passes
Property animation-range value 'exit'Passes
Property animation-range value 'exit-crossing'Passes
Property animation-range value 'entry, exit'Passes
Property animation-range value '0% 100%'Passes
Property animation-range value 'entry 0% entry 100%'Passes
Property animation-range value 'entry-crossing 0% entry-crossing 100%'Passes
Property animation-range value 'exit 0% exit 100%'Passes
Property animation-range value 'exit-crossing 0% exit-crossing 100%'Passes
Property animation-range value 'cover 0% cover 100%'Passes
Property animation-range value 'contain 0% contain 100%'Passes
Property animation-range value 'entry calc(10% - 10%) entry calc(50% + 50%)'Passes
Property animation-range value 'cover 50%'Passes
Property animation-range value 'contain 50%'Passes
Property animation-range value 'entry 50%'Passes
Property animation-range value 'entry-crossing 50%'Passes
Property animation-range value 'exit 50%'Passes
Property animation-range value 'exit-crossing 50%'Passes
Property animation-range value 'entry 50px exit 100px'Passes
Property animation-range value 'exit calc(10% + 50px)'Passes
Property animation-range value 'entry 50% exit 50%'Passes
Property animation-range value 'cover 50% entry 50%, contain 50% exit 50%'Passes
Property animation-range value 'entry 10em exit 20em'Passes
Property animation-range value '10em exit 20em'Passes
Property animation-range value 'normal 100px'Passes
Property animation-range value '100px'Passes
Property animation-range value '100px normal'Passes
Property animation-range value '10% normal'Passes
Property animation-range value 'entry normal'Passes
Property animation-range value '10% calc(70% + 10% * sign(100em - 1px))'Passes

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