font-family-valid.html

FAILExpected10 of 11 subtests pass372 ms

Details

Test
/css/css-fonts/parsing/font-family-valid.html
Harness
OK

Subtests

StatusSubtestMessage
PASSe.style['font-family'] = "Serif" should set the property value
PASSe.style['font-family'] = "Sans-Serif" should set the property value
PASSe.style['font-family'] = "Cursive" should set the property value
PASSe.style['font-family'] = "Fantasy" should set the property value
PASSe.style['font-family'] = "Monospace" should set the property value
PASSe.style['font-family'] = "System-UI" should set the property value
PASSe.style['font-family'] = "serif, sans-serif, cursive, fantasy, monospace, system-ui" should set the property value
PASSe.style['font-family'] = "Helvetica, Verdana, sans-serif" should set the property value
FAILe.style['font-family'] = "\"New Century Schoolbook\", serif" should set the property value
assert_equals: serialization should be canonical expected "New Century Schoolbook, serif" but got "\"New Century Schoolbook\", serif"
assert_equals: serialization should be canonical expected "New Century Schoolbook, serif" but got "\"New Century Schoolbook\", serif"
PASSe.style['font-family'] = "'21st Century', fantasy" should set the property value
PASSe.style['font-family'] = "\"inherit\", \"serif\"" should set the property value