css/css-text-decor/text-shadow/parsing/
text-shadow-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-shadow'] = "none" should set the property value | accepted | accepted | Passes |
e.style['text-shadow'] = "10px 20px" should set the property value | accepted | accepted | Passes |
e.style['text-shadow'] = "10px 20px 30px" should set the property value | accepted | accepted | Passes |
e.style['text-shadow'] = "calc(1em + 2px) calc(3em + 4px) calc(5em + 6px)" should set the property value | accepted | accepted | Passes |
e.style['text-shadow'] = "-10px 20px 30px" should set the property value | accepted | accepted | Passes |
e.style['text-shadow'] = "10px -20px 30px" should set the property value | accepted | accepted | Passes |
e.style['text-shadow'] = "rgb(255, 0, 0) 10px 20px" should set the property value | accepted | accepted | Passes |
e.style['text-shadow'] = "10px 20px 30px lime" should set the property value | accepted | accepted | Passes |
e.style['text-shadow'] = "10px 20px, 30px 40px" should set the property value | accepted | accepted | Passes |
e.style['text-shadow'] = "lime 10px 20px 30px, blue 40px 50px" 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.