blob: 601d738eada58d4377165ab16685a0de397cf547 [file] [log] [blame]
PASS e.style['background-position-y'] = "center" should set the property value
PASS e.style['background-position-y'] = "top" should set the property value
PASS e.style['background-position-y'] = "bottom" should set the property value
FAIL e.style['background-position-y'] = "y-start" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['background-position-y'] = "y-end" should set the property value assert_not_equals: property should be set got disallowed value ""
PASS e.style['background-position-y'] = "-20%" should set the property value
PASS e.style['background-position-y'] = "10px" should set the property value
PASS e.style['background-position-y'] = "0.5em" should set the property value
PASS e.style['background-position-y'] = "calc(10px - 0.5em)" should set the property value
PASS e.style['background-position-y'] = "top -20%" should set the property value
PASS e.style['background-position-y'] = "bottom 10px" should set the property value
PASS e.style['background-position-y'] = "-20%, 10px" should set the property value
PASS e.style['background-position-y'] = "center, top, bottom" should set the property value
FAIL e.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 ""
FAIL e.style['background-position-y'] = "calc(10px - 0.5em), top -20%, bottom 10px" should set the property value assert_equals: serialization should be canonical expected "calc(-0.5em + 10px), top -20%, top 10px" but got "calc(-0.5em + 10px), top -20%, bottom 10px"