@@ -1995,6 +1995,8 @@ the margin is multiplied by the proportion 1 + (r -1)3 ,
1995
1995
where r is the ratio of the border radius to the margin,
1996
1996
in calculating the corner radii of the margin box shape.
1997
1997
1998
+
1999
+
1998
2000
Corner Clipping
1999
2001
2000
2002
Although
border images are not affected
@@ -2921,8 +2923,10 @@ Shadow Shape, Spread, and Knockout
2921
2923
the spread distance (and flooring at zero).
2922
2924
However, in order to create a sharper corner when the border radius is small
2923
2925
(and thus ensure continuity between round and sharp corners),
2924
- when the border radius is less than the spread distance ,
2925
- the spread distance of an outer shadow
2926
+ when the border radius is less than the spread distance
2927
+ (or in the case of an inner shadow,
2928
+ less than the absolute value of a negative spread distance ),
2929
+ the spread distance
2926
2930
is multiplied by the proportion 1 + ( r -1) 3 ,
2927
2931
where r is the ratio of the border radius to the spread distance ,
2928
2932
in calculating the corner radii of the spread shadow shape.
@@ -3057,8 +3061,8 @@ Changes since the 17 October 2017 Candidate Recommendation
3057
3061
<> =
inset
<> ? &&
<> {2,4} &&
<> inset
?
3058
3062
3059
3063
3060
- Spread radius adjustment is only applied to outer shadows ( and positive margins)--
3061
- i.e. cases where the radius of curvature grows, rather than shrinks.
3064
+ Spread radius adjustment is only applied to shadows and margins
3065
+ where the radius of curvature grows, rather than shrinks.
3062
3066
3063
3067
3064
3068
To preserve the box's shape when spread is applied,
@@ -3067,8 +3071,10 @@ Changes since the 17 October 2017 Candidate Recommendation
3067
3071
the spread distance (and flooring at zero).
3068
3072
However, in order to create a sharper corner when the border radius is small
3069
3073
(and thus ensure continuity between round and sharp corners) ,
3070
- when the border radius is less than the spread distance ,
3071
- the spread distance of an outer shadow
3074
+ when the border radius is less than the spread distance
3075
+ (or in the case of an inner shadow,
3076
+ less than the absolute value of a negative spread distance ) ,
3077
+ the spread distance
3072
3078
is multiplied by the proportion 1 + ( r -1) 3 ,
3073
3079
where r is the ratio of the border radius to the spread distance ,
3074
3080
in calculating the corner radii of the spread shadow shape.
0 commit comments