css/css-text/parsing/
text-fit-invalid.html
Fails: 4 of 6 assertions match, 2 do not
A parsing check: each value the parser must accept or reject.
Run it in the playgroundThe fileOn GitHubBrowsers’ results on wpt.fyi
Each assertion
Every row shows what the file expected and what the engine returned, whether they match or not.
| Assertion | Expected | Got | Verdict |
|---|---|---|---|
e.style['text-fit'] = "grow 150% consistent" should not set the property value | rejected | accepted | Fails |
e.style['text-fit'] = "consistent 100%" should not set the property value | rejected | accepted | Fails |
e.style['text-fit'] = "larger" should not set the property value | rejected | rejected | Passes |
e.style['text-fit'] = "smaller" should not set the property value | rejected | rejected | Passes |
e.style['text-fit'] = "stretch per-line" should not set the property value | rejected | rejected | Passes |
e.style['text-fit'] = "grow consistent 1.0" should not set the property value | rejected | rejected | Passes |
Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.