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