@@ -2018,7 +2018,8 @@ the inner curve will not be a full quarter ellipse.
2018
2018
2019
2019
The margin edge, being outside the border edge, calculates its radius
2020
2020
by adding the corresponding margin thickness to each border radius.
2021
- However, in order to create a sharper corner when the border radius is small,
2021
+ However, in order to create a sharper corner when the border radius is small
2022
+ (and thus ensure continuity between round and sharp corners),
2022
2023
when the border radius is less than the margin,
2023
2024
the margin is multiplied by the proportion 1 + ( r -1) 3 ,
2024
2025
where r is the ratio of the border radius to the margin,
@@ -2932,7 +2933,8 @@ Shadow Shape, Spread, and Knockout
2932
2933
To preserve the box's shape when spread is applied,
2933
2934
the corner radii of the shadow are also increased (decreased, for inner shadows)
2934
2935
from the border-box radii by adding the spread distance (and flooring at zero).
2935
- However, in order to create a sharper corner when the border radius is small,
2936
+ However, in order to create a sharper corner when the border radius is small
2937
+ (and thus ensure continuity between round and sharp corners),
2936
2938
when the border radius is less than the spread distance ,
2937
2939
the spread distance is multiplied by the proportion 1 + ( r -1) 3 ,
2938
2940
where r is the ratio of the border radius to the spread distance ,
0 commit comments