text-shadow
renders differently: 0 of 2 examples match Chrome
css-text-decor-4
The property takes effect, but our pixels are not Chrome’s. The difference map on this page shows where.
What the specification says
| Initial value | none |
|---|---|
| Applies to | text |
| Inherited | yes |
| Percentages | n/a |
| Computed value | either the keyword none or a list, each item consisting of four absolute lengths plus a computed color and optionally also an inset keyword |
| Syntax | none | <shadow># |
The measurements
2 examples, both render differently. Each is one declaration on a small page, drawn by Chrome and by our engine. Drag on a picture to move the line between them.
text-shadow:10px 10px 12px #e07a1f
renders differently

| Pixels that differ from Chrome | 33,701 |
|---|---|
| The same, on the page without the declaration | 1,402 |
| Largest difference on one colour channel | 74 of 255 |
| The same, on the page without the declaration | 45 of 255 |
The declaration takes effect differently from Chrome: the difference map shows where.
text-shadow:14px 14px 0 #e07a1f
renders differently

| Pixels that differ from Chrome | 7,448 |
|---|---|
| The same, on the page without the declaration | 1,402 |
| Largest difference on one colour channel | 45 of 255 |
| The same, on the page without the declaration | 45 of 255 |
The declaration takes effect differently from Chrome: the difference map shows where.
Which values were measured
A match on one example means a match at the value tried. The property’s grammar has 3 branches, and 2 of them carry a measurement.
| Value | Measured |
|---|---|
14px 14px 0 #e07a1f | renders differently |
10px 10px 12px #e07a1f | renders differently |
none | not measured |
Tests that name this property
26 web-platform-tests link to this property’s definition. Few tests carry such a link, so a short list says little about the property.
- Failscss/css-backgrounds/box-shadow-border-radius-001.html
- Passescss/css-text-decor/text-shadow/basic-negcoord.html
- Failscss/css-text-decor/text-shadow/basic-opacity-near-zero.html
- Failscss/css-text-decor/text-shadow/basic-opacity-zero.html
- Failscss/css-text-decor/text-shadow/basic-opacity.html
- Passescss/css-text-decor/text-shadow/basic.html
- Passescss/css-text-decor/text-shadow/blur.html
- Failscss/css-text-decor/text-shadow/color-inherit.html
- Passescss/css-text-decor/text-shadow/color-parserorder.html
- Failscss/css-text-decor/text-shadow/currentcolor.html
- Failscss/css-text-decor/text-shadow/decorations-multiple-zorder.html
- Failscss/css-text-decor/text-shadow/dynamic-blur.html
And 14 more.
Measured against Chrome 148.0.7778.96 on 5 November 2026, with up to 40 candidate values tried per property. How it was measured