Skip to content
Skip the list of specifications

css/css-text/parsing/

text-wrap-valid.html

Passes: all 22 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-wrap'] = "wrap" should set the property valueacceptedacceptedPasses
e.style['text-wrap'] = "nowrap" should set the property valueacceptedacceptedPasses
e.style['text-wrap'] = "auto" should set the property valueacceptedacceptedPasses
e.style['text-wrap'] = "balance" should set the property valueacceptedacceptedPasses
e.style['text-wrap'] = "stable" should set the property valueacceptedacceptedPasses
e.style['text-wrap'] = "wrap auto" should set the property valueacceptedacceptedPasses
e.style['text-wrap'] = "wrap balance" should set the property valueacceptedacceptedPasses
e.style['text-wrap'] = "wrap stable" should set the property valueacceptedacceptedPasses
e.style['text-wrap'] = "auto wrap" should set the property valueacceptedacceptedPasses
e.style['text-wrap'] = "balance wrap" should set the property valueacceptedacceptedPasses
e.style['text-wrap'] = "stable wrap" should set the property valueacceptedacceptedPasses
e.style['text-wrap'] = "nowrap auto" should set the property valueacceptedacceptedPasses
e.style['text-wrap'] = "nowrap balance" should set the property valueacceptedacceptedPasses
e.style['text-wrap'] = "nowrap stable" should set the property valueacceptedacceptedPasses
e.style['text-wrap'] = "auto nowrap" should set the property valueacceptedacceptedPasses
e.style['text-wrap'] = "balance nowrap" should set the property valueacceptedacceptedPasses
e.style['text-wrap'] = "stable nowrap" should set the property valueacceptedacceptedPasses
e.style['text-wrap'] = "initial" should set the property valueacceptedacceptedPasses
e.style['text-wrap'] = "inherit" should set the property valueacceptedacceptedPasses
e.style['text-wrap'] = "unset" should set the property valueacceptedacceptedPasses
e.style['text-wrap'] = "revert" should set the property valueacceptedacceptedPasses
e.style['text-wrap'] = "revert-layer" should set the property valueacceptedacceptedPasses

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