@@ -19,12 +19,22 @@ Issue Tracking: Disposition of Comments https://drafts.csswg.org/css-cascade/iss
19
19
Abstract : This CSS module describes how to collate style rules and assign values to all properties on all elements. By way of cascading and inheritance, values are propagated for all properties on all elements.
20
20
Ignored Terms : auto, flex items
21
21
Include Can I Use Panels : yes
22
+ Informative Classes : ex
22
23
</pre>
23
24
24
25
<pre class=link-defaults>
25
- spec:css-values; type:value; text:ex
26
+ spec:css-values-3; type: value; text:ex
27
+ spec:css-conditional-3; type:at-rule; text:@media
28
+ spec:mediaqueries-4; type:type; for:@media; text:all
26
29
spec:mediaqueries-4; type:type; text:<media-query>
27
30
spec:css2; type:property; text:display
31
+ spec:css2; type:value; text:red
32
+ </pre>
33
+
34
+ <pre class=ignored-specs>
35
+ spec:mediaqueries-5
36
+ spec:css-values-4
37
+ spec:css-fonts-4
28
38
</pre>
29
39
30
40
<h2 id="intro">
@@ -241,9 +251,9 @@ Shorthand Properties</h2>
241
251
Like other <a>sub-properties</a> , it is reset to its initial value by the shorthand when unspecified,
242
252
but the shorthand might not include syntax to set the <a>sub-property</a>
243
253
to any of its other values.
244
- For example, the 'border' shorthand resets 'border-image'
254
+ <span class=ex> For example, the 'border' shorthand resets 'border-image'
245
255
to its initial value of ''border-image/none'' ,
246
- but has no syntax to set it to anything else. [[css-backgrounds-3]]
256
+ but has no syntax to set it to anything else. [[css-backgrounds-3]] </span>
247
257
248
258
If a <a>shorthand</a> is specified as one of the <a href="https://www.w3.org/TR/css3-values/#common-keywords">CSS-wide keywords</a> [[!css-values-3]] ,
249
259
it sets all of its <a>sub-properties</a> to that keyword,
@@ -471,10 +481,10 @@ Actual Values</h3>
471
481
472
482
A <a>used value</a> is in principle ready to be used,
473
483
but a user agent may not be able to make use of the value in a given environment.
474
- For example, a user agent may only be able to render borders with integer pixel widths
484
+ <span class=ex> For example, a user agent may only be able to render borders with integer pixel widths
475
485
and may therefore have to approximate the <a lt="used value">used</a> width.
476
486
Also, the font size of an element may need adjustment based on the availability of fonts
477
- or the value of the 'font-size-adjust' property.
487
+ or the value of the 'font-size-adjust' property.</span>
478
488
The <dfn export>actual value</dfn> is the used value after any such adjustments have been made.
479
489
480
490
Note: By probing the actual values of elements,
@@ -489,7 +499,8 @@ Actual Values</h3>
489
499
<h3 id="stages-examples">
490
500
Examples</h3>
491
501
492
- <table class="data">
502
+ <table class="data non-normative">
503
+ <caption> Examples of CSS Value Computation</caption>
493
504
<thead>
494
505
<tr>
495
506
<th>
@@ -800,7 +811,7 @@ Important Declarations: the ''!important'' annotation</h3>
800
811
(Animated values normally override all other rules.)
801
812
[[css-animations-1]]
802
813
803
- [=User agent style sheets=] may also contain [=important=] declarations.
814
+ [=User- agent style sheets=] may also contain [=important=] declarations.
804
815
These override all [=author origin|author=] and [=user origin|user=] declarations.
805
816
806
817
<div class='example'>
@@ -972,7 +983,7 @@ Changes Since the 19 May 2016 Candidate Recommendation</h3>
972
983
The following changes were made to this specification since the
973
984
<a href="https://www.w3.org/TR/2018/CR-css-cascade-3-20180828/">28 August 2018 Candidate Recommendation</a> :
974
985
975
- <ul>
986
+ <ul class=non-normative >
976
987
<li>
977
988
Clarify that ''@import'' ordering requirements are only in consideratin of valid rules.
978
989
<li>
@@ -982,7 +993,7 @@ Changes Since the 19 May 2016 Candidate Recommendation</h3>
982
993
The following non-trivial changes were made to this specification since the
983
994
<a href="https://www.w3.org/TR/2016/CR-css-cascade-3-20160519/">19 May 2016 Candidate Recommendation</a> :
984
995
985
- <ul>
996
+ <ul class=non-normative >
986
997
<li id="change-2016-custom-all">
987
998
Clarified that <a>custom properties</a> are not reset by the 'all' shorthand.
988
999
(<a href="https://github.com/w3c/csswg-drafts/issues/2518">2518</a> )
@@ -1033,7 +1044,7 @@ Changes Since the 3 October 2013 Candidate Recommendation</h3>
1033
1044
The following changes were made to this specification since the
1034
1045
<a href="https://www.w3.org/TR/2013/CR-css-cascade-3-20131003/">3 October 2013 Candidate Recommendation</a> :
1035
1046
1036
- <ul>
1047
+ <ul class="non-normative" >
1037
1048
<li> Defined <a>environment encoding</a> of imported style sheets.
1038
1049
<blockquote>
1039
1050
<ins><p> The <a>environment encoding</a> of an imported style sheet is the encoding of the style sheet that imported it. [[css-syntax-3]] </p></ins>
0 commit comments