wpt / css / css-text / parsing / text-wrap-computed.html

Status: FAIL | Duration: 70ms | Subtests: 0/17 | 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
Property text-wrap value 'wrap'FAILassert_true: text-wrap doesn't seem to be supported in the computed style expected true got false
Property text-wrap value 'nowrap'FAILassert_true: text-wrap doesn't seem to be supported in the computed style expected true got false
Property text-wrap value 'auto'FAILassert_true: text-wrap doesn't seem to be supported in the computed style expected true got false
Property text-wrap value 'balance'FAILassert_true: text-wrap doesn't seem to be supported in the computed style expected true got false
Property text-wrap value 'stable'FAILassert_true: text-wrap doesn't seem to be supported in the computed style expected true got false
Property text-wrap value 'wrap auto'FAILassert_true: text-wrap doesn't seem to be supported in the computed style expected true got false
Property text-wrap value 'wrap balance'FAILassert_true: text-wrap doesn't seem to be supported in the computed style expected true got false
Property text-wrap value 'wrap stable'FAILassert_true: text-wrap doesn't seem to be supported in the computed style expected true got false
Property text-wrap value 'auto wrap'FAILassert_true: text-wrap doesn't seem to be supported in the computed style expected true got false
Property text-wrap value 'balance wrap'FAILassert_true: text-wrap doesn't seem to be supported in the computed style expected true got false
Property text-wrap value 'stable wrap'FAILassert_true: text-wrap doesn't seem to be supported in the computed style expected true got false
Property text-wrap value 'nowrap auto'FAILassert_true: text-wrap doesn't seem to be supported in the computed style expected true got false
Property text-wrap value 'nowrap balance'FAILassert_true: text-wrap doesn't seem to be supported in the computed style expected true got false
Property text-wrap value 'nowrap stable'FAILassert_true: text-wrap doesn't seem to be supported in the computed style expected true got false
Property text-wrap value 'auto nowrap'FAILassert_true: text-wrap doesn't seem to be supported in the computed style expected true got false
Property text-wrap value 'balance nowrap'FAILassert_true: text-wrap doesn't seem to be supported in the computed style expected true got false
Property text-wrap value 'stable nowrap'FAILassert_true: text-wrap doesn't seem to be supported in the computed style expected true got false

/css/css-text/parsing/text-wrap-computed.html

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Text: getComputedStyle().textWrap</title>
<link rel="author" title="Tim Nguyen" href="https://github.com/nt1m">
<link rel="help" href="https://drafts.csswg.org/css-text-4/#text-wrap">
<meta name="assert" content="text-wrap computed value is '<text-wrap-mode> || <text-wrap-style>'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/computed-testcommon.js"></script>
</head>
<body>
<div id="target"></div>
<script>
test_computed_value("text-wrap", "wrap");
test_computed_value("text-wrap", "nowrap");

test_computed_value("text-wrap", "auto", "wrap");
test_computed_value("text-wrap", "balance");
test_computed_value("text-wrap", "stable");

test_computed_value("text-wrap", "wrap auto", "wrap");
test_computed_value("text-wrap", "wrap balance", "balance");
test_computed_value("text-wrap", "wrap stable", "stable");
test_computed_value("text-wrap", "auto wrap", "wrap");
test_computed_value("text-wrap", "balance wrap", "balance");
test_computed_value("text-wrap", "stable wrap", "stable");

test_computed_value("text-wrap", "nowrap auto", "nowrap");
test_computed_value("text-wrap", "nowrap balance");
test_computed_value("text-wrap", "nowrap stable");
test_computed_value("text-wrap", "auto nowrap", "nowrap");
test_computed_value("text-wrap", "balance nowrap", "nowrap balance");
test_computed_value("text-wrap", "stable nowrap", "nowrap stable");
</script>
</body>
</html>