We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c8379a commit 6792d49Copy full SHA for 6792d49
css-shapes-1/Overview.bs
@@ -760,10 +760,12 @@ Shapes from Box Values</h2>
760
enclosed by the outside margin edge.
761
The corner radii of this shape are determined
762
by the corresponding border-radius and margin values.
763
- If the ratio of <code>border-radius/margin</code> is 1 or more,
+ If the ratio of <code>border-radius/margin</code> is 1 or more,
764
+ or margin is negative,
765
then the margin box corner radius is
- <code>border-radius + margin</code>.
766
+ <code>max(border-radius + margin, 0)</code>.
767
If the ratio of <code>border-radius/margin</code> is less than 1,
768
+ and margin is positive,
769
770
<code>border-radius + (margin * (1 + (ratio-1)^3))</code>.
771
0 commit comments