background-valid.html

FAILExpected27 of 46 subtests pass460 ms

Details

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

Subtests

StatusSubtestMessage
PASSe.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set the property value
PASSe.style['background'] = "none" should set background-attachment
PASSe.style['background'] = "none" should set background-clip
PASSe.style['background'] = "none" should set background-color
PASSe.style['background'] = "none" should set background-image
PASSe.style['background'] = "none" should set background-origin
PASSe.style['background'] = "none" should set background-position
PASSe.style['background'] = "none" should set background-repeat
PASSe.style['background'] = "none" should set background-size
PASSe.style['background'] = "none" should not set unrelated longhands
PASSe.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-attachment
PASSe.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-clip
PASSe.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-color
PASSe.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-image
PASSe.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-origin
PASSe.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-position
PASSe.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-repeat
PASSe.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-size
PASSe.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should not set unrelated longhands
PASSe.style['background'] = "border-box content-box" should set background-attachment
PASSe.style['background'] = "border-box content-box" should set background-clip
FAILe.style['background'] = "border-box content-box" should set background-color
assert_equals: background-color should be canonical expected "transparent" but got "rgba(0, 0, 0, 0)"
assert_equals: background-color should be canonical expected "transparent" but got "rgba(0, 0, 0, 0)"
PASSe.style['background'] = "border-box content-box" should set background-image
PASSe.style['background'] = "border-box content-box" should set background-origin
PASSe.style['background'] = "border-box content-box" should set background-position
PASSe.style['background'] = "border-box content-box" should set background-repeat
PASSe.style['background'] = "border-box content-box" should set background-size
PASSe.style['background'] = "border-box content-box" should not set unrelated longhands
FAILe.style['background'] = "border-area" should set background-attachment
assert_equals: background-attachment should be canonical expected "scroll" but got ""
assert_equals: background-attachment should be canonical expected "scroll" but got ""
FAILe.style['background'] = "border-area" should set background-clip
assert_equals: background-clip should be canonical expected "border-area" but got ""
assert_equals: background-clip should be canonical expected "border-area" but got ""
FAILe.style['background'] = "border-area" should set background-color
assert_equals: background-color should be canonical expected "transparent" but got ""
assert_equals: background-color should be canonical expected "transparent" but got ""
FAILe.style['background'] = "border-area" should set background-image
assert_equals: background-image should be canonical expected "none" but got ""
assert_equals: background-image should be canonical expected "none" but got ""
FAILe.style['background'] = "border-area" should set background-origin
assert_equals: background-origin should be canonical expected "border-box" but got ""
assert_equals: background-origin should be canonical expected "border-box" but got ""
FAILe.style['background'] = "border-area" should set background-position
assert_equals: background-position should be canonical expected "0% 0%" but got ""
assert_equals: background-position should be canonical expected "0% 0%" but got ""
FAILe.style['background'] = "border-area" should set background-repeat
assert_equals: background-repeat should be canonical expected "repeat" but got ""
assert_equals: background-repeat should be canonical expected "repeat" but got ""
FAILe.style['background'] = "border-area" should set background-size
assert_equals: background-size should be canonical expected "auto" but got ""
assert_equals: background-size should be canonical expected "auto" but got ""
FAILe.style['background'] = "border-area" should not set unrelated longhands
assert_true: expected true got false
assert_true: expected true got false
FAILe.style['background'] = "border-area text" should set background-attachment
assert_equals: background-attachment should be canonical expected "scroll" but got ""
assert_equals: background-attachment should be canonical expected "scroll" but got ""
FAILe.style['background'] = "border-area text" should set background-clip
assert_equals: background-clip should be canonical expected "border-area text" but got ""
assert_equals: background-clip should be canonical expected "border-area text" but got ""
FAILe.style['background'] = "border-area text" should set background-color
assert_equals: background-color should be canonical expected "transparent" but got ""
assert_equals: background-color should be canonical expected "transparent" but got ""
FAILe.style['background'] = "border-area text" should set background-image
assert_equals: background-image should be canonical expected "none" but got ""
assert_equals: background-image should be canonical expected "none" but got ""
FAILe.style['background'] = "border-area text" should set background-origin
assert_equals: background-origin should be canonical expected "border-box" but got ""
assert_equals: background-origin should be canonical expected "border-box" but got ""
FAILe.style['background'] = "border-area text" should set background-position
assert_equals: background-position should be canonical expected "0% 0%" but got ""
assert_equals: background-position should be canonical expected "0% 0%" but got ""
FAILe.style['background'] = "border-area text" should set background-repeat
assert_equals: background-repeat should be canonical expected "repeat" but got ""
assert_equals: background-repeat should be canonical expected "repeat" but got ""
FAILe.style['background'] = "border-area text" should set background-size
assert_equals: background-size should be canonical expected "auto" but got ""
assert_equals: background-size should be canonical expected "auto" but got ""
FAILe.style['background'] = "border-area text" should not set unrelated longhands
assert_true: expected true got false
assert_true: expected true got false