Skip to content
Skip the list of specifications

css/css-backgrounds/parsing/

border-width-computed.html

Passes: all 9 assertions match; 2 more could not be judged

A parsing and computed-value check: each value the parser must accept or reject, and what it computes to.

Why some could not be judgedAssertions
No assertion with written values to accept or reject1
The script builds the values it asserts1

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
Property border-width value '1px'1px1pxPasses
Property border-width value '1px 2px'1px 2px1px 2pxPasses
Property border-width value '1px 2px 3px'1px 2px 3px1px 2px 3pxPasses
Property border-width value '1px 2px 3px 4px'1px 2px 3px 4px1px 2px 3px 4pxPasses
Property border-width value '0.5em'20px20pxPasses
Property border-top-width value '0px'0px0pxPasses
Property border-right-width value '10px'10px10pxPasses
Property border-bottom-width value 'calc(-0.5em + 10px)'0px0pxPasses
Property border-left-width value 'calc(0.5em + 10px)'30px30pxPasses

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