random-item-invalid.html

PASSExpected14 of 14 subtests pass1,601 ms

Details

Test
/css/css-values/random-item-invalid.html
Harness
OK

Subtests

StatusSubtestMessage
PASSe.style['font-family'] = "random-item()" should not set the property value
PASSe.style['font-family'] = "random-item( )" should not set the property value
PASSe.style['font-family'] = "random-item(auto)" should not set the property value
PASSe.style['font-family'] = "random-item(, serif, sans-serif)" should not set the property value
PASSe.style['font-family'] = "random-item(auto, !)" should not set the property value
PASSe.style['font-family'] = "random-item(auto, ;)" should not set the property value
PASSe.style['font-family'] = "random-item(auto, })" should not set the property value
PASSe.style['font-family'] = "random-item(auto, ])" should not set the property value
PASSe.style['font-family'] = "random-item(auto, {serif)" should not set the property value
PASSe.style['font-family'] = "random-item(auto, serif})" should not set the property value
PASSe.style['font-family'] = "random-item(auto, {Times, serif)" should not set the property value
PASSe.style['font-family'] = "random-item({auto, serif, sans-serif)" should not set the property value
PASSe.style['font-family'] = "random-item(auto, {Times, serif} extra)" should not set the property value
PASSe.style['font-family'] = "random-item(auto, extra {Times, serif})" should not set the property value