css/css-text/parsing/
text-fit-valid.html
Passes: all 10 assertions match
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'] = "none" should set the property value | accepted | accepted | Passes |
e.style['text-fit'] = "grow" should set the property value | accepted | accepted | Passes |
e.style['text-fit'] = "shrink" should set the property value | accepted | accepted | Passes |
e.style['text-fit'] = "grow consistent" should set the property value | accepted | accepted | Passes |
e.style['text-fit'] = "grow per-line" should set the property value | accepted | accepted | Passes |
e.style['text-fit'] = "grow per-line-all" should set the property value | accepted | accepted | Passes |
e.style['text-fit'] = "grow per-line 132%" should set the property value | accepted | accepted | Passes |
e.style['text-fit'] = "grow consistent 300%" should set the property value | accepted | accepted | Passes |
e.style['text-fit'] = "shrink per-line 4%" should set the property value | accepted | accepted | Passes |
e.style['text-fit'] = "shrink consistent 50%" should set the property value | accepted | accepted | Passes |
Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.