Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions css-borders-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,7 @@ Issue <a href="https://github.com/w3c/csswg-drafts/issues/11610">#11610</a>: che
'corner-shape' values</h4>

<pre class=prod>
<dfn><<corner-shape-value>></dfn> = <l>''round''</l> | <l>''scoop''</l> | <l>''bevel''</l> | <l>''notch''</l> | <l>''<corner-shape-value>/square''</l> | <l>''squircle''</l> |
superellipse(<<number [-&infin;,&infin;]>> | infinity | -infinity)
<dfn><<corner-shape-value>></dfn> = <l>''round''</l> | <l>''scoop''</l> | <l>''bevel''</l> | <l>''notch''</l> | <l>''<corner-shape-value>/square''</l> | <l>''squircle''</l> | <<superellipse()>>
</pre>

<dl dfn-type="value" dfn-for="<corner-shape-value>">
Expand All @@ -392,7 +391,12 @@ Issue <a href="https://github.com/w3c/csswg-drafts/issues/11610">#11610</a>: che
<dd>Border radii define a convex curve between an ellipse and an convex angle, equivalent to <css>superellipse(2)</css>.
</dl>

The <dfn>superellipse( <<number>> | infinity | -infinity )</dfn> function describes the <dfn>superellipse parameter</dfn> of the corner.
The <dfn>superellipse()</dfn> function describes the <dfn>superellipse parameter</dfn> of the corner. Its syntax is as follows:

<pre class=prod>
<<superellipse()>> = superellipse( <<number>> | infinity | -infinity )
</pre>

It is a number between <css>-infinity</css> and <css>infinity</css>, with <css>-infinity</css> corresponding to a straight concave corner,
<css>infinity</css> corresponding to a square convex corner.

Expand Down