wpt / css / css-inline / text-box-trim / parsing / text-box-trim-valid.html

Status: FAIL | Duration: 50ms | Subtests: 0/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-box-trim'] = "none" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['text-box-trim'] = "trim-start" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['text-box-trim'] = "trim-end" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['text-box-trim'] = "trim-both" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""

/css/css-inline/text-box-trim/parsing/text-box-trim-valid.html

<!DOCTYPE html>
<title>text-box-trim parses valid values according to its grammar</title>
<link rel="help" href="https://drafts.csswg.org/css-inline-3/#leading-trim">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>

<script>
test_valid_value('text-box-trim', 'none');
test_valid_value('text-box-trim', 'trim-start');
test_valid_value('text-box-trim', 'trim-end');
test_valid_value('text-box-trim', 'trim-both');
</script>