random-item-valid.html
Details
- Test
/css/css-values/random-item-valid.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| FAIL | e.style['font-family'] = "random-item(auto, serif)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['font-family'] = "random-item(auto, serif, sans-serif, monospace)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['font-family'] = "random-item(auto ,serif ,sans-serif)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['font-family'] = "random-item(auto , serif , sans-serif)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['font-family'] = "random-item(auto, )" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['font-family'] = "random-item(auto, serif,)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['font-family'] = "random-item(auto, , serif)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['font-family'] = "random-item(auto, ,)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['font-family'] = "random-item(auto, {Times, serif}, {Arial, sans-serif})" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['font-family'] = "random-item(auto, {Times, serif}, sans-serif, {monospace})" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['font-family'] = "random-item(auto, {Times, serif})" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['font-family'] = "random-item(auto, { Times, serif }, { Arial, sans-serif })" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['font-family'] = "random-item(auto, {Times, serif}, { Arial, sans-serif })" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['font-family'] = "random-item(auto, { monospace })" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['font-family'] = "random-item(--x, serif, sans-serif)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['font-family'] = "random-item(fixed 0.5, serif, sans-serif)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['font-family'] = "random-item(serif, sans-serif)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['font-family'] = "random-item(foo, serif, sans-serif)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['font-family'] = "random-item(fixed -0.5, serif, sans-serif)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| FAIL | e.style['font-family'] = "random-item(property-scoped, serif, sans-serif)" should set the property value assert_not_equals: property should be set got disallowed value "" |
| PASS | e.style['font-family'] = "random-item(var(--key), serif, sans-serif)" should set the property value |