background-computed.html

FAILExpected34 of 39 subtests pass1,625 ms

Details

Test
/css/css-backgrounds/parsing/background-computed.html
Harness
OK

Subtests

StatusSubtestMessage
PASSProperty background-attachment value 'local'
PASSProperty background-attachment value 'scroll, fixed'
PASSProperty background-attachment value 'local, fixed, scroll'
PASSProperty background-attachment value 'local, fixed, scroll, fixed'
PASSProperty background-clip value 'border-box'
PASSProperty background-clip value 'content-box, border-box'
PASSProperty background-clip value 'border-box, padding-box, content-box'
PASSProperty background-clip value 'content-box, border-box, padding-box, content-box'
PASSProperty background-clip value 'content-box, border-box, padding-box'
FAILProperty 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
assert_true: 'content-box, border-box, border-area' is a supported value for background-clip. expected true got false
FAILProperty background-clip value 'border-area text'
assert_true: 'border-area text' is a supported value for background-clip. expected true got false
assert_true: 'border-area text' is a supported value for background-clip. expected true got false
FAILProperty 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
assert_true: 'border-area text, content-box' is a supported value for background-clip. expected true got false
PASSProperty background-color value 'rgb(255, 0, 0)'
PASSProperty background-origin value 'border-box'
PASSProperty background-origin value 'content-box, border-box'
PASSProperty background-origin value 'border-box, padding-box, content-box'
PASSProperty background-origin value 'content-box, border-box, padding-box, content-box'
PASSProperty background-position value '50% 6px'
PASSProperty background-position value '12px 13px, 50% 6px'
PASSProperty background-position value '12px 13px, 50% 6px, 30px -10px'
PASSProperty background-position value '12px 13px, 50% 6px, 30px -10px, -7px 8px'
PASSProperty background-position-x value '0.5em'
PASSProperty background-position-x value '-20%, 10px'
PASSProperty background-position-x value 'center, left, right'
PASSProperty background-position-x value 'calc(10px - 0.5em), -20%, right, 15%'
PASSProperty background-position-y value '0.5em'
PASSProperty background-position-y value '-20%, 10px'
PASSProperty background-position-y value 'center, top, bottom'
PASSProperty background-position-y value 'calc(10px - 0.5em), -20%, bottom, 15%'
PASSProperty background-repeat value 'round'
PASSProperty background-repeat value 'repeat-x, repeat'
PASSProperty background-repeat value 'repeat space, round no-repeat, repeat-x'
PASSProperty background-repeat value 'repeat-y, round no-repeat, repeat-x, repeat'
PASSProperty background-size value 'contain'
PASSProperty background-size value 'auto 1px, 2% 3%'
PASSProperty background-size value 'auto 1px, 2% 3%, contain'
PASSProperty background-size value 'auto 1px, 2% 3%, contain, 7px 8px'
FAILbackground shorthand with 'border-area text' computes background-clip correctly
assert_equals: expected "border-area text" but got "border-box"
assert_equals: expected "border-area text" but got "border-box"
FAILbackground shorthand with 'text border-area' computes background-clip correctly
assert_equals: expected "border-area text" but got "border-box"
assert_equals: expected "border-area text" but got "border-box"