css/css-content/parsing/
content-computed.html
Fails: 2 of 3 assertions match, 1 does not; 2 more could not be judged
A parsing and computed-value check: each value the parser must accept or reject, and what it computes to.
| Why some could not be judged | Assertions |
|---|---|
| No assertion with written values to accept or reject | 1 |
| The script builds the values it asserts | 1 |
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 |
|---|---|---|---|
Property content value 'conic-gradient(from 1.5708rad, red 0deg, blue calc(180deg - 10deg))' | conic-gradient(from 90.0002deg, rgb(255, 0, 0) 0deg, rgb(0, 0, 255) 170deg) | conic-gradient(from 90.00021deg, rgb(255, 0, 0) 0deg, rgb(0, 0, 255) 170deg) | Fails |
Property content value 'linear-gradient(to top right, red calc(10% + 2em), blue' | linear-gradient(to right top, rgb(255, 0, 0) calc(10% + 32px), rgb(0, 0, 255)) | linear-gradient(to right top, rgb(255, 0, 0) calc(10% + 32px), rgb(0, 0, 255)) | Passes |
Property content value 'radial-gradient(ellipse 50% 40% at calc(2em + 10px) 30%, red, blue)' | radial-gradient(50% 40% at 42px 30%, rgb(255, 0, 0), rgb(0, 0, 255)) | radial-gradient(50% 40% at 42px 30%, rgb(255, 0, 0), rgb(0, 0, 255)) | Passes |
Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.