Skip to content
Skip the list of specifications

css/css-box/parsing/

margin-trim.html

Passes: all 21 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-trim'] = "none" should set the property valuePasses
e.style['margin-trim'] = "block" should set the property valuePasses
e.style['margin-trim'] = "block-start" should set the property valuePasses
e.style['margin-trim'] = "block-end" should set the property valuePasses
e.style['margin-trim'] = "block-start block-end" should set the property valuePasses
e.style['margin-trim'] = "block-end block-start" should set the property valuePasses
e.style['margin-trim'] = "block block" should not set the property valuePasses
e.style['margin-trim'] = "block block-start block-end" should not set the property valuePasses
e.style['margin-trim'] = "block-start block-end block" should not set the property valuePasses
e.style['margin-trim'] = "block-start block-start" should not set the property valuePasses
e.style['margin-trim'] = "block 10px" should not set the property valuePasses
e.style['margin-trim'] = "auto" should not set the property valuePasses
e.style['margin-trim'] = "left" should not set the property valuePasses
e.style['margin-trim'] = "none block" should not set the property valuePasses
e.style['margin-trim'] = "none block-start" should not set the property valuePasses
e.style['margin-trim'] = "inline" should not set the property valuePasses
e.style['margin-trim'] = "inline-start" should not set the property valuePasses
e.style['margin-trim'] = "inline-end" should not set the property valuePasses
e.style['margin-trim'] = "block inline" should not set the property valuePasses
e.style['margin-trim'] = "inline-start inline-end" should not set the property valuePasses
e.style['margin-trim'] = "block-start inline-start" should not set the property valuePasses

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