Skip to content
Skip the list of specifications

css/css-logical/parsing/

margin-block-inline-valid.html

Passes: all 14 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

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

AssertionExpectedGotVerdict
e.style['margin-block-start'] = "calc(20% + 10px)" should set the property valuePasses
e.style['margin-block-start'] = "auto" should set the property valuePasses
e.style['margin-block-end'] = "-10px" should set the property valuePasses
e.style['margin-inline-start'] = "-20%" should set the property valuePasses
e.style['margin-inline-end'] = "calc(2em + 3ex)" should set the property valuePasses
e.style['margin-block'] = "auto" should set the property valuePasses
e.style['margin-block'] = "-10px" should set the property valuePasses
e.style['margin-block'] = "calc(2em + 3ex) -20%" should set the property valuePasses
e.style['margin-block'] = "auto auto" should set the property valuePasses
e.style['margin-block'] = "-20% calc(20% + 10px)" should set the property valuePasses
e.style['margin-inline'] = "20%" should set the property valuePasses
e.style['margin-inline'] = "calc(2em + 3ex)" should set the property valuePasses
e.style['margin-inline'] = "-10px auto" should set the property valuePasses
e.style['margin-inline'] = "auto calc(2em + 3ex)" should set the property valuePasses

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