@@ -253,7 +253,7 @@ Corner Shaping: the 'corner-shape' property</h3>
253
253
254
254
<pre class="propdef">
255
255
Name : corner-shape
256
- Value : [ round | bevel | scoop | notch ]{1,4}
256
+ Value : [ round | angle ]{1,4}
257
257
Initial : round
258
258
Applies to : all elements, except table element when 'border-collapse' is ''collapse''
259
259
Inherited : no
@@ -268,30 +268,21 @@ Corner Shaping: the 'corner-shape' property</h3>
268
268
<dl dfn-type="value" dfn-for="corner-shape">
269
269
<dt> <dfn>''round''</dfn>
270
270
<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>
277
272
</dl>
278
273
279
274
<div class="example">
280
275
For example, the following declarations create a right-pointing next button.
281
276
<pre>
282
277
a {
283
278
border-radius: 0 2em 2em 0;
284
- corner-shape: bevel ;
279
+ corner-shape: angle ;
285
280
padding: 0.5em 2em 0.5em 0.5em;
286
281
</pre>
287
282
As a fallback in UAs that don't support 'border-radius' ,
288
283
the right side would be rounded rather than pointy.
289
284
</div>
290
285
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
-
295
286
<p class="issue">
296
287
Add a ''cubic-bezier()'' function for random other shapes?
297
288
Or some other functions?
@@ -309,7 +300,7 @@ Corner Shape and Size: the 'corners' shorthand</h3>
309
300
310
301
<div class="example">
311
302
For example, the following declaration creates a diamond shape.
312
- <pre> corners: bevel 50%;</pre>
303
+ <pre> corners: angle 50%;</pre>
313
304
In UAs that don't support 'corner-shape' , the declaration is ignored
314
305
(falls back to a rectangle).
315
306
</div>
@@ -319,7 +310,7 @@ Corner Shape and Size: the 'corners' shorthand</h3>
319
310
while the second example makes them trapezoid-shaped in UAs that support 'corners' .
320
311
<pre>
321
312
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;
323
314
</pre>
324
315
</div>
325
316
@@ -386,11 +377,11 @@ Partial Borders: the 'border-limit' property</h3>
386
377
<p> The following example draws only the first 10px of each corner:</p>
387
378
<pre> box { border: solid; border-parts: corners 10px; }</pre>
388
379
<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>
391
382
<p> The following example draws the curved part of the corner and all of
392
383
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>
394
385
</div>
395
386
396
387
<h3 id="border-clip">
0 commit comments