@@ -81,7 +81,6 @@ spec:css2; type:property; text:background-image
81
81
<!-- Some of the following definitions have existing exported defintions from other specs,
82
82
but not from specs that are OK to link to from a CR -->
83
83
<pre class="anchors">
84
- url: https://www.w3.org/TR/CSS2/box.html#border-edge; type: dfn; spec: CSS2; text: border edge
85
84
url: https://www.w3.org/TR/CSS2/visufx.html#propdef-overflow
86
85
type: property; spec: CSS2; text: overflow
87
86
type: value; spec: CSS2; text: visible; for: overflow
@@ -142,14 +141,14 @@ this specification links directly to these terms where relevant.
142
141
143
142
<h3 id="box-sizing" caniuse="css3-boxsizing">Changing the Box Model: the 'box-sizing' property</h3>
144
143
145
- <pre class="propdef">
146
- Name : box-sizing
144
+ <pre class="propdef">
145
+ Name : box-sizing
147
146
Value : content-box | border-box
148
- Initial : content-box
149
- Applies to : all elements that accept width or height
150
- Inherited : no
151
- Percentages : N/A
152
- Computed value : specified value
147
+ Initial : content-box
148
+ Applies to : all elements that accept width or height
149
+ Inherited : no
150
+ Percentages : N/A
151
+ Computed value : specified value
153
152
</pre>
154
153
155
154
<dl dfn-type=value dfn-for=box-sizing>
@@ -292,55 +291,55 @@ The rendering of applying transforms to outlines is left explicitly undefined in
292
291
293
292
<h3 id="outline">Outlines Shorthand: the 'outline' property</h3>
294
293
295
- <pre class="propdef">
296
- Name : outline
294
+ <pre class="propdef">
295
+ Name : outline
297
296
Value : [ <<'outline-color'>> || <<'outline-style'>> || <<'outline-width'>> ]
298
- Initial : see individual properties
299
- Applies to : all elements
300
- Inherited : no
301
- Percentages : N/A
302
- Computed value : see individual properties
303
- Animation type : see individual properties
297
+ Initial : see individual properties
298
+ Applies to : all elements
299
+ Inherited : no
300
+ Percentages : N/A
301
+ Computed value : see individual properties
302
+ Animation type : see individual properties
304
303
</pre>
305
304
306
305
<h3 id="outline-width">Outline Thickness: the 'outline-width' property</h3>
307
306
308
- <pre class="propdef">
309
- Name : outline-width
307
+ <pre class="propdef">
308
+ Name : outline-width
310
309
Value : <<line-width>>
311
- Initial : medium
312
- Applies to : all elements
313
- Inherited : no
314
- Percentages : N/A
310
+ Initial : medium
311
+ Applies to : all elements
312
+ Inherited : no
313
+ Percentages : N/A
315
314
Computed value : absolute length; ''0'' if the outline style is ''border-style/none''.
316
315
Animation type : <a href="https://drafts.csswg.org/css3-transitions/#animtype-length">length</a>
317
316
</pre>
318
317
319
318
<h3 id="outline-style">Outline Patterns: the 'outline-style' property</h3>
320
319
321
- <pre class="propdef">
322
- Name : outline-style
323
- Value : auto | <'border-style'>
324
- Initial : none
325
- Applies to : all elements
326
- Inherited : no
327
- Percentages : N/A
320
+ <pre class="propdef">
321
+ Name : outline-style
322
+ Value : auto | <'border-style'>
323
+ Initial : none
324
+ Applies to : all elements
325
+ Inherited : no
326
+ Percentages : N/A
328
327
Computed value : as specified
329
328
</pre>
330
329
331
330
<h3 id="outline-color">Outline Colors: the 'outline-color' property</h3>
332
331
333
- <pre class="propdef">
334
- Name : outline-color
335
- Value : <<color>> | invert
336
- Initial : invert
337
- Applies to : all elements
338
- Inherited : no
339
- Percentages : N/A
332
+ <pre class="propdef">
333
+ Name : outline-color
334
+ Value : <<color>> | invert
335
+ Initial : invert
336
+ Applies to : all elements
337
+ Inherited : no
338
+ Percentages : N/A
340
339
Computed value : The computed value for ''outline-color/invert'' is ''outline-color/invert'';
341
340
the computed value of ''outline-color/currentColor'' is ''outline-color/currentColor'' (See [[CSS-COLOR-3/#currentColor]]);
342
341
see the 'color' property for other <<color>> values.
343
- Animation Type : <a href="https://drafts.csswg.org/css3-transitions/#animtype-color">color</a>
342
+ Animation Type : <a href="https://drafts.csswg.org/css3-transitions/#animtype-color">color</a>
344
343
</pre>
345
344
346
345
The outline created with the outline properties is drawn "over" a box,
@@ -460,15 +459,15 @@ it may well overlap other elements on the page.
460
459
By default, the outline is drawn starting just outside the <a>border edge</a> .
461
460
However, it is possible to offset the outline and draw it beyond the <a>border edge</a> .
462
461
463
- <pre class="propdef">
464
- Name : outline-offset
465
- Value : <<length>>
466
- Initial : 0
467
- Applies to : all elements
468
- Inherited : no
469
- Percentages : N/A
470
- Computed value : <<length>> value in absolute units (px or physical).
471
- Animation Type : <a href="https://drafts.csswg.org/css3-transitions/#animtype-length">length</a>
462
+ <pre class="propdef">
463
+ Name : outline-offset
464
+ Value : <<length>>
465
+ Initial : 0
466
+ Applies to : all elements
467
+ Inherited : no
468
+ Percentages : N/A
469
+ Computed value : <<length>> value in absolute units (px or physical).
470
+ Animation Type : <a href="https://drafts.csswg.org/css3-transitions/#animtype-length">length</a>
472
471
</pre>
473
472
474
473
If the computed value of 'outline-offset'
@@ -513,14 +512,14 @@ The 'resize' property allows the author
513
512
to specify whether or not an element is resizable by the user,
514
513
and if so, along which axis/axes.
515
514
516
- <pre class="propdef">
517
- Name : resize
518
- Value : none | both | horizontal | vertical
519
- Initial : none
515
+ <pre class="propdef">
516
+ Name : resize
517
+ Value : none | both | horizontal | vertical
518
+ Initial : none
520
519
Applies to : elements with 'overflow' other than visible,
521
- and optionally replaced elements such as images, videos, and iframes
522
- Inherited : no
523
- Percentages : N/A
520
+ and optionally replaced elements such as images, videos, and iframes
521
+ Inherited : no
522
+ Percentages : N/A
524
523
Computed value : as specified
525
524
</pre>
526
525
@@ -918,8 +917,8 @@ While the content is being scrolled, implementations may adjust their rendering
918
917
<h3 id="pointer-interaction">Pointer interaction</h3>
919
918
920
919
<h4 id="cursor" caniuse="css3-cursors">Styling the Cursor: the 'cursor' property</h4>
921
- <pre class="propdef">
922
- Name : cursor
920
+ <pre class="propdef">
921
+ Name : cursor
923
922
Value : [ [<<url>> [<x> <y>]?,]* <br>
924
923
[ auto | default | none |<br>
925
924
context-menu | help | pointer | progress | wait | <br>
@@ -930,12 +929,12 @@ Value: [ [<<url>> [<x> <y>]?,]* <br>
930
929
col-resize | row-resize |
931
930
all-scroll |<br>
932
931
zoom-in | zoom-out <br>
933
- ] ]
934
- Initial : auto
935
- Applies to : all elements
936
- Inherited : yes
937
- Percentages : N/A
938
- Computed value : as specified, except with any relative URLs converted to absolute
932
+ ] ]
933
+ Initial : auto
934
+ Applies to : all elements
935
+ Inherited : yes
936
+ Percentages : N/A
937
+ Computed value : as specified, except with any relative URLs converted to absolute
939
938
</pre>
940
939
941
940
This property specifies the type of cursor to be displayed for the pointing device
@@ -1238,17 +1237,17 @@ boxes are generated for it and its cursor is used for the canvas.
1238
1237
<h3 id="insertion-caret">Insertion caret</h3>
1239
1238
1240
1239
<h4 id="caret-color" caniuse="css-caret-color">Coloring the Insertion Caret: the 'caret-color' property</h4>
1241
- <pre class="propdef">
1242
- Name : caret-color
1243
- Value : auto | <<color>>
1244
- Initial : auto
1240
+ <pre class="propdef">
1241
+ Name : caret-color
1242
+ Value : auto | <<color>>
1243
+ Initial : auto
1245
1244
Applies to : all elements
1246
- Inherited : yes
1247
- Percentages : N/A
1245
+ Inherited : yes
1246
+ Percentages : N/A
1248
1247
Computed value : The computed value for ''caret-color/auto'' is ''caret-color/auto'';
1249
1248
the computed value of ''caret-color/currentColor'' is ''cart-color/currentColor'' (See [[CSS-COLOR-3/#currentColor]]);
1250
1249
see the 'color' property for other <<color>> values.
1251
- Animation Type : <a href="https://drafts.csswg.org/css3-transitions/#animtype-color">color</a>
1250
+ Animation Type : <a href="https://drafts.csswg.org/css3-transitions/#animtype-color">color</a>
1252
1251
</pre>
1253
1252
1254
1253
<dl>
0 commit comments