css/css-images/parsing/
image-resolution-valid.html
Fails: 0 of 12 assertions match, 12 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['image-resolution'] = "1dpi" should set the property value | accepted | rejected | Fails |
e.style['image-resolution'] = "2dpcm from-image" should set the property value | accepted | rejected | Fails |
e.style['image-resolution'] = "3dppx from-image snap" should set the property value | accepted | rejected | Fails |
e.style['image-resolution'] = "4dpi snap" should set the property value | accepted | rejected | Fails |
e.style['image-resolution'] = "from-image" should set the property value | accepted | rejected | Fails |
e.style['image-resolution'] = "from-image 5dpcm" should set the property value | accepted | rejected | Fails |
e.style['image-resolution'] = "from-image 6dppx snap" should set the property value | accepted | rejected | Fails |
e.style['image-resolution'] = "from-image snap" should set the property value | accepted | rejected | Fails |
e.style['image-resolution'] = "snap 7.5dpi" should set the property value | accepted | rejected | Fails |
e.style['image-resolution'] = "snap -8dpcm from-image" should set the property value | accepted | rejected | Fails |
e.style['image-resolution'] = "snap from-image" should set the property value | accepted | rejected | Fails |
e.style['image-resolution'] = "snap from-image 0dppx" should set the property value | accepted | rejected | Fails |
Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.