wpt / css / css-overflow / parsing / continue-invalid.html

Status: PASS | Duration: 57ms | Subtests: 9/9 | 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['continue'] = "none" should not set the property valuePASS
e.style['continue'] = "auto" should not set the property valuePASS
e.style['continue'] = "auto discard" should not set the property valuePASS
e.style['continue'] = "auto collapse" should not set the property valuePASS
e.style['continue'] = "auto -webkit-legacy" should not set the property valuePASS
e.style['continue'] = "normal discard" should not set the property valuePASS
e.style['continue'] = "normal collapse" should not set the property valuePASS
e.style['continue'] = "normal -webkit-legacy" should not set the property valuePASS
e.style['continue'] = "collapse -webkit-legacy" should not set the property valuePASS

/css/css-overflow/parsing/continue-invalid.html

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Overflow: parsing continue with invalid values</title>
<link rel="help" href="https://drafts.csswg.org/css-overflow-4/#propdef-continue">
<meta name="assert" content="continue supports only the grammar 'normal | discard | collapse', as well as '-webkit-legacy' for legacy compatibility.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
</head>
<body>
<script>
test_invalid_value("continue", 'none');
test_invalid_value("continue", 'auto');

test_invalid_value("continue", 'auto discard');
test_invalid_value("continue", 'auto collapse');
test_invalid_value("continue", 'auto -webkit-legacy');
test_invalid_value("continue", 'normal discard');
test_invalid_value("continue", 'normal collapse');
test_invalid_value("continue", 'normal -webkit-legacy');
test_invalid_value("continue", 'collapse -webkit-legacy');
</script>
</body>
</html>