Status: PASS | Duration: 50ms | Subtests: 6/6 | Open test on wpt.live | wpt.fyi
Data from commit:
a50cb89 wpt: run reference-named files which are themselves tests (#836) (2026-09-03)
| Subtest | Status | Message |
|---|---|---|
| e.style['text-box-trim'] = "trim-start trim-end" should not set the property value | PASS | |
| e.style['text-box-trim'] = "auto" should not set the property value | PASS | |
| e.style['text-box-trim'] = "normal" should not set the property value | PASS | |
| e.style['text-box-trim'] = "start" should not set the property value | PASS | |
| e.style['text-box-trim'] = "end" should not set the property value | PASS | |
| e.style['text-box-trim'] = "both" should not set the property value | PASS |
/css/css-inline/text-box-trim/parsing/text-box-trim-invalid.html
<!DOCTYPE html> <title>text-box-trim rejects invalid values</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_invalid_value('text-box-trim', 'trim-start trim-end'); test_invalid_value('text-box-trim', 'auto'); test_invalid_value('text-box-trim', 'normal'); test_invalid_value('text-box-trim', 'start'); test_invalid_value('text-box-trim', 'end'); test_invalid_value('text-box-trim', 'both'); </script>