Skip to content
Skip the list of specifications

css/css-inline/text-box-trim/parsing/

text-box-invalid.html

Passes: all 18 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['text-box'] = "em" should not set the property valuerejectedrejectedPasses
e.style['text-box'] = "leading" should not set the property valuerejectedrejectedPasses
e.style['text-box'] = "trim-both leading" should not set the property valuerejectedrejectedPasses
e.style['text-box'] = "normal normal" should not set the property valuerejectedrejectedPasses
e.style['text-box'] = "normal none" should not set the property valuerejectedrejectedPasses
e.style['text-box'] = "auto normal" should not set the property valuerejectedrejectedPasses
e.style['text-box'] = "auto auto" should not set the property valuerejectedrejectedPasses
e.style['text-box'] = "none none" should not set the property valuerejectedrejectedPasses
e.style['text-box'] = "normal text" should not set the property valuerejectedrejectedPasses
e.style['text-box'] = "text normal" should not set the property valuerejectedrejectedPasses
e.style['text-box'] = "text cap" should not set the property valuerejectedrejectedPasses
e.style['text-box'] = "text ex" should not set the property valuerejectedrejectedPasses
e.style['text-box'] = "alphabetic text" should not set the property valuerejectedrejectedPasses
e.style['text-box'] = "alphabetic cap" should not set the property valuerejectedrejectedPasses
e.style['text-box'] = "cap none alphabetic" should not set the property valuerejectedrejectedPasses
e.style['text-box'] = "cap trim-both alphabetic" should not set the property valuerejectedrejectedPasses
e.style['text-box'] = "text none text" should not set the property valuerejectedrejectedPasses
e.style['text-box'] = "text trim-both text" should not set the property valuerejectedrejectedPasses

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