You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The 'border-radius' shorthand sets all four 'border-*-radius' properties.
@@ -1521,13 +1521,13 @@ To compute an [=/element=] |element|'s <dfn>border contour path</dfn> given an [
1521
1521
To <dfn>add corner to path</dfn> given a path |path|, a rectangle |cornerRect|, a rectangle |trimRect|,
1522
1522
and numbers |orientation|, |startThickness|, |endThickness|, |curvature|:
1523
1523
1524
-
1. If |cornerRect| is empty, or if |curvature| is ∞:
1524
+
1. If |cornerRect| is empty, or if |curvature| is ∞:
1525
1525
1. Let |innerQuad| be |trimRect|'s [=clockwise quad=] .
1526
1526
1. Extend |path| by drawing a line to |innerQuad|[<code>(|orienation| + 1) % 4</code>].
1527
1527
1. Return.
1528
1528
1529
1529
1. Let |cornerQuad| be |cornerRect|'s [=clockwise quad=].
1530
-
1. If |curvature| is -∞:
1530
+
1. If |curvature| is -∞:
1531
1531
1. Extend |path| by drawing a line from |cornerQuad|[0] to |cornerQuad|[3], trimmed by |trimRect|.
1532
1532
1. Extend |path| by drawing a line from |cornerQuad|[3] to |cornerQuad|[2], trimmed by |trimRect|.
1533
1533
1. Return.
@@ -1626,10 +1626,10 @@ To balance that, the <dfn>superellipse interpolation</dfn> formula describes how
1626
1626
To compute the <dfn>normalized superellipse half corner</dfn> given a [=superellipse parameter=] |s|, return the first matching statement, switching on |s|:
1627
1627
1628
1628
<dl class=switch>
1629
-
: -∞
1629
+
: -∞
1630
1630
:: Return 0.
1631
1631
1632
-
: ∞
1632
+
: ∞
1633
1633
:: Return 1.
1634
1634
1635
1635
: Otherwise
@@ -1663,13 +1663,13 @@ To interpolate a [=superellipse parameter=] |s| to an interpolation value betwee
1663
1663
1664
1664
<dl class=switch>
1665
1665
: 0
1666
-
:: Return -∞.
1666
+
:: Return -∞.
1667
1667
1668
1668
: 0.5
1669
1669
:: Return 0.
1670
1670
1671
1671
: 1
1672
-
:: Return ∞.
1672
+
:: Return ∞.
1673
1673
1674
1674
: Otherwise
1675
1675
::
@@ -1846,7 +1846,7 @@ Image Slicing: the 'border-image-slice' property</h3>
0 commit comments