var-parsing.html
Details
- Test
/css/css-variables/var-parsing.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| PASS | e.style['width'] = "var(--x)" should set the property value |
| PASS | e.style['width'] = "var(--x,)" should set the property value |
| PASS | e.style['width'] = "var(--x, )" should set the property value |
| FAIL | e.style['width'] = "var(--x ())" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['width'] = "var(--x () )" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['width'] = "var(--x() )" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['width'] = "var(--x (),)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['width'] = "var(--x(),)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['width'] = "var({--x})" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['width'] = "var({--x}, 10px)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['width'] = "var({--x, --y})" should set the property value assert_not_equals: property should be set got disallowed value "" |
| PASS | e.style['width'] = "var(--x {--y})" should not set the property value |
| PASS | e.style['width'] = "var({--x} --y)" should not set the property value |
| PASS | e.style['width'] = "var(--x {--y}, 10px)" should not set the property value |
| PASS | e.style['width'] = "var()" should not set the property value |
| PASS | e.style['width'] = "var({})" should not set the property value |
| PASS | e.style['width'] = "var({}, 10px)" should not set the property value |
| PASS | e.style['width'] = "var(, 10px)" should not set the property value |