background-position-y-valid.html
Details
- Test
/css/css-backgrounds/parsing/background-position-y-valid.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| 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 "" |
| PASS | e.style['background-position-y'] = "calc(10px - 0.5em), top -20%, bottom 10px" should set the property value |