random-item-serialize.html

FAILExpected1 of 15 subtests pass1,304 ms

Details

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

Subtests

StatusSubtestMessage
FAILe.style['font-family'] = "random-item(auto, serif, sans-serif)" should set the property value
assert_not_equals: property should be set got disallowed value ""
assert_not_equals: property should be set got disallowed value ""
FAILe.style['font-family'] = "random-item(--x, serif, sans-serif)" should set the property value
assert_not_equals: property should be set got disallowed value ""
assert_not_equals: property should be set got disallowed value ""
FAILe.style['font-family'] = "random-item(element-scoped, serif, sans-serif)" should set the property value
assert_not_equals: property should be set got disallowed value ""
assert_not_equals: property should be set got disallowed value ""
FAILe.style['font-family'] = "random-item(--x element-scoped, serif, sans-serif)" should set the property value
assert_not_equals: property should be set got disallowed value ""
assert_not_equals: property should be set got disallowed value ""
FAILe.style['font-family'] = "random-item(element-scoped --x, serif, sans-serif)" should set the property value
assert_not_equals: property should be set got disallowed value ""
assert_not_equals: property should be set got disallowed value ""
FAILe.style['font-family'] = "random-item(fixed 0, serif, sans-serif)" should set the property value
assert_not_equals: property should be set got disallowed value ""
assert_not_equals: property should be set got disallowed value ""
FAILe.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 ""
assert_not_equals: property should be set got disallowed value ""
FAILe.style['font-family'] = "random-item(fixed 1, serif, sans-serif)" should set the property value
assert_not_equals: property should be set got disallowed value ""
assert_not_equals: property should be set got disallowed value ""
FAILe.style['font-family'] = "random-item(auto, serif)" should set the property value
assert_not_equals: property should be set got disallowed value ""
assert_not_equals: property should be set got disallowed value ""
FAILe.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 ""
assert_not_equals: property should be set got disallowed value ""
FAILe.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 ""
assert_not_equals: property should be set got disallowed value ""
FAILe.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 ""
assert_not_equals: property should be set got disallowed value ""
FAILe.style['color'] = "random-item(auto, red, green, blue)" should set the property value
assert_not_equals: property should be set got disallowed value ""
assert_not_equals: property should be set got disallowed value ""
FAILe.style['width'] = "random-item(auto, 1px, 2px, 3px)" should set the property value
assert_not_equals: property should be set got disallowed value ""
assert_not_equals: property should be set got disallowed value ""
PASSe.style['width'] = "random-item(--x, var(--a), var(--b))" should set the property value