stroke-opacity
renders differently: 0 of 3 examples match Chrome
fill-stroke-3
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 | 1 |
|---|---|
| Applies to | text and SVG shapes |
| Inherited | yes |
| Percentages | N/A |
| Computed value | the specified value converted to a <number>, clamped to the range [0,1] |
| Syntax | <'opacity'> |
The measurements
3 examples, all 3 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.
stroke-opacity:50%
renders differently

| Pixels that differ from Chrome | 13,489 |
|---|---|
| The same, on the page without the declaration | 809 |
| Largest difference on one colour channel | 204 of 255 |
| The same, on the page without the declaration | 204 of 255 |
The declaration takes effect differently from Chrome: the difference map shows where.
stroke-opacity:0.4, stroke-opacity:40%
renders differently

| Pixels that differ from Chrome | 8,484 |
|---|---|
| The same, on the page without the declaration | 809 |
| Largest difference on one colour channel | 204 of 255 |
| The same, on the page without the declaration | 204 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 2 branches, and 2 of them carry a measurement.
| Value | Measured |
|---|---|
0.4 | renders differently |
50%40% | renders differently renders differently |
Measured against Chrome 148.0.7778.96 on 5 November 2026, with up to 40 candidate values tried per property. How it was measured