blob: f732208241178e8ba8fc824e8a7ded6a0d99d9ea [file] [log] [blame]
This is a testharness.js-based test.
PASS e.style['width'] = "auto" should set the property value
PASS e.style['width'] = "min-content" should set the property value
PASS e.style['width'] = "max-content" should set the property value
PASS e.style['width'] = "0" should set the property value
PASS e.style['width'] = "10%" should set the property value
PASS e.style['width'] = "0.5em" should set the property value
PASS e.style['width'] = "calc(10% - 0.5em)" should set the property value
FAIL e.style['width'] = "fit-content(10%)" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['width'] = "fit-content(0.5em)" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['width'] = "fit-content(10% - 0.5em)" should set the property value assert_not_equals: property should be set got disallowed value ""
Harness: the test ran to completion.