Skip to content
Skip the list of specifications

css/css-text/parsing/

hanging-punctuation-valid.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['hanging-punctuation'] = "none" should set the property valueacceptedacceptedPasses
e.style['hanging-punctuation'] = "first" should set the property valueacceptedacceptedPasses
e.style['hanging-punctuation'] = "force-end" should set the property valueacceptedacceptedPasses
e.style['hanging-punctuation'] = "allow-end" should set the property valueacceptedacceptedPasses
e.style['hanging-punctuation'] = "last" should set the property valueacceptedacceptedPasses
e.style['hanging-punctuation'] = "first force-end" should set the property valueacceptedacceptedPasses
e.style['hanging-punctuation'] = "first last" should set the property valueacceptedacceptedPasses
e.style['hanging-punctuation'] = "allow-end first" should set the property valueacceptedacceptedPasses
e.style['hanging-punctuation'] = "force-end last" should set the property valueacceptedacceptedPasses
e.style['hanging-punctuation'] = "last first" should set the property valueacceptedacceptedPasses
e.style['hanging-punctuation'] = "last allow-end" should set the property valueacceptedacceptedPasses
e.style['hanging-punctuation'] = "first allow-end last" should set the property valueacceptedacceptedPasses
e.style['hanging-punctuation'] = "first last force-end" should set the property valueacceptedacceptedPasses
e.style['hanging-punctuation'] = "force-end first last" should set the property valueacceptedacceptedPasses
e.style['hanging-punctuation'] = "allow-end last first" should set the property valueacceptedacceptedPasses
e.style['hanging-punctuation'] = "last first force-end" should set the property valueacceptedacceptedPasses
e.style['hanging-punctuation'] = "last allow-end first" should set the property valueacceptedacceptedPasses
e.style['hanging-punctuation'] = "first allow-end" should set the property valueacceptedacceptedPasses

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