blob: 5c4638e590d486b1faf74d51044bc3cfb556e274 [file] [log] [blame]
This is a testharness.js-based test.
PASS e.style['object-fit'] = "contain" should set the property value
FAIL e.style['object-fit'] = "contain scale-down" should set the property value assert_not_equals: property should be set got disallowed value ""
PASS e.style['object-fit'] = "cover" should set the property value
FAIL e.style['object-fit'] = "cover scale-down" should set the property value assert_not_equals: property should be set got disallowed value ""
PASS e.style['object-fit'] = "fill" should set the property value
PASS e.style['object-fit'] = "none" should set the property value
PASS e.style['object-fit'] = "scale-down" should set the property value
FAIL e.style['object-fit'] = "scale-down contain" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['object-fit'] = "scale-down cover" should set the property value assert_not_equals: property should be set got disallowed value ""
Harness: the test ran to completion.