wpt / css / css-ui / parsing / field-sizing-invalid.html

Status: PASS | Duration: 66ms | Subtests: 7/7 | Open test on wpt.live | wpt.fyi

Data from commit:
a50cb89 wpt: run reference-named files which are themselves tests (#836) (2026-09-03)

SubtestStatusMessage
e.style['field-sizing'] = "none" should not set the property valuePASS
e.style['field-sizing'] = "legacy" should not set the property valuePASS
e.style['field-sizing'] = "auto" should not set the property valuePASS
e.style['field-sizing'] = "normal" should not set the property valuePASS
e.style['field-sizing'] = "normal auto" should not set the property valuePASS
e.style['field-sizing'] = "100%" should not set the property valuePASS
e.style['field-sizing'] = "10px" should not set the property valuePASS

/css/css-ui/parsing/field-sizing-invalid.html

<!DOCTYPE html>
<title>CSS UI: parsing field-sizing with invalid values</title>
<link rel="help" href="https://drafts.csswg.org/css-ui-4/#field-sizing">
<link rel="author" title="Kent Tamura" href="mailto:tkent@chromium.org">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
<body>
<script>
test_invalid_value('field-sizing', 'none');
test_invalid_value('field-sizing', 'legacy');
test_invalid_value('field-sizing', 'auto');
test_invalid_value('field-sizing', 'normal');
test_invalid_value('field-sizing', 'normal auto');
test_invalid_value('field-sizing', '100%');
test_invalid_value('field-sizing', '10px');
</script>
</body>