wpt / css / css-text / parsing / text-justify-valid.html

Status: PASS | Duration: 49ms | Subtests: 4/4 | 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-justify'] = "auto" should set the property valuePASS
e.style['text-justify'] = "none" should set the property valuePASS
e.style['text-justify'] = "inter-word" should set the property valuePASS
e.style['text-justify'] = "inter-character" should set the property valuePASS

/css/css-text/parsing/text-justify-valid.html

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Text Module Test: parsing text-justify with valid values</title>
<link rel="help" href="https://www.w3.org/TR/css-text-3/#propdef-text-justify">
<meta name="assert" content="text-justify supports the full grammar 'auto | none | inter-word | inter-character'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
</head>
<body>
<script>
test_valid_value("text-justify", "auto");
test_valid_value("text-justify", "none");
test_valid_value("text-justify", "inter-word");
test_valid_value("text-justify", "inter-character");
</script>
</body>
</html>