Skip to content
Skip the list of specifications

css/css-sizing/parsing/

size-valid.html

Fails: 0 of 10 assertions match, 10 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

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

AssertionExpectedGotVerdict
e.style['size'] = "initial" should set the property valueacceptedrejectedFails
e.style['size'] = "inherit" should set the property valueacceptedrejectedFails
e.style['size'] = "revert" should set the property valueacceptedrejectedFails
e.style['size'] = "revert-layer" should set the property valueacceptedrejectedFails
e.style['size'] = "unset" should set the property valueacceptedrejectedFails
e.style['size'] = "640px 480px" should set the property valueacceptedrejectedFails
e.style['size'] = "8.5in 11in" should set the property valueacceptedrejectedFails
e.style['size'] = "3in 10in" should set the property valueacceptedrejectedFails
e.style['size'] = "auto" should set the property valueacceptedrejectedFails
e.style['size'] = "100px 100px" should set the property valueacceptedrejectedFails

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