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 judged | Assertions |
|---|---|
| No assertion with written values to accept or reject | 1 |
| The script builds the values it asserts | 1 |
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.
| Assertion | Expected | Got | Verdict |
|---|---|---|---|
Property border-width value '1px' | 1px | 1px | Passes |
Property border-width value '1px 2px' | 1px 2px | 1px 2px | Passes |
Property border-width value '1px 2px 3px' | 1px 2px 3px | 1px 2px 3px | Passes |
Property border-width value '1px 2px 3px 4px' | 1px 2px 3px 4px | 1px 2px 3px 4px | Passes |
Property border-width value '0.5em' | 20px | 20px | Passes |
Property border-top-width value '0px' | 0px | 0px | Passes |
Property border-right-width value '10px' | 10px | 10px | Passes |
Property border-bottom-width value 'calc(-0.5em + 10px)' | 0px | 0px | Passes |
Property border-left-width value 'calc(0.5em + 10px)' | 30px | 30px | Passes |
Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.