Skip to content
Skip the list of specifications

css/css-inline/parsing/

vertical-align-valid.html

Passes: all 30 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['vertical-align'] = "baseline" should set the property valueacceptedacceptedPasses
e.style['vertical-align'] = "0" should set the property valueacceptedacceptedPasses
e.style['vertical-align'] = "0px" should set the property valueacceptedacceptedPasses
e.style['vertical-align'] = "baseline 0" should set the property valueacceptedacceptedPasses
e.style['vertical-align'] = "0px baseline" should set the property valueacceptedacceptedPasses
e.style['vertical-align'] = "first" should set the property valueacceptedacceptedPasses
e.style['vertical-align'] = "last" should set the property valueacceptedacceptedPasses
e.style['vertical-align'] = "text-bottom" should set the property valueacceptedacceptedPasses
e.style['vertical-align'] = "alphabetic" should set the property valueacceptedacceptedPasses
e.style['vertical-align'] = "ideographic" should set the property valueacceptedacceptedPasses
e.style['vertical-align'] = "middle" should set the property valueacceptedacceptedPasses
e.style['vertical-align'] = "central" should set the property valueacceptedacceptedPasses
e.style['vertical-align'] = "mathematical" should set the property valueacceptedacceptedPasses
e.style['vertical-align'] = "text-top" should set the property valueacceptedacceptedPasses
e.style['vertical-align'] = "-10px" should set the property valueacceptedacceptedPasses
e.style['vertical-align'] = "0.5em" should set the property valueacceptedacceptedPasses
e.style['vertical-align'] = "20%" should set the property valueacceptedacceptedPasses
e.style['vertical-align'] = "calc(20% - 10px)" should set the property valueacceptedacceptedPasses
e.style['vertical-align'] = "sub" should set the property valueacceptedacceptedPasses
e.style['vertical-align'] = "super" should set the property valueacceptedacceptedPasses
e.style['vertical-align'] = "top" should set the property valueacceptedacceptedPasses
e.style['vertical-align'] = "center" should set the property valueacceptedacceptedPasses
e.style['vertical-align'] = "bottom" should set the property valueacceptedacceptedPasses
e.style['vertical-align'] = "first baseline" should set the property valueacceptedacceptedPasses
e.style['vertical-align'] = "middle 0" should set the property valueacceptedacceptedPasses
e.style['vertical-align'] = "baseline super" should set the property valueacceptedacceptedPasses
e.style['vertical-align'] = "last baseline sub" should set the property valueacceptedacceptedPasses
e.style['vertical-align'] = "super middle first" should set the property valueacceptedacceptedPasses
e.style['vertical-align'] = "1em last" should set the property valueacceptedacceptedPasses
e.style['vertical-align'] = "text-top first 10%" should set the property valueacceptedacceptedPasses

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