border-shape
matches Chrome on some values: 10 of 12 examples match Chrome
css-borders-4
Some of the examples match Chrome and some do not: the count says how many, and the values that differ are listed first, each with its difference map.
The 2 that do not: border-shape:ellipse(80px 40px), border-shape:inset(20px) margin-box. They come first below, each with its difference map.
What the specification says
| Initial value | none |
|---|---|
| Applies to | all elements |
| Inherited | no |
| Percentages | see prose |
| Computed value | list, each item a computed color |
| Syntax | none | [ <basic-shape> <geometry-box>?]{1,2} |
The measurements
12 examples: two render differently and come first and ten match Chrome. 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-shape:ellipse(80px 40px)
renders differently

| Pixels that differ from Chrome | 117 |
|---|---|
| The same, on the page without the declaration | 0 |
| Largest difference on one colour channel | 132 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.
border-shape:inset(20px) margin-box
renders differently

| Pixels that differ from Chrome | 12,096 |
|---|---|
| The same, on the page without the declaration | 0 |
| Largest difference on one colour channel | 204 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.
border-shape:circle(60px)
below the visible threshold

| Pixels that differ from Chrome | 92 |
|---|---|
| The same, on the page without the declaration | 0 |
| Largest difference on one colour channel | 3 of 255 |
| The same, on the page without the declaration | 0 of 255 |
What differs is anti-aliasing only.
border-shape:inset(20px) content-box, border-shape:inset(20px) fill-box
same effect as Chrome

| Pixels that differ from Chrome | 0 |
|---|---|
| The same, on the page without the declaration | 0 |
| Largest difference on one colour channel | 0 of 255 |
| The same, on the page without the declaration | 0 of 255 |
Identical to Chrome.
border-shape:inset(20px) padding-box
same effect as Chrome

| Pixels that differ from Chrome | 0 |
|---|---|
| The same, on the page without the declaration | 0 |
| Largest difference on one colour channel | 0 of 255 |
| The same, on the page without the declaration | 0 of 255 |
Identical to Chrome.
border-shape:polygon(0 0, 100% 0, 50% 100%)
below the visible threshold

| Pixels that differ from Chrome | 202 |
|---|---|
| The same, on the page without the declaration | 0 |
| Largest difference on one colour channel | 3 of 255 |
| The same, on the page without the declaration | 0 of 255 |
What differs is anti-aliasing only.
border-shape:inset(20px), border-shape:inset(20px) half-border-box
same effect as Chrome

| Pixels that differ from Chrome | 0 |
|---|---|
| The same, on the page without the declaration | 0 |
| Largest difference on one colour channel | 0 of 255 |
| The same, on the page without the declaration | 0 of 255 |
Identical to Chrome.
border-shape:inset(20px) border-box, border-shape:inset(20px) stroke-box, border-shape:inset(20px) view-box
same effect as Chrome

| Pixels that differ from Chrome | 0 |
|---|---|
| The same, on the page without the declaration | 0 |
| Largest difference on one colour channel | 0 of 255 |
| The same, on the page without the declaration | 0 of 255 |
Identical to Chrome.
Which values were measured
A match on one example means a match at the value tried. The property’s grammar has 13 branches, and 12 of them carry a measurement. At most 12 examples are published per property, so a branch past that is left out by our choice.
| Value | Measured |
|---|---|
inset(20px) | same effect as Chrome |
circle(60px) | below the visible threshold |
ellipse(80px 40px) | renders differently |
polygon(0 0, 100% 0, 50% 100%) | below the visible threshold |
inset(20px) content-box | same effect as Chrome |
inset(20px) padding-box | same effect as Chrome |
inset(20px) border-box | same effect as Chrome |
inset(20px) margin-box | renders differently |
inset(20px) half-border-box | same effect as Chrome |
inset(20px) fill-box | same effect as Chrome |
inset(20px) stroke-box | same effect as Chrome |
inset(20px) view-box | same effect as Chrome |
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