background-position-y-valid.html

FAILExpected12 of 15 subtests pass618 ms

Details

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

Subtests

StatusSubtestMessage
PASSe.style['background-position-y'] = "center" should set the property value
PASSe.style['background-position-y'] = "top" should set the property value
PASSe.style['background-position-y'] = "bottom" should set the property value
FAILe.style['background-position-y'] = "y-start" should set the property value
assert_not_equals: property should be set got disallowed value ""
assert_not_equals: property should be set got disallowed value ""
FAILe.style['background-position-y'] = "y-end" should set the property value
assert_not_equals: property should be set got disallowed value ""
assert_not_equals: property should be set got disallowed value ""
PASSe.style['background-position-y'] = "-20%" should set the property value
PASSe.style['background-position-y'] = "10px" should set the property value
PASSe.style['background-position-y'] = "0.5em" should set the property value
PASSe.style['background-position-y'] = "calc(10px - 0.5em)" should set the property value
PASSe.style['background-position-y'] = "top -20%" should set the property value
PASSe.style['background-position-y'] = "bottom 10px" should set the property value
PASSe.style['background-position-y'] = "-20%, 10px" should set the property value
PASSe.style['background-position-y'] = "center, top, bottom" should set the property value
FAILe.style['background-position-y'] = "0.5em, y-start, y-end" should set the property value
assert_not_equals: property should be set got disallowed value ""
assert_not_equals: property should be set got disallowed value ""
PASSe.style['background-position-y'] = "calc(10px - 0.5em), top -20%, bottom 10px" should set the property value