background-computed.html
Details
- Test
/css/css-backgrounds/parsing/background-computed.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| PASS | Property background-attachment value 'local' |
| PASS | Property background-attachment value 'scroll, fixed' |
| PASS | Property background-attachment value 'local, fixed, scroll' |
| PASS | Property background-attachment value 'local, fixed, scroll, fixed' |
| PASS | Property background-clip value 'border-box' |
| PASS | Property background-clip value 'content-box, border-box' |
| PASS | Property background-clip value 'border-box, padding-box, content-box' |
| PASS | Property background-clip value 'content-box, border-box, padding-box, content-box' |
| PASS | Property background-clip value 'content-box, border-box, padding-box' |
| FAIL | Property background-clip value 'content-box, border-box, border-area' assert_true: 'content-box, border-box, border-area' is a supported value for background-clip. expected true got false |
| FAIL | Property background-clip value 'border-area text' assert_true: 'border-area text' is a supported value for background-clip. expected true got false |
| FAIL | Property background-clip value 'border-area text, content-box' assert_true: 'border-area text, content-box' is a supported value for background-clip. expected true got false |
| PASS | Property background-color value 'rgb(255, 0, 0)' |
| PASS | Property background-origin value 'border-box' |
| PASS | Property background-origin value 'content-box, border-box' |
| PASS | Property background-origin value 'border-box, padding-box, content-box' |
| PASS | Property background-origin value 'content-box, border-box, padding-box, content-box' |
| PASS | Property background-position value '50% 6px' |
| PASS | Property background-position value '12px 13px, 50% 6px' |
| PASS | Property background-position value '12px 13px, 50% 6px, 30px -10px' |
| PASS | Property background-position value '12px 13px, 50% 6px, 30px -10px, -7px 8px' |
| PASS | Property background-position-x value '0.5em' |
| PASS | Property background-position-x value '-20%, 10px' |
| PASS | Property background-position-x value 'center, left, right' |
| PASS | Property background-position-x value 'calc(10px - 0.5em), -20%, right, 15%' |
| PASS | Property background-position-y value '0.5em' |
| PASS | Property background-position-y value '-20%, 10px' |
| PASS | Property background-position-y value 'center, top, bottom' |
| PASS | Property background-position-y value 'calc(10px - 0.5em), -20%, bottom, 15%' |
| PASS | Property background-repeat value 'round' |
| PASS | Property background-repeat value 'repeat-x, repeat' |
| PASS | Property background-repeat value 'repeat space, round no-repeat, repeat-x' |
| PASS | Property background-repeat value 'repeat-y, round no-repeat, repeat-x, repeat' |
| PASS | Property background-size value 'contain' |
| PASS | Property background-size value 'auto 1px, 2% 3%' |
| PASS | Property background-size value 'auto 1px, 2% 3%, contain' |
| PASS | Property background-size value 'auto 1px, 2% 3%, contain, 7px 8px' |
| FAIL | background shorthand with 'border-area text' computes background-clip correctly assert_equals: expected "border-area text" but got "border-box" |
| FAIL | background shorthand with 'text border-area' computes background-clip correctly assert_equals: expected "border-area text" but got "border-box" |