css/css-backgrounds/parsing/
background-computed.html
Passes: all 37 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 |
| A script changes the document first | 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 background-attachment value 'local' | local | local | Passes |
Property background-attachment value 'scroll, fixed' | scroll, fixed | scroll, fixed | Passes |
Property background-attachment value 'local, fixed, scroll' | local, fixed, scroll | local, fixed, scroll | Passes |
Property background-attachment value 'local, fixed, scroll, fixed' | local, fixed, scroll, fixed | local, fixed, scroll, fixed | Passes |
Property background-clip value 'border-box' | border-box | border-box | Passes |
Property background-clip value 'content-box, border-box' | content-box, border-box | content-box, border-box | Passes |
Property background-clip value 'border-box, padding-box, content-box' | border-box, padding-box, content-box | border-box, padding-box, content-box | Passes |
Property background-clip value 'content-box, border-box, padding-box, content-box' | content-box, border-box, padding-box, content-box | content-box, border-box, padding-box, content-box | Passes |
Property background-clip value 'content-box, border-box, padding-box' | content-box, border-box, padding-box | content-box, border-box, padding-box | Passes |
Property background-clip value 'content-box, border-box, border-area' | content-box, border-box, border-area | content-box, border-box, border-area | Passes |
Property background-clip value 'border-area text' | border-area text | border-area text | Passes |
Property background-clip value 'border-area text, content-box' | border-area text, content-box | border-area text, content-box | Passes |
Property background-color value 'rgb(255, 0, 0)' | rgb(255, 0, 0) | rgb(255, 0, 0) | Passes |
Property background-origin value 'border-box' | border-box | border-box | Passes |
Property background-origin value 'content-box, border-box' | content-box, border-box | content-box, border-box | Passes |
Property background-origin value 'border-box, padding-box, content-box' | border-box, padding-box, content-box | border-box, padding-box, content-box | Passes |
Property background-origin value 'content-box, border-box, padding-box, content-box' | content-box, border-box, padding-box, content-box | content-box, border-box, padding-box, content-box | Passes |
Property background-position value '50% 6px' | 50% 6px | 50% 6px | Passes |
Property background-position value '12px 13px, 50% 6px' | 12px 13px, 50% 6px | 12px 13px, 50% 6px | Passes |
Property background-position value '12px 13px, 50% 6px, 30px -10px' | 12px 13px, 50% 6px, 30px -10px | 12px 13px, 50% 6px, 30px -10px | Passes |
Property background-position value '12px 13px, 50% 6px, 30px -10px, -7px 8px' | 12px 13px, 50% 6px, 30px -10px, -7px 8px | 12px 13px, 50% 6px, 30px -10px, -7px 8px | Passes |
Property background-position-x value '0.5em' | 20px | 20px | Passes |
Property background-position-x value '-20%, 10px' | -20%, 10px | -20%, 10px | Passes |
Property background-position-x value 'center, left, right' | 50%, 0%, 100% | 50%, 0%, 100% | Passes |
Property background-position-x value 'calc(10px - 0.5em), -20%, right, 15%' | -10px, -20%, 100%, 15% | -10px, -20%, 100%, 15% | Passes |
Property background-position-y value '0.5em' | 20px | 20px | Passes |
Property background-position-y value '-20%, 10px' | -20%, 10px | -20%, 10px | Passes |
Property background-position-y value 'center, top, bottom' | 50%, 0%, 100% | 50%, 0%, 100% | Passes |
Property background-position-y value 'calc(10px - 0.5em), -20%, bottom, 15%' | -10px, -20%, 100%, 15% | -10px, -20%, 100%, 15% | Passes |
Property background-repeat value 'round' | round | round | Passes |
Property background-repeat value 'repeat-x, repeat' | repeat-x, repeat | repeat-x, repeat | Passes |
Property background-repeat value 'repeat space, round no-repeat, repeat-x' | repeat space, round no-repeat, repeat-x | repeat space, round no-repeat, repeat-x | Passes |
Property background-repeat value 'repeat-y, round no-repeat, repeat-x, repeat' | repeat-y, round no-repeat, repeat-x, repeat | repeat-y, round no-repeat, repeat-x, repeat | Passes |
Property background-size value 'contain' | contain | contain | Passes |
Property background-size value 'auto 1px, 2% 3%' | auto 1px, 2% 3% | auto 1px, 2% 3% | Passes |
Property background-size value 'auto 1px, 2% 3%, contain' | auto 1px, 2% 3%, contain | auto 1px, 2% 3%, contain | Passes |
Property background-size value 'auto 1px, 2% 3%, contain, 7px 8px' | auto 1px, 2% 3%, contain, 7px 8px | auto 1px, 2% 3%, contain, 7px 8px | Passes |
Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.