Skip to content
Skip the list of specifications

css/css-images/parsing/

image-orientation-invalid.html

Fails: 7 of 12 assertions match, 5 do not

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

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

Each assertion

Every row shows what the file expected and what the engine returned, whether they match or not.

AssertionExpectedGotVerdict
e.style['image-orientation'] = "flip 0deg" should not set the property valuerejectedacceptedFails
e.style['image-orientation'] = "30deg" should not set the property valuerejectedacceptedFails
e.style['image-orientation'] = "flip" should not set the property valuerejectedacceptedFails
e.style['image-orientation'] = "0deg flip" should not set the property valuerejectedacceptedFails
e.style['image-orientation'] = "-1.25turn flip" should not set the property valuerejectedacceptedFails
e.style['image-orientation'] = "auto" should not set the property valuerejectedrejectedPasses
e.style['image-orientation'] = "0" should not set the property valuerejectedrejectedPasses
e.style['image-orientation'] = "0 flip" should not set the property valuerejectedrejectedPasses
e.style['image-orientation'] = "0deg from-image" should not set the property valuerejectedrejectedPasses
e.style['image-orientation'] = "flip from-image" should not set the property valuerejectedrejectedPasses
e.style['image-orientation'] = "from-image 0deg" should not set the property valuerejectedrejectedPasses
e.style['image-orientation'] = "from-image flip" should not set the property valuerejectedrejectedPasses

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