Status: FAIL | Duration: 63ms | 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 |
|---|---|---|
| e.style['text-fit'] = "none" should set the property value | FAIL | assert_not_equals: property should be set got disallowed value "" |
| e.style['text-fit'] = "grow" should set the property value | FAIL | assert_not_equals: property should be set got disallowed value "" |
| e.style['text-fit'] = "shrink" should set the property value | FAIL | assert_not_equals: property should be set got disallowed value "" |
| e.style['text-fit'] = "grow consistent" should set the property value | FAIL | assert_not_equals: property should be set got disallowed value "" |
| e.style['text-fit'] = "grow per-line" should set the property value | FAIL | assert_not_equals: property should be set got disallowed value "" |
| e.style['text-fit'] = "grow per-line-all" should set the property value | FAIL | assert_not_equals: property should be set got disallowed value "" |
| e.style['text-fit'] = "grow per-line 132%" should set the property value | FAIL | assert_not_equals: property should be set got disallowed value "" |
| e.style['text-fit'] = "grow consistent 300%" should set the property value | FAIL | assert_not_equals: property should be set got disallowed value "" |
| e.style['text-fit'] = "shrink per-line 4%" should set the property value | FAIL | assert_not_equals: property should be set got disallowed value "" |
| e.style['text-fit'] = "shrink consistent 50%" should set the property value | FAIL | assert_not_equals: property should be set got disallowed value "" |
/css/css-text/parsing/text-fit-valid.html
<!DOCTYPE html> <title>Parsing text-fit with valid values</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/parsing-testcommon.js"></script> <body> <script> test_valid_value('text-fit', 'none'); test_valid_value('text-fit', 'grow'); test_valid_value('text-fit', 'shrink'); test_valid_value('text-fit', 'grow consistent', 'grow consistent'); test_valid_value('text-fit', 'grow per-line'); test_valid_value('text-fit', 'grow per-line-all'); test_valid_value('text-fit', 'grow per-line 132%'); test_valid_value('text-fit', 'grow consistent 300%'); test_valid_value('text-fit', 'shrink per-line 4%'); test_valid_value('text-fit', 'shrink consistent 50%'); </script> </body>