Skip to content
Skip the list of specifications

css/css-images/

object-view-box-parsing.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

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

AssertionExpectedGotVerdict
e.style['object-view-box'] = "inset(10%)" should set the property valueacceptedacceptedPasses
e.style['object-view-box'] = "inset(10px 20px 30px 40px)" should set the property valueacceptedacceptedPasses
e.style['object-view-box'] = "rect(1px 10% 100px 50%)" should set the property valueacceptedacceptedPasses
e.style['object-view-box'] = "rect(auto auto auto auto)" should set the property valueacceptedacceptedPasses
e.style['object-view-box'] = "rect(auto 5px auto 10%)" should set the property valueacceptedacceptedPasses
e.style['object-view-box'] = "xywh(1px 10% 100px 50%)" should set the property valueacceptedacceptedPasses
e.style['object-view-box'] = "circle(10px)" should not set the property valuerejectedrejectedPasses
e.style['object-view-box'] = "ellipse(10px 20px)" should not set the property valuerejectedrejectedPasses
e.style['object-view-box'] = "polygon(10px 20px 30px)" should not set the property valuerejectedrejectedPasses
e.style['object-view-box'] = "path(\"M20,80 L50,20\")" should not set the property valuerejectedrejectedPasses
e.style['object-view-box'] = "blah" should not set the property valuerejectedrejectedPasses
e.style['object-view-box'] = "xywh(1px 10%)" should not set the property valuerejectedrejectedPasses

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