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

Status: PASS | Duration: 57ms | Subtests: 3/3 | 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
e.style['text-overflow'] = "\"marker string\" clip clip" should not set the property valuePASS

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

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Overflow: parsing text-overflow with invalid values</title>
<link rel="help" href="https://drafts.csswg.org/css-overflow/#propdef-text-overflow">
<meta name="assert" content="text-overflow supports only the grammar 'clip | ellipsis | <string>'.">
<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');

test_invalid_value('text-overflow', '"marker string" clip clip');
</script>
</body>
</html>