wpt / css / css-ui / parsing / text-overflow-invalid.html

Status: PASS | Duration: 49ms | Subtests: 2/2 | 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['text-overflow'] = "auto" should not set the property valuePASS
e.style['text-overflow'] = "clip ellipsis clip" should not set the property valuePASS

/css/css-ui/parsing/text-overflow-invalid.html

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS UI Level 3: parsing text-overflow with invalid values</title>
<link rel="author" title="Eric Willigers" href="mailto:ericwilligers@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-ui-3/#text-overflow">
<meta name="assert" content="text-overflow supports only the grammar 'clip | ellipsis'.">
<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("text-overflow", "auto");
test_invalid_value("text-overflow", "clip ellipsis clip");
</script>
</body>
</html>