Skip to content

Commit c0eb5a5

Browse files
committed
[css-backgrounds-4] Drop notch/scoop, rename bevel to angle. w3c#3457
1 parent f3cdea1 commit c0eb5a5

File tree

1 file changed

+8
-17
lines changed

1 file changed

+8
-17
lines changed

css-backgrounds-4/Overview.bs

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ Corner Shaping: the 'corner-shape' property</h3>
253253

254254
<pre class="propdef">
255255
Name: corner-shape
256-
Value: [ round | bevel | scoop | notch ]{1,4}
256+
Value: [ round | angle ]{1,4}
257257
Initial: round
258258
Applies to: all elements, except table element when 'border-collapse' is ''collapse''
259259
Inherited: no
@@ -268,30 +268,21 @@ Corner Shaping: the 'corner-shape' property</h3>
268268
<dl dfn-type="value" dfn-for="corner-shape">
269269
<dt><dfn>''round''</dfn>
270270
<dd>Border radii define a convex elliptical curve at the corner.
271-
<dt><dfn>''bevel''</dfn>
272-
<dd>Border radii define a diagonal slice at the corner.
273-
<dt><dfn>''scoop''</dfn>
274-
<dd>Border radii define a concave elliptical curve at the corner.
275-
<dt><dfn>''notch''</dfn>
276-
<dd>Border radii define a concave rectangular notch at the corner.
271+
<dt><dfn>''angle''</dfn>
277272
</dl>
278273

279274
<div class="example">
280275
For example, the following declarations create a right-pointing next button.
281276
<pre>
282277
a {
283278
border-radius: 0 2em 2em 0;
284-
corner-shape: bevel;
279+
corner-shape: angle;
285280
padding: 0.5em 2em 0.5em 0.5em;
286281
</pre>
287282
As a fallback in UAs that don't support 'border-radius',
288283
the right side would be rounded rather than pointy.
289284
</div>
290285

291-
<p class="issue">
292-
For ''scoop'' and ''notch'', how do the color/style/width transitions work?
293-
Do they transition once in the middle, or alternate to match the topness/sideness of that segment of the border?
294-
295286
<p class="issue">
296287
Add a ''cubic-bezier()'' function for random other shapes?
297288
Or some other functions?
@@ -309,7 +300,7 @@ Corner Shape and Size: the 'corners' shorthand</h3>
309300

310301
<div class="example">
311302
For example, the following declaration creates a diamond shape.
312-
<pre>corners: bevel 50%;</pre>
303+
<pre>corners: angle 50%;</pre>
313304
In UAs that don't support 'corner-shape', the declaration is ignored
314305
(falls back to a rectangle).
315306
</div>
@@ -319,7 +310,7 @@ Corner Shape and Size: the 'corners' shorthand</h3>
319310
while the second example makes them trapezoid-shaped in UAs that support 'corners'.
320311
<pre>
321312
border-radius: 0.25em 0.25em 0 0;
322-
corners: bevel 0.25em 0.25em 0 0 / 50% 50% 0 0;
313+
corners: angle 0.25em 0.25em 0 0 / 50% 50% 0 0;
323314
</pre>
324315
</div>
325316

@@ -386,11 +377,11 @@ Partial Borders: the 'border-limit' property</h3>
386377
<p>The following example draws only the first 10px of each corner:</p>
387378
<pre>box { border: solid; border-parts: corners 10px; }</pre>
388379
<p>The following example draws the curved part of the corner plus 5px
389-
along ths sides:</p>
390-
<pre>box { border: solid; border-radius: 5px; border-shape: scoop; border-parts: corners 5px; }</pre>
380+
along the sides:</p>
381+
<pre>box { border: solid; border-radius: 5px; border-shape: round; border-parts: corners 5px; }</pre>
391382
<p>The following example draws the curved part of the corner and all of
392383
the side except the middle 40%.</p>
393-
<pre>box { border: solid; border-radius: 5px; border-shape: scoope; border-parts: corners 30%; }</pre>
384+
<pre>box { border: solid; border-radius: 5px; border-shape: round; border-parts: corners 30%; }</pre>
394385
</div>
395386

396387
<h3 id="border-clip">

0 commit comments

Comments
 (0)