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

Status: FAIL | Duration: 94ms | Subtests: 0/16 | 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-spacing value 'initial'FAILassert_true: text-spacing doesn't seem to be supported in the computed style expected true got false
Property text-spacing value 'normal'FAILassert_true: text-spacing doesn't seem to be supported in the computed style expected true got false
Property text-spacing value 'none'FAILassert_true: text-spacing doesn't seem to be supported in the computed style expected true got false
Property text-spacing value 'auto'FAILassert_true: text-spacing doesn't seem to be supported in the computed style expected true got false
Property text-spacing value 'no-autospace'FAILassert_true: text-spacing doesn't seem to be supported in the computed style expected true got false
Property text-spacing value 'trim-start'FAILassert_true: text-spacing doesn't seem to be supported in the computed style expected true got false
Property text-spacing value 'space-all'FAILassert_true: text-spacing doesn't seem to be supported in the computed style expected true got false
Property text-spacing value 'normal normal'FAILassert_true: text-spacing doesn't seem to be supported in the computed style expected true got false
Property text-spacing value 'normal trim-start'FAILassert_true: text-spacing doesn't seem to be supported in the computed style expected true got false
Property text-spacing value 'no-autospace normal'FAILassert_true: text-spacing doesn't seem to be supported in the computed style expected true got false
Property text-spacing value 'no-autospace space-all'FAILassert_true: text-spacing doesn't seem to be supported in the computed style expected true got false
Property text-spacing value 'no-autospace trim-start'FAILassert_true: text-spacing doesn't seem to be supported in the computed style expected true got false
Property text-spacing value 'trim-start normal 'FAILassert_true: text-spacing doesn't seem to be supported in the computed style expected true got false
Property text-spacing value 'normal no-autospace'FAILassert_true: text-spacing doesn't seem to be supported in the computed style expected true got false
Property text-spacing value 'space-all no-autospace'FAILassert_true: text-spacing doesn't seem to be supported in the computed style expected true got false
Property text-spacing value 'trim-start no-autospace'FAILassert_true: text-spacing doesn't seem to be supported in the computed style expected true got false

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

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Text: getComputedStyle().textSpacing</title>
<link rel="help" href="https://drafts.csswg.org/css-text-4/#text-spacing-property">
<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-spacing", "initial", "normal");

test_computed_value("text-spacing", "normal");
test_computed_value("text-spacing", "none");
test_computed_value("text-spacing", "auto");

// `text-autospace`.
test_computed_value("text-spacing", "no-autospace");

// `text-spacing-trim`.
test_computed_value("text-spacing", "trim-start");
test_computed_value("text-spacing", "space-all");

// `text-autospace` and `text-spacing-trim`.
test_computed_value("text-spacing", "normal normal", "normal");
test_computed_value("text-spacing", "normal trim-start", "trim-start");
test_computed_value("text-spacing", "no-autospace normal", "no-autospace");
test_computed_value("text-spacing", "no-autospace space-all", "none");
test_computed_value("text-spacing", "no-autospace trim-start", "trim-start no-autospace");
// Test the reversed order.
test_computed_value("text-spacing", "trim-start normal ", "trim-start");
test_computed_value("text-spacing", "normal no-autospace", "no-autospace");
test_computed_value("text-spacing", "space-all no-autospace", "none");
test_computed_value("text-spacing", "trim-start no-autospace", "trim-start no-autospace");
</script>
</body>
</html>