File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -760,10 +760,12 @@ Shapes from Box Values</h2>
760
760
enclosed by the outside margin edge.
761
761
The corner radii of this shape are determined
762
762
by the corresponding border-radius and margin values.
763
- If the ratio of <code> border-radius/margin</code> is 1 or more,
763
+ If the ratio of <code> border-radius/margin</code> is 1 or more,
764
+ or margin is negative,
764
765
then the margin box corner radius is
765
- <code> border-radius + margin</code> .
766
+ <code> max( border-radius + margin, 0) </code> .
766
767
If the ratio of <code> border-radius/margin</code> is less than 1,
768
+ and margin is positive,
767
769
then the margin box corner radius is
768
770
<code> border-radius + (margin * (1 + (ratio-1)^3))</code> .
769
771
You can’t perform that action at this time.
0 commit comments