object-fit-valid.html

FAILExpected5 of 9 subtests pass322 ms

Details

Test
/css/css-images/parsing/object-fit-valid.html
Harness
OK

Subtests

StatusSubtestMessage
PASSe.style['object-fit'] = "contain" should set the property value
FAILe.style['object-fit'] = "contain scale-down" 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['object-fit'] = "cover" should set the property value
FAILe.style['object-fit'] = "cover scale-down" 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['object-fit'] = "fill" should set the property value
PASSe.style['object-fit'] = "none" should set the property value
PASSe.style['object-fit'] = "scale-down" should set the property value
FAILe.style['object-fit'] = "scale-down contain" 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['object-fit'] = "scale-down cover" 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 ""