blob: 0788b9d96f7d460ef69faf3af0b32ad26e38468e [file] [log] [blame]
PASS e.style['background-position-x'] = "center" should set the property value
PASS e.style['background-position-x'] = "left" should set the property value
PASS e.style['background-position-x'] = "right" should set the property value
FAIL e.style['background-position-x'] = "x-start" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['background-position-x'] = "x-end" should set the property value assert_not_equals: property should be set got disallowed value ""
PASS e.style['background-position-x'] = "-20%" should set the property value
PASS e.style['background-position-x'] = "10px" should set the property value
PASS e.style['background-position-x'] = "0.5em" should set the property value
PASS e.style['background-position-x'] = "calc(10px - 0.5em)" should set the property value
PASS e.style['background-position-x'] = "left -20%" should set the property value
PASS e.style['background-position-x'] = "right 10px" should set the property value
PASS e.style['background-position-x'] = "-20%, 10px" should set the property value
PASS e.style['background-position-x'] = "center, left, right" should set the property value
FAIL e.style['background-position-x'] = "0.5em, x-start, x-end" should set the property value assert_not_equals: property should be set got disallowed value ""
PASS e.style['background-position-x'] = "calc(10px - 0.5em), left -20%, right 10px" should set the property value