Status: FAIL | Duration: 73ms | Subtests: 0/10 | 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 |
|---|---|---|
| Property text-fit value 'none' | FAIL | assert_true: text-fit doesn't seem to be supported in the computed style expected true got false |
| Property text-fit value 'grow' | FAIL | assert_true: text-fit doesn't seem to be supported in the computed style expected true got false |
| Property text-fit value 'shrink' | FAIL | assert_true: text-fit doesn't seem to be supported in the computed style expected true got false |
| Property text-fit value 'grow consistent' | FAIL | assert_true: text-fit doesn't seem to be supported in the computed style expected true got false |
| Property text-fit value 'grow per-line' | FAIL | assert_true: text-fit doesn't seem to be supported in the computed style expected true got false |
| Property text-fit value 'grow per-line-all' | FAIL | assert_true: text-fit doesn't seem to be supported in the computed style expected true got false |
| Property text-fit value 'grow per-line 200%' | FAIL | assert_true: text-fit doesn't seem to be supported in the computed style expected true got false |
| Property text-fit value 'grow consistent 300%' | FAIL | assert_true: text-fit doesn't seem to be supported in the computed style expected true got false |
| Property text-fit value 'shrink per-line 40%' | FAIL | assert_true: text-fit doesn't seem to be supported in the computed style expected true got false |
| Property text-fit value 'shrink consistent 20%' | FAIL | assert_true: text-fit doesn't seem to be supported in the computed style expected true got false |
/css/css-text/parsing/text-fit-computed.html
<!DOCTYPE html> <title>getComputedStyle().textFit</title> <link rel="help" href="https://drafts.csswg.org/css-text-4/#text-fit-property"> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="/css/support/computed-testcommon.js"></script> <body> <div id="target" style="font-size:20px; line-height:1;"></div> <script> test_computed_value('text-fit', 'none'); test_computed_value('text-fit', 'grow'); test_computed_value('text-fit', 'shrink'); test_computed_value('text-fit', 'grow consistent', 'grow'); test_computed_value('text-fit', 'grow per-line'); test_computed_value('text-fit', 'grow per-line-all'); test_computed_value('text-fit', 'grow per-line 200%'); test_computed_value('text-fit', 'grow consistent 300%', 'grow 300%'); test_computed_value('text-fit', 'shrink per-line 40%', 'shrink per-line 40%'); test_computed_value('text-fit', 'shrink consistent 20%', 'shrink 20%'); </script> </body>