-
Notifications
You must be signed in to change notification settings - Fork 791
Expand file tree
/
Copy pathOverview.html
More file actions
4720 lines (3487 loc) · 163 KB
/
Overview.html
File metadata and controls
4720 lines (3487 loc) · 163 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!doctype html>
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>CSS Basic User Interface Module Level 3 (CSS3 UI)</title>
<link href="../default.css" rel="stylesheet" type="text/css">
<link href="../csslogo.ico" rel="shortcut icon" type="image/x-icon">
<style>
body {
background: url("https://www.w3.org/StyleSheets/TR/logo-ED") top left no-repeat white;
background-attachment: fixed;
color: black;
font-family: sans-serif;
margin: 0 auto;
max-width: 50em;
padding: 2em 1em 2em 70px;
}
:link { color: #00C; background: transparent }
:visited { color: #609; background: transparent }
a[href]:active { color: #C00; background: transparent }
a[href]:hover { background: #ffa }
a[href] img { border-style: none }
h1, h2, h3, h4, h5, h6 { text-align: left }
h1, h2, h3 { color: #005A9C; }
h1 { font: 170% sans-serif }
h2 { font: 140% sans-serif }
h3 { font: 120% sans-serif }
h4 { font: bold 100% sans-serif }
h5 { font: italic 100% sans-serif }
h6 { font: small-caps 100% sans-serif }
.hide { display: none }
div.head { margin-bottom: 1em }
div.head h1 { margin-top: 2em; clear: both }
div.head table { margin-left: 2em; margin-top: 2em }
p.copyright { font-size: small }
p.copyright small { font-size: small }
pre { margin-left: 2em }
dt { font-weight: bold }
ul.toc, ol.toc {
list-style: none;
}
</style>
<meta content="Bikeshed 1.0.0" name="generator">
<script defer="" src="//test.csswg.org/harness/annotate.js#css-ui-3_dev/css-ui-3" type="text/javascript"></script>
<style>#awesome-table td {padding:5px}</style>
<style>/* http://prismjs.com/download.html?themes=prism&languages=clike */
/**
* prism.js default theme for JavaScript, CSS and HTML
* Based on dabblet (http://dabblet.com)
* @author Lea Verou
*/
code[class*="language-"],
pre[class*="language-"] {
color: black;
text-shadow: 0 1px white;
font-family: Consolas, Monaco, 'Andale Mono', monospace;
direction: ltr;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
line-height: 1.5;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}
pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
text-shadow: none;
background: #b3d4fc;
}
pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
code[class*="language-"]::selection, code[class*="language-"] ::selection {
text-shadow: none;
background: #b3d4fc;
}
@media print {
code[class*="language-"],
pre[class*="language-"] {
text-shadow: none;
}
}
/* Code blocks */
pre[class*="language-"] {
padding: 1em;
margin: .5em 0;
overflow: auto;
}
:not(pre) > code[class*="language-"],
pre[class*="language-"] {
background: #f5f2f0;
}
/* Inline code */
:not(pre) > code[class*="language-"] {
padding: .1em;
border-radius: .3em;
}
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: slategray;
}
.token.punctuation {
color: #999;
}
.namespace {
opacity: .7;
}
.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
color: #905;
}
.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
color: #690;
}
.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
color: #a67f59;
background: hsla(0, 0%, 100%, .5);
}
.token.atrule,
.token.attr-value,
.token.keyword {
color: #07a;
}
.token.function {
color: #DD4A68;
}
.token.regex,
.token.important,
.token.variable {
color: #e90;
}
.token.important {
font-weight: bold;
}
.token.entity {
cursor: help;
}
</style>
</head>
<body class="h-entry">
<div class="head">
<p data-fill-with="logo"><a class="logo" href="http://www.w3.org/">
<img alt="W3C" height="48" src="https://www.w3.org/Icons/w3c_home" width="72">
</a>
</p>
<h1 class="p-name no-ref" id="title">CSS Basic User Interface Module Level 3 (CSS3 UI)</h1>
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Editor’s Draft,
<time class="dt-updated" datetime="2015-05-12">12 May 2015</time></span></h2>
<div data-fill-with="spec-metadata">
<dl>
<dt>This version:
<dd><a class="u-url" href="http://dev.w3.org/csswg/css-ui/">http://dev.w3.org/csswg/css-ui/</a>
<dt>Latest version:
<dd><a href="http://www.w3.org/TR/css3-ui/">http://www.w3.org/TR/css3-ui/</a>
<dt>Previous Versions:
<dd><a href="http://www.w3.org/TR/2012/WD-css3-ui-20120117/" rel="previous">http://www.w3.org/TR/2012/WD-css3-ui-20120117/</a>
<dt>Feedback:
<dd><span><a href="mailto:www-style@w3.org?subject=%5Bcss-ui%5D%20feedback">www-style@w3.org</a> with subject line “<kbd>[css-ui] <var>… message topic …</var></kbd>” (<a href="http://lists.w3.org/Archives/Public/www-style/" rel="discussion">archives</a>)</span>
<dt>Test Suite:
<dd><a href="http://test.csswg.org/suites/css-ui-3_dev/nightly-unstable/">http://test.csswg.org/suites/css-ui-3_dev/nightly-unstable/</a>
<dt class="editor">Editors:
<dd class="editor p-author h-card vcard"><a class="p-name fn u-url url" href="http://tantek.com">Tantek Çelik</a> (<a class="p-org org" href="http://www.mozilla.org">Mozilla</a>) <a class="u-email email" href="mailto:tantek@cs.stanford.edu">tantek@cs.stanford.edu</a>
<dd class="editor p-author h-card vcard"><a class="p-name fn u-url url" href="http://florian.rivoal.net">Florian Rivoal</a> (<span class="p-org org">Invited Expert</span>) <a class="u-email email" href="mailto:florian@rivoal.net">florian@rivoal.net</a>
<dt>Issue Tracking:
<dd><span><a href="https://wiki.csswg.org/spec/css3-ui">https://wiki.csswg.org/spec/css3-ui</a></span>
</dl>
</div>
<div data-fill-with="warning"></div>
<p class="copyright" data-fill-with="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2015 <a href="http://www.w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> (<a href="http://www.csail.mit.edu/"><abbr title="Massachusetts Institute of Technology">MIT</abbr></a>, <a href="http://www.ercim.eu/"><abbr title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>, <a href="http://www.keio.ac.jp/">Keio</a>, <a href="http://ev.buaa.edu.cn/">Beihang</a>). W3C <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> rules apply.
</p>
<hr title="Separator for header">
</div>
<h2 class="no-num no-toc no-ref heading settled" id="abstract"><span class="content">Abstract</span></h2>
<div class="p-summary" data-fill-with="abstract">
<p>This specification describes user interface related
properties and values that are proposed for CSS level 3
to style HTML and XML (including XHTML).
It includes and extends user interface related features from the selectors,
properties and values of CSS level 2 revision 1 and Selectors specifications.
It uses various selectors,
properties and values to style basic user interface elements in a document.</p>
<a href="http://www.w3.org/TR/CSS/">CSS</a> is a language for describing the rendering of structured documents
(such as HTML and XML)
on screen, on paper, in speech, etc.</div>
<h2 class="no-num no-toc no-ref heading settled" id="status"><span class="content">Status of this document</span></h2>
<div data-fill-with="status">
<p>
This is a public copy of the editors’ draft.
It is provided for discussion only and may change at any moment.
Its publication here does not imply endorsement of its contents by W3C.
Don’t cite this document other than as work in progress.
</p>
<p>
The (<a href="http://lists.w3.org/Archives/Public/www-style/">archived</a>) public mailing list
<a href="mailto:www-style@w3.org?Subject=%5Bcss-ui%5D%20PUT%20SUBJECT%20HERE">www-style@w3.org</a>
(see <a href="http://www.w3.org/Mail/Request">instructions</a>)
is preferred for discussion of this specification.
When sending e-mail,
please put the text “css-ui” in the subject,
preferably like this:
“[css-ui] <em>…summary of comment…</em>”
</p>
<p>
This document was produced by the <a href="http://www.w3.org/Style/CSS/members">CSS Working Group</a>
(part of the <a href="http://www.w3.org/Style/">Style Activity</a>).
</p>
<p>
This document was produced by a group operating under
the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 W3C Patent Policy</a>.
W3C maintains a <a href="http://www.w3.org/2004/01/pp-impl/32061/status" rel="disclosure">public list of any patent disclosures</a>
made in connection with the deliverables of the group;
that page also includes instructions for disclosing a patent.
An individual who has actual knowledge of a patent which the individual believes contains <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential Claim(s)</a>
must disclose the information in accordance with <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section 6 of the W3C Patent Policy</a>.
</p>
<p>
This document is governed by the <a href="http://www.w3.org/2014/Process-20140801/" id="w3c_process_revision">1 August 2014 W3C Process Document</a>.
</p>
<p>
</p></div>
<div data-fill-with="at-risk">
<p>The following features are at-risk, and may be dropped during the CR period:
</p>
<ul>
<li><a class="property" data-link-type="propdesc" href="#propdef-box-sizing">box-sizing</a> property value: padding-box
<li><a class="property" data-link-type="propdesc" href="#propdef-caret-color">caret-color</a> property
<li><a class="property" data-link-type="propdesc" href="#propdef-text-overflow">text-overflow</a> property value: <a class="production css" data-link-type="type" href="http://dev.w3.org/csswg/css-values-3/#string-value"><string></a>
<li><a class="property" data-link-type="propdesc" href="#propdef-text-overflow">text-overflow</a> property 2-value syntax and definition
<li>constraints on <a class="property" data-link-type="propdesc" href="#propdef-outline-offset">outline-offset</a> property negative values
</ul></div>
<h2 class="no-num no-toc no-ref heading settled" id="contents"><span class="content">Table of Contents</span></h2>
<div data-fill-with="table-of-contents" role="navigation">
<ul class="toc" role="directory">
<li><a href="#intro"><span class="secno">1</span> <span class="content">Introduction</span></a>
<ul class="toc">
<li><a href="#purpose"><span class="secno">1.1</span> <span class="content">Purpose</span></a>
</ul>
<li><a href="#interaction"><span class="secno">2</span> <span class="content">Module Interactions</span></a>
<li><a href="#box-model"><span class="secno">3</span> <span class="content">Box Model addition</span></a>
<ul class="toc">
<li><a href="#box-sizing"><span class="secno">3.1</span> <span class="content"><span class="property">box-sizing</span> property</span></a>
</ul>
<li><a href="#outline-props"><span class="secno">4</span> <span class="content">Outline properties</span></a>
<ul class="toc">
<li><a href="#outline"><span class="secno">4.1</span> <span class="content"><span class="property">outline</span> property</span></a>
<li><a href="#outline-width"><span class="secno">4.2</span> <span class="content"><span class="property">outline-width</span> property</span></a>
<li><a href="#outline-style"><span class="secno">4.3</span> <span class="content"><span class="property">outline-style</span> property</span></a>
<li><a href="#outline-color"><span class="secno">4.4</span> <span class="content"><span class="property">outline-color</span> property</span></a>
<li><a href="#outline-offset"><span class="secno">4.5</span> <span class="content"><span class="property">outline-offset</span> property</span></a>
</ul>
<li><a href="#resizing-and-overflow"><span class="secno">5</span> <span class="content">Resizing & Overflow</span></a>
<ul class="toc">
<li><a href="#resize"><span class="secno">5.1</span> <span class="content"><span class="property">resize</span> property</span></a>
<li><a href="#text-overflow"><span class="secno">5.2</span> <span class="content">
Overflow Ellipsis: the <span class="property">text-overflow</span> property</span></a>
</ul>
<li><a href="#pointing-keyboard"><span class="secno">6</span> <span class="content">Pointing Devices and Keyboards</span></a>
<ul class="toc">
<li><a href="#pointer-interaction"><span class="secno">6.1</span> <span class="content">Pointer interaction</span></a>
<ul class="toc">
<li><a href="#cursor"><span class="secno">6.1.1</span> <span class="content"><span class="property">cursor</span> property</span></a>
<ul class="toc">
<li><a href="#canvas_cursor"><span class="secno">6.1.1.1</span> <span class="content">Cursor of the canvas</span></a>
</ul>
</ul>
<li><a href="#insertion-caret"><span class="secno">6.2</span> <span class="content">Insertion caret</span></a>
<ul class="toc">
<li><a href="#caret-color"><span class="secno">6.2.1</span> <span class="content">Coloring the insertion caret: caret-color</span></a>
</ul>
<li><a href="#keyboard"><span class="secno">6.3</span> <span class="content">Keyboard control</span></a>
<ul class="toc">
<li><a href="#nav-dir"><span class="secno">6.3.1</span> <span class="content">Directional focus navigation: the <span class="property">nav-up</span>, <span class="property">nav-right</span>, <span class="property">nav-down</span>, <span class="property">nav-left</span> properties</span></a>
<ul class="toc">
<li><a href="#example-positioned-buttons"><span class="secno">6.3.1.1</span> <span class="content">Example: positioned buttons</span></a>
<li><a href="#example-moving-focus-to-inside-a-frame"><span class="secno">6.3.1.2</span> <span class="content">Example: moving focus to inside a frame</span></a>
</ul>
<li><a href="#input-method-editor"><span class="secno">6.3.2</span> <span class="content">Obsolete: the ime-mode property</span></a>
</ul>
</ul>
<li><a href="#acknowledgments"><span class="secno"></span> <span class="content">Appendix A. Acknowledgments</span></a>
<li><a href="#changes"><span class="secno"></span> <span class="content">Appendix B. Changes</span></a>
<ul class="toc">
<li><a href="#changes-list"><span class="secno"></span> <span class="content">List of substantial changes</span></a>
</ul>
<li><a href="#security-privacy-considerations"><span class="secno"></span> <span class="content">Appendix C. Considerations for Security and Privacy</span></a>
<li><a href="#default-style-sheet"><span class="secno"></span> <span class="content">Appendix D. Default style sheet additions for HTML</span></a>
<li><a href="#test-suite"><span class="secno"></span> <span class="content">Appendix E: Test Suite</span></a>
<li><a href="#conformance"><span class="secno"></span> <span class="content">
Conformance</span></a>
<ul class="toc">
<li><a href="#conventions"><span class="secno"></span> <span class="content">
Document conventions</span></a>
<li><a href="#conformance-classes"><span class="secno"></span> <span class="content">
Conformance classes</span></a>
<li><a href="#partial"><span class="secno"></span> <span class="content">
Partial implementations</span></a>
<li><a href="#experimental"><span class="secno"></span> <span class="content">
Experimental implementations</span></a>
<li><a href="#testing"><span class="secno"></span> <span class="content">
Non-experimental implementations</span></a>
</ul>
<li><a href="#index"><span class="secno"></span> <span class="content">Index</span></a>
<ul class="toc">
<li><a href="#index-defined-here"><span class="secno"></span> <span class="content">Terms defined by this specification</span></a>
<li><a href="#index-defined-elsewhere"><span class="secno"></span> <span class="content">Terms defined by reference</span></a>
</ul>
<li><a href="#references"><span class="secno"></span> <span class="content">References</span></a>
<ul class="toc">
<li><a href="#normative"><span class="secno"></span> <span class="content">Normative References</span></a>
<li><a href="#informative"><span class="secno"></span> <span class="content">Informative References</span></a>
</ul>
<li><a href="#property-index"><span class="secno"></span> <span class="content">Property Index</span></a>
</ul></div>
<main>
<p></p>
<h2 class="heading settled" data-level="1" id="intro"><span class="secno">1. </span><span class="content">Introduction</span><a class="self-link" href="#intro"></a></h2>
<p>This module describes CSS properties which enable authors
to style user interface related properties and values.</p>
<p><a href="http://www.w3.org/TR/REC-CSS1#anchor-pseudo-classes">Section 2.1 of CSS1</a> <a data-link-type="biblio" href="#biblio-css1">[CSS1]</a>
and <a href="http://www.w3.org/TR/CSS2/ui.html">Chapter 18 of CSS2</a> <a data-link-type="biblio" href="#biblio-css2">[CSS2]</a>
introduced several user interface related properties and values.
<a href="http://www.w3.org/TR/2000/WD-css3-userint-20000216">User Interface for CSS3 (16 February 2000)</a> introduced several new user interface related features.</p>
<p>This Working Draft incorporates, extends, and supersedes them.</p>
<h3 class="heading settled" data-level="1.1" id="purpose"><span class="secno">1.1. </span><span class="content">Purpose</span><a class="self-link" href="#purpose"></a></h3>
<p>The purpose of this specification is to achieve the following objectives:</p>
<ul>
<li>Extend the user interface features in CSS2.1.
<li>Provide additional CSS mechanisms to augment or replace other
dynamic presentation related features in HTML.
<li>Introduce directional navigation properties to assist in the construction of
user interfaces which make use of a directional navigation model.
</ul>
<h2 class="heading settled" data-level="2" id="interaction"><span class="secno">2. </span><span class="content">Module Interactions</span><a class="self-link" href="#interaction"></a></h2>
<p>This document defines new features not present in earlier specifications.
In addition, it replaces and supersedes the following:</p>
<ul>
<li><a href="http://www.w3.org/TR/CSS21/ui.html#cursor-props">Section 18.1</a>,
<a href="http://www.w3.org/TR/CSS21/ui.html#dynamic-outlines">section 18.4</a>,
and Information on the stacking of outlines defined in
<a href="http://www.w3.org/TR/CSS21/zindex.html">Appendix E</a>
of Cascading Style Sheets, level 2, revision 1 <a data-link-type="biblio" href="#biblio-css21">[CSS21]</a>
<li><a href="http://www.w3.org/TR/2000/WD-css3-userint-20000216">User Interface for CSS3 (16 February 2000)</a> <a data-link-type="biblio" href="#biblio-cssui">[CSSUI]</a>
</ul>
<h2 class="heading settled" data-level="3" id="box-model"><span class="secno">3. </span><span class="content">Box Model addition</span><a class="self-link" href="#box-model"></a></h2>
<h3 class="heading settled" data-level="3.1" id="box-sizing"><span class="secno">3.1. </span><span class="content"><a class="property" data-link-type="propdesc" href="#propdef-box-sizing">box-sizing</a> property</span><a class="self-link" href="#box-sizing"></a></h3>
<table class="propdef">
<tbody>
<tr>
<th>Name:
<td><dfn class="css" data-dfn-type="property" data-export="" id="propdef-box-sizing">box-sizing<a class="self-link" href="#propdef-box-sizing"></a></dfn>
<tr>
<th>Value:
<td>
content-box |
padding-box |
border-box
<tr>
<th>Initial:
<td>content-box
<tr>
<th>Applies to:
<td>all elements that accept width or height
<tr>
<th>Inherited:
<td>no
<tr>
<th>Percentages:
<td>N/A
<tr>
<th>Media:
<td>visual
<tr>
<th>Computed value:
<td>specified value
<tr>
<th>Animatable:
<td>no
</table>
<dl>
<dt><dfn class="css" data-dfn-for="box-sizing" data-dfn-type="value" data-export="" id="valdef-box-sizing-content-box">content-box<a class="self-link" href="#valdef-box-sizing-content-box"></a></dfn>
<dd>This is the behavior of width and height as specified by CSS2.1.
The specified width and height (and respective min/max properties)
apply to the width and height respectively of the content box of the element.
The padding and border of the element are laid out
and drawn outside the specified width and height.
<dt><dfn class="css" data-dfn-for="box-sizing" data-dfn-type="value" data-export="" id="valdef-box-sizing-padding-box">padding-box<a class="self-link" href="#valdef-box-sizing-padding-box"></a></dfn>
<dd>
Length and percentages values for width and height (and respective min/max properties)
on this element determine the padding box of the element.
That is, any padding specified on the element is laid out
and drawn inside this specified width and height.
The content width and height are calculated by
subtracting the padding widths of the respective sides
from the specified <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-width">width</a> and
<a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-height">height</a> properties.
As the content width and height
<a href="http://www.w3.org/TR/CSS21/visudet.html#the-width-property">
cannot be negative</a> (<a data-link-type="biblio" href="#biblio-css21">[CSS21]</a>, section 10.2),
this computation is floored at 0.
Used values, as exposed for instance through <code class="idl"><a data-link-type="idl" href="http://dev.w3.org/csswg/cssom-1/#dom-window-getcomputedstyleelt-pseudoelt">getComputedStyle()</a></code>, also refer to the padding box.
<dt><dfn class="css" data-dfn-for="box-sizing" data-dfn-type="value" data-export="" id="valdef-box-sizing-border-box">border-box<a class="self-link" href="#valdef-box-sizing-border-box"></a></dfn>
<dd>Length and percentages values for width and height (and respective min/max properties)
on this element determine the border box of the element.
That is, any padding or border specified on the element
is laid out and drawn inside this specified width and height.
The content width and height are calculated
by subtracting the border and padding widths of the respective sides
from the specified <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-width">width</a>
and <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-height">height</a> properties.
As the content width and height
<a href="http://www.w3.org/TR/CSS21/visudet.html#the-width-property">cannot be negative</a> (<a data-link-type="biblio" href="#biblio-css21">[CSS21]</a>, section 10.2),
this computation is floored at 0.
Used values, as exposed for instance through <code class="idl"><a data-link-type="idl" href="http://dev.w3.org/csswg/cssom-1/#dom-window-getcomputedstyleelt-pseudoelt">getComputedStyle()</a></code>, also refer to the border box.
<p class="note" role="note">Note: This is the behavior of width and height as commonly implemented
by legacy HTML user agents for replaced elements and input elements.</p>
</dl>
<p class="note" role="note">Note: In contrast to the length and percentage values,
the <span class="css">auto</span> value of the <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-width">width</a> and <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-height">height</a> properties
(as well as other keyword values introduced by later specifications,
unless otherwise specified)
is not influenced by the <a class="property" data-link-type="propdesc" href="#propdef-box-sizing">box-sizing</a> property,
and always sets the size of the content box.</p>
<p>The following terms, whose definitions vary based on the computed value of <a class="property" data-link-type="propdesc" href="#propdef-box-sizing">box-sizing</a> are introduced:</p>
<table border="1">
<tbody>
<tr>
<th>
<th><a class="css" data-link-type="propdesc" href="#propdef-box-sizing">box-sizing: content-box</a>
<th><a class="css" data-link-type="propdesc" href="#propdef-box-sizing">box-sizing: padding-box</a>
<th><a class="css" data-link-type="propdesc" href="#propdef-box-sizing">box-sizing: border-box</a>
<tr>
<td><dfn data-dfn-type="dfn" data-noexport="" id="min-inner-width">min inner width<a class="self-link" href="#min-inner-width"></a></dfn>
<td><a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-min-width">min-width</a>
<td>max(0, <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-min-width">min-width</a> − <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/box.html#propdef-padding-left">padding-left</a> − <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/box.html#propdef-padding-right">padding-right</a>)
<td>max(0, <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-min-width">min-width</a> − <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/box.html#propdef-padding-left">padding-left</a> − <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/box.html#propdef-padding-right">padding-right</a> − <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css-backgrounds-3/#border-left-width">border-left-width</a> − <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css-backgrounds-3/#border-right-width">border-right-width</a>)
<tr>
<td><dfn data-dfn-type="dfn" data-noexport="" id="max-inner-width">max inner width<a class="self-link" href="#max-inner-width"></a></dfn>
<td><a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-max-width">max-width</a>
<td>max(0, <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-max-width">max-width</a> − <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/box.html#propdef-padding-left">padding-left</a> − <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/box.html#propdef-padding-right">padding-right</a>)
<td>max(0, <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-max-width">max-width</a> − <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/box.html#propdef-padding-left">padding-left</a> − <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/box.html#propdef-padding-right">padding-right</a> − <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css-backgrounds-3/#border-left-width">border-left-width</a> − <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css-backgrounds-3/#border-right-width">border-right-width</a>)
<tr>
<td><dfn data-dfn-type="dfn" data-noexport="" id="min-inner-height">min inner height<a class="self-link" href="#min-inner-height"></a></dfn>
<td><a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-min-height">min-height</a>
<td>max(0, <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-min-height">min-height</a> − <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/box.html#propdef-padding-top">padding-top</a> − <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/box.html#propdef-padding-bottom">padding-bottom</a>)
<td>max(0, <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-min-height">min-height</a> − <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/box.html#propdef-padding-top">padding-top</a> − <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/box.html#propdef-padding-bottom">padding-bottom</a> − <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css-backgrounds-3/#border-top-width">border-top-width</a> − <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css-backgrounds-3/#border-bottom-width">border-bottom-width</a>)
<tr>
<td><dfn data-dfn-type="dfn" data-noexport="" id="max-inner-height">max inner height<a class="self-link" href="#max-inner-height"></a></dfn>
<td><a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-max-height">max-height</a>
<td>max(0, <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-max-height">max-height</a> − <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/box.html#propdef-padding-top">padding-top</a> − <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/box.html#propdef-padding-bottom">padding-bottom</a>)
<td>max(0, <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-max-height">max-height</a> − <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/box.html#propdef-padding-top">padding-top</a> − <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/box.html#propdef-padding-bottom">padding-bottom</a> − <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css-backgrounds-3/#border-top-width">border-top-width</a> − <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css-backgrounds-3/#border-bottom-width">border-bottom-width</a>)
</table>
<p>The <a href="http://www.w3.org/TR/CSS21/visudet.html">Visual formatting model details</a> of <a data-link-type="biblio" href="#biblio-css21">[CSS21]</a> are written assuming <a class="css" data-link-type="propdesc" href="#propdef-box-sizing">box-sizing: content-box</a>. The following disambiguations are made to clarify the behavior for all values of <a class="property" data-link-type="propdesc" href="#propdef-box-sizing">box-sizing</a>:</p>
<ol>
<li>In <a href="http://www.w3.org/TR/CSS21/visudet.html#blockwidth">10.3.3</a>, the second <q>width</q> in the following phrase is to be interpreted as <a data-link-type="dfn" href="http://dev.w3.org/csswg/css2/box.html#content-width">content width</a>: <q>If <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-width">width</a> is not <span class="css">auto</span> and <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css-backgrounds-3/#border-left-width">border-left-width</a> + <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/box.html#propdef-padding-left">padding-left</a> + <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-width">width</a> + [...]</q>
<li>In <a href="http://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-width">10.3.7</a>, <q>width</q> is to be interpreted as <a data-link-type="dfn" href="http://dev.w3.org/csswg/css2/box.html#content-width">content width</a> in the following equation: <q><a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css-position-3/#propdef-left">left</a> + <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/box.html#propdef-margin-left">margin-left</a> + <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css-backgrounds-3/#border-left-width">border-left-width</a> + <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/box.html#propdef-padding-left">padding-left</a> + <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-width">width</a> + [...]</q>
<li>In <a href="http://www.w3.org/TR/CSS21/visudet.html#min-max-widths">10.4</a>, <q>width</q>, <q>height</q>, <q>min-width</q>, <q>max-width</q>, <q>min-height</q> and <q>max-height</q> are respectively to be interpreted as <a data-link-type="dfn" href="http://dev.w3.org/csswg/css2/box.html#content-width">content width</a>, <a data-link-type="dfn" href="http://dev.w3.org/csswg/css2/box.html#content-height">content height</a>, <a data-link-type="dfn" href="#min-inner-width">min inner width</a>, <a data-link-type="dfn" href="#max-inner-width">max inner width</a>, <a data-link-type="dfn" href="#min-inner-height">min inner height</a> and <a data-link-type="dfn" href="#max-inner-height">max inner height</a> in the following phrases:
<ol>
<li><q>The tentative used width is calculated [...]</q>
<li><q>If the tentative used width is greater than <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-max-width">max-width</a>, the rules above are applied again, but this time using the computed value of <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-max-width">max-width</a> as the computed value for <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-width">width</a>.</q>
<li><q>If the resulting width is smaller than <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-min-width">min-width</a>, the rules above are applied again, but this time using the value of <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-min-width">min-width</a> as the computed value for <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-width">width</a>.</q>
<li><q>Select from the table the resolved height and width values for the appropriate constraint violation. Take the max-width and max-height as max(min, max) so that min ≤ max holds true. In this table w and h stand for the results of the width and height computations [...]</q>
<li>All instances of these words in the table
<li><q>Then apply the rules under "Calculating widths and margins" above, as if <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-width">width</a> were computed as this value.</q>
</ol>
<li>In <a href="http://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-height">10.6.4</a>, <q>height</q> is to be interpreted as <a data-link-type="dfn" href="http://dev.w3.org/csswg/css2/box.html#content-height">content height</a> in the following equation: <q><a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css-position-3/#propdef-top">top</a> + <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/box.html#propdef-margin-top">margin-top</a> + <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css-backgrounds-3/#border-top-width">border-top-width</a> + <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/box.html#propdef-padding-top">padding-top</a> + <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-height">height</a> + [...]</q>
<li>In <a href="http://www.w3.org/TR/CSS21/visudet.html#min-max-heights">10.7</a>, <q>width</q>, <q>height</q>, <q>min-height</q> and <q>max-height</q> are respectively to be interpreted as <a data-link-type="dfn" href="http://dev.w3.org/csswg/css2/box.html#content-width">content width</a>, <a data-link-type="dfn" href="http://dev.w3.org/csswg/css2/box.html#content-height">content height</a>, <a data-link-type="dfn" href="#min-inner-height">min inner height</a> and <a data-link-type="dfn" href="#max-inner-height">max inner height</a> in the following phrases:
<ol>
<li><q>The tentative used height is calculated [...]</q>
<li><q>If this tentative height is greater than <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-max-height">max-height</a>, the rules above are applied again, but this time using the value of <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-max-height">max-height</a> as the computed value for <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-height">height</a>.</q>
<li><q>If the resulting height is smaller than <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-min-height">min-height</a>, the rules above are applied again, but this time using the value of <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-min-height">min-height</a> as the computed value for <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-height">height</a>.</q>
<li><q>[...] use the algorithm under Minimum and maximum widths above to find the used width and height. Then apply the rules under "Computing heights and margins" above, using the resulting width and height as if they were the computed values.</q>
</ol>
</ol>
<div class="example" id="example-ede4dfdf"><a class="self-link" href="#example-ede4dfdf"></a>
<p style="display:none">Example(s):
</p>
<h4 class="no-num no-toc heading settled" id="box-sizing-example"><span class="content">Using box-sizing to evenly share space</span><a class="self-link" href="#box-sizing-example"></a></h4>
<p>This example uses box-sizing to evenly horizontally split
two divs with fixed size borders inside a div container,
which would otherwise require additional markup.</p>
<p>sample CSS:</p>
<pre><code class="lang-css">div.container {
width:38em;
border:1em solid black;
}
div.split {
box-sizing:border-box;
width:50%;
border:1em silver ridge;
float:left;
}
</code></pre>
<p>sample HTML fragment:</p>
<pre><code class="lang-markup"><div class="container">
<div class="split">This div occupies the left half.</div>
<div class="split">This div occupies the right half.</div>
</div>
</code></pre>
<p>demonstration of sample CSS and HTML:</p>
<div style="width:38em; border:1em solid black">
<div style="box-sizing:border-box; width:50%; border:1em silver ridge; float:left">This div should occupy the left half.</div>
<div style="box-sizing:border-box; width:50%; border:1em silver ridge; float:left">This div should occupy the right half.</div>The two divs above should appear side by side, each (including borders) 50% of the content width of their container. If instead they are stacked one on top of the other then your browser does not support <a class="property" data-link-type="propdesc" href="#propdef-box-sizing">box-sizing</a>.
</div>
</div>
<p class="note" role="note">Note: The <a class="css" data-link-type="maybe" href="#valdef-box-sizing-padding-box">padding-box</a> value is at risk.</p>
<h2 class="heading settled" data-level="4" id="outline-props"><span class="secno">4. </span><span class="content">Outline properties</span><a class="self-link" href="#outline-props"></a></h2>
<p>At times, style sheet authors may want to create outlines around
visual objects such as buttons, active form fields, image maps, etc.,
to make them stand out. Outlines differ from borders in the following
ways:</p>
<ol>
<li>Outlines do not take up space.
<li>Outlines may be non-rectangular.
<li>UAs often render outlines on elements in the :focus state.
</ol>
<p>The outline properties control the style of these dynamic outlines.</p>
<p>The stacking of the rendering of these outlines is explicitly left up to implementations to provide a better user experience per platform. This supersedes the stacking of outlines as defined in CSS 2.1.</p>
<p>Keyboard users depend on outline on elements in the :focus state for interaction with the page, thus authors must not make the outline invisible on such elements without making sure an alternative highlighting mechanism is provided.</p>
<p>The rendering of applying transforms to outlines is left explicitly undefined in CSS3-UI.</p>
<h3 class="heading settled" data-level="4.1" id="outline"><span class="secno">4.1. </span><span class="content"><a class="property" data-link-type="propdesc" href="#propdef-outline">outline</a> property</span><a class="self-link" href="#outline"></a></h3>
<table class="propdef">
<tbody>
<tr>
<th>Name:
<td><dfn class="css" data-dfn-type="property" data-export="" id="propdef-outline">outline<a class="self-link" href="#propdef-outline"></a></dfn>
<tr>
<th>Value:
<td>
[ <<a class="property" data-link-type="propdesc" href="#propdef-outline-color">outline-color</a>> || <<a class="property" data-link-type="propdesc" href="#propdef-outline-style">outline-style</a>> ||
<<a class="property" data-link-type="propdesc" href="#propdef-outline-width">outline-width</a>> ]
<tr>
<th>Initial:
<td>see individual properties
<tr>
<th>Applies to:
<td>all elements
<tr>
<th>Inherited:
<td>no
<tr>
<th>Percentages:
<td>N/A
<tr>
<th>Media:
<td>visual
<tr>
<th>Computed value:
<td>see individual properties
<tr>
<th>Animatable:
<td>see individual properties
</table>
<h3 class="heading settled" data-level="4.2" id="outline-width"><span class="secno">4.2. </span><span class="content"><a class="property" data-link-type="propdesc" href="#propdef-outline-width">outline-width</a> property</span><a class="self-link" href="#outline-width"></a></h3>
<table class="propdef">
<tbody>
<tr>
<th>Name:
<td><dfn class="css" data-dfn-type="property" data-export="" id="propdef-outline-width">outline-width<a class="self-link" href="#propdef-outline-width"></a></dfn>
<tr>
<th>Value:
<td><a class="production" data-link-type="propdesc" href="http://dev.w3.org/csswg/css-backgrounds-3/#border-width"><‘border-width’></a>
<tr>
<th>Initial:
<td>medium
<tr>
<th>Applies to:
<td>all elements
<tr>
<th>Inherited:
<td>no
<tr>
<th>Percentages:
<td>N/A
<tr>
<th>Media:
<td>visual
<tr>
<th>Computed value:
<td>absolute length; <span class="css">0</span> if the outline style is <span class="css">none</span>.
<tr>
<th>Animatable:
<td>as <a href="http://dev.w3.org/csswg/css3-transitions/#animtype-length">length</a>
</table>
<h3 class="heading settled" data-level="4.3" id="outline-style"><span class="secno">4.3. </span><span class="content"><a class="property" data-link-type="propdesc" href="#propdef-outline-style">outline-style</a> property</span><a class="self-link" href="#outline-style"></a></h3>
<table class="propdef">
<tbody>
<tr>
<th>Name:
<td><dfn class="css" data-dfn-type="property" data-export="" id="propdef-outline-style">outline-style<a class="self-link" href="#propdef-outline-style"></a></dfn>
<tr>
<th>Value:
<td>auto | <a class="production" data-link-type="propdesc" href="http://dev.w3.org/csswg/css-backgrounds-3/#border-style"><‘border-style’></a>
<tr>
<th>Initial:
<td>none
<tr>
<th>Applies to:
<td>all elements
<tr>
<th>Inherited:
<td>no
<tr>
<th>Percentages:
<td>N/A
<tr>
<th>Media:
<td>visual
<tr>
<th>Computed value:
<td>specified value
<tr>
<th>Animatable:
<td>no
</table>
<h3 class="heading settled" data-level="4.4" id="outline-color"><span class="secno">4.4. </span><span class="content"><a class="property" data-link-type="propdesc" href="#propdef-outline-color">outline-color</a> property</span><a class="self-link" href="#outline-color"></a></h3>
<table class="propdef">
<tbody>
<tr>
<th>Name:
<td><dfn class="css" data-dfn-type="property" data-export="" id="propdef-outline-color">outline-color<a class="self-link" href="#propdef-outline-color"></a></dfn>
<tr>
<th>Value:
<td><a class="production css" data-link-type="type" href="http://dev.w3.org/csswg/css-color-3/#valuea-def-color" title="Expands to: steelblue
| skyblue
| salmon
| green
| lightblue
| powderblue
| darkgoldenrod
| grey
| aquamarine
| mintcream
| slategrey
| midnightblue
| paleturquoise
| lightgray
| mediumturquoise
| orchid
| peru
| pink
| slateblue
| dodgerblue
| blueviolet
| cadetblue
| lawngreen
| transparent
| chartreuse
| brown
| yellow
| limegreen
| gray
| black
| blue
| tomato
| silver
| oldlace
| navajowhite
| saddlebrown
| mediumvioletred
| chocolate
| springgreen
| teal
| currentcolor
| ghostwhite
| mediumorchid
| mediumspringgreen
| turquoise
| darkseagreen
| antiquewhite
| blanchedalmond
| darkmagenta
| peachpuff
| firebrick
| lightseagreen
| dimgrey
| cornflowerblue
| navy
| snow
| cornsilk
| lightgrey
| rebeccapurple
| darksalmon
| darkviolet
| lavender
| darkgrey
| olive
| lime
| whitesmoke
| papayawhip
| lightgoldenrodyellow
| darkslategrey
| sandybrown
| darkslateblue