border-image
renders differently
css-borders-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 | See individual properties |
|---|---|
| Applies to | See individual properties |
| Inherited | no |
| Percentages | N/A |
| Computed value | See individual properties |
| Syntax | <'border-image-source'> || <'border-image-slice'> [ / <'border-image-width'> | / <'border-image-width'>? / <'border-image-outset'> ]? || <'border-image-repeat'> |
The measurements
One example. 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.
border-image:linear-gradient(90deg,#f00,#00f)
renders differently

| Pixels that differ from Chrome | 192 |
|---|---|
| The same, on the page without the declaration | 0 |
| Largest difference on one colour channel | 6 of 255 |
| The same, on the page without the declaration | 0 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 19 branches, and 1 of them carries a measurement.
| Value | Measured |
|---|---|
linear-gradient(90deg,#f00,#00f) | renders differently |
2 | not measured |
50% | not measured |
2 fill | not measured |
2 / 20px | not measured |
2 / 50% | not measured |
2 / 2 | not measured |
2 / auto | not measured |
2 / / 20px | not measured |
2 / 20px / 20px | not measured |
2 / 50% / 20px | not measured |
2 / 2 / 20px | not measured |
2 / auto / 20px | not measured |
2 / / 2 | not measured |
stretch | not measured |
repeat | not measured |
round | not measured |
space | not measured |
none | not measured |
Measured against Chrome 148.0.7778.96 on 5 November 2026, with up to 40 candidate values tried per property. How it was measured