blob: bcc2dad38cc8996b9ddea155c7e3f2834f57caf0 [file] [log] [blame]
This is a testharness.js-based test.
PASS e.style['max-width'] = "none" should set the property value
PASS e.style['max-width'] = "min-content" should set the property value
PASS e.style['max-width'] = "max-content" should set the property value
PASS e.style['max-width'] = "0" should set the property value
PASS e.style['max-width'] = "10%" should set the property value
PASS e.style['max-width'] = "0.5em" should set the property value
PASS e.style['max-width'] = "calc(10% - 0.5em)" should set the property value
FAIL e.style['max-width'] = "fit-content(10%)" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['max-width'] = "fit-content(0.5em)" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['max-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.