Skip to content

Commit 16ff941

Browse files
committed
[css-cascade] Fix references and cross-links.
1 parent 460d1da commit 16ff941

File tree

3 files changed

+64
-27
lines changed

3 files changed

+64
-27
lines changed

css-cascade-3/Overview.bs

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,22 @@ Issue Tracking: Disposition of Comments https://drafts.csswg.org/css-cascade/iss
1919
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.
2020
Ignored Terms: auto, flex items
2121
Include Can I Use Panels: yes
22+
Informative Classes: ex
2223
</pre>
2324

2425
<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
2629
spec:mediaqueries-4; type:type; text:<media-query>
2730
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
2838
</pre>
2939

3040
<h2 id="intro">
@@ -241,9 +251,9 @@ Shorthand Properties</h2>
241251
Like other <a>sub-properties</a>, it is reset to its initial value by the shorthand when unspecified,
242252
but the shorthand might not include syntax to set the <a>sub-property</a>
243253
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'
245255
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>
247257

248258
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]],
249259
it sets all of its <a>sub-properties</a> to that keyword,
@@ -471,10 +481,10 @@ Actual Values</h3>
471481

472482
A <a>used value</a> is in principle ready to be used,
473483
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
475485
and may therefore have to approximate the <a lt="used value">used</a> width.
476486
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>
478488
The <dfn export>actual value</dfn> is the used value after any such adjustments have been made.
479489

480490
Note: By probing the actual values of elements,
@@ -489,7 +499,8 @@ Actual Values</h3>
489499
<h3 id="stages-examples">
490500
Examples</h3>
491501

492-
<table class="data">
502+
<table class="data non-normative">
503+
<caption>Examples of CSS Value Computation</caption>
493504
<thead>
494505
<tr>
495506
<th>
@@ -800,7 +811,7 @@ Important Declarations: the ''!important'' annotation</h3>
800811
(Animated values normally override all other rules.)
801812
[[css-animations-1]]
802813

803-
[=User agent style sheets=] may also contain [=important=] declarations.
814+
[=User-agent style sheets=] may also contain [=important=] declarations.
804815
These override all [=author origin|author=] and [=user origin|user=] declarations.
805816

806817
<div class='example'>
@@ -972,7 +983,7 @@ Changes Since the 19 May 2016 Candidate Recommendation</h3>
972983
The following changes were made to this specification since the
973984
<a href="https://www.w3.org/TR/2018/CR-css-cascade-3-20180828/">28 August 2018 Candidate Recommendation</a>:
974985

975-
<ul>
986+
<ul class=non-normative>
976987
<li>
977988
Clarify that ''@import'' ordering requirements are only in consideratin of valid rules.
978989
<li>
@@ -982,7 +993,7 @@ Changes Since the 19 May 2016 Candidate Recommendation</h3>
982993
The following non-trivial changes were made to this specification since the
983994
<a href="https://www.w3.org/TR/2016/CR-css-cascade-3-20160519/">19 May 2016 Candidate Recommendation</a>:
984995

985-
<ul>
996+
<ul class=non-normative>
986997
<li id="change-2016-custom-all">
987998
Clarified that <a>custom properties</a> are not reset by the 'all' shorthand.
988999
(<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>
10331044
The following changes were made to this specification since the
10341045
<a href="https://www.w3.org/TR/2013/CR-css-cascade-3-20131003/">3 October 2013 Candidate Recommendation</a>:
10351046

1036-
<ul>
1047+
<ul class="non-normative">
10371048
<li>Defined <a>environment encoding</a> of imported style sheets.
10381049
<blockquote>
10391050
<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>

css-cascade-4/Overview.bs

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,22 @@ Abstract:
2222
Abstract: New in this level are the ''revert'' keyword and <<supports-condition>> for the ''@import'' rule.
2323
Ignored Terms: auto, flex items, <supports-condition>
2424
Include Can I Use Panels: yes
25+
Informative Classes: ex
2526
</pre>
2627

2728
<pre class=link-defaults>
28-
spec:css-values; type:value; text:ex
29+
spec:css-values-3; type: value; text:ex
30+
spec:css-conditional-3; type:at-rule; text:@media
31+
spec:mediaqueries-4; type:type; for:@media; text:all
32+
spec:mediaqueries-4; type:type; text:<media-query>
33+
spec:css2; type:property; text:display
34+
spec:css2; type:value; text:red
35+
</pre>
36+
37+
<pre class=ignored-specs>
38+
spec:mediaqueries-5
39+
spec:css-values-4
40+
spec:css-fonts-4
2941
</pre>
3042

3143
<h2 id="intro">
@@ -295,9 +307,9 @@ Shorthand Properties</h2>
295307
Like other <a>sub-properties</a>, it is reset to its initial value by the shorthand when unspecified,
296308
but the shorthand might not include syntax to set the <a>sub-property</a>
297309
to any of its other values.
298-
For example, the 'border' shorthand resets 'border-image'
310+
<span class=ex>For example, the 'border' shorthand resets 'border-image'
299311
to its initial value of ''border-image/none'',
300-
but has no syntax to set it to anything else. [[css-backgrounds-3]]
312+
but has no syntax to set it to anything else. [[css-backgrounds-3]]</span>
301313

302314
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]],
303315
it sets all of its <a>sub-properties</a> to that keyword,
@@ -581,10 +593,10 @@ Actual Values</h3>
581593

582594
A <a>used value</a> is in principle ready to be used,
583595
but a user agent may not be able to make use of the value in a given environment.
584-
For example, a user agent may only be able to render borders with integer pixel widths
596+
<span class=ex>For example, a user agent may only be able to render borders with integer pixel widths
585597
and may therefore have to approximate the <a lt="used value">used</a> width.
586598
Also, the font size of an element may need adjustment based on the availability of fonts
587-
or the value of the 'font-size-adjust' property.
599+
or the value of the 'font-size-adjust' property.</span>
588600
The <dfn export>actual value</dfn> is the used value after any such adjustments have been made.
589601

590602
Note: By probing the actual values of elements,
@@ -599,7 +611,8 @@ Actual Values</h3>
599611
<h3 id="stages-examples">
600612
Examples</h3>
601613

602-
<table class="data">
614+
<table class="data non-normative">
615+
<caption>Examples of CSS Value Computation</caption>
603616
<thead>
604617
<tr>
605618
<th>
@@ -959,7 +972,7 @@ Important Declarations: the ''!important'' annotation</h3>
959972
(Animated values normally override all other rules.)
960973
[[css-animations-1]]
961974

962-
[=User agent style sheets=] may also contain [=important=] declarations.
975+
[=User-agent style sheets=] may also contain [=important=] declarations.
963976
These override all [=author origin|author=] and [=user origin|user=] declarations.
964977

965978
<div class='example'>
@@ -1161,7 +1174,7 @@ Changes Since the 28 August 2018 Candidate Recommendation</h3>
11611174

11621175
Non-trivial changes since the <a href="https://www.w3.org/TR/2018/CR-css-cascade-4-20180828/">28 August 2018 Working Draft</a> include:
11631176

1164-
<ul>
1177+
<ul class=non-normative>
11651178
<li id="change-2018-context">
11661179
Added <a href="#cascade-context">context</a> to the [=cascade=] sort criteria
11671180
to accommodate Shadow DOM. [[DOM]]
@@ -1179,7 +1192,7 @@ Changes Since the 14 January 2016 Candidate Recommendation</h3>
11791192

11801193
Non-trivial changes since the <a href="https://www.w3.org/TR/2016/CR-css-cascade-4-20160114/">14 January 2016 Working Draft</a> include:
11811194

1182-
<ul>
1195+
<ul class=non-normative>
11831196
<li id="change-2016-alias">
11841197
Precisely defined the types of aliasing that CSS uses.
11851198
(<a href="https://github.com/w3c/csswg-drafts/issues/866">Issue 866</a>)
@@ -1259,7 +1272,7 @@ Changes Since the 21 April 2015 Working Draft</h3>
12591272

12601273
Changes since the <a href="https://www.w3.org/TR/2015/WD-css-cascade-4-20150421/">21 April 2015 Working Draft</a> include:
12611274

1262-
<ul>
1275+
<ul class=non-normative>
12631276
<li>Renamed <css>default</css> keyword to ''revert''.
12641277
<li>Allowed dropping duplicate parentheses in ''supports()'' syntax when it only contains one declaration.
12651278
</ul>

css-cascade-5/Overview.bs

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,22 @@ Abstract:
1515
Abstract: New in this level is <a>cascade layers</a>.
1616
Ignored Terms: auto, flex items, <supports-condition>
1717
Include Can I Use Panels: yes
18+
Informative Classes: ex
1819
</pre>
1920

2021
<pre class=link-defaults>
21-
spec:css-values; type:value; text:ex
22+
spec:css-values-3; type: value; text:ex
23+
spec:css-conditional-3; type:at-rule; text:@media
24+
spec:mediaqueries-4; type:type; for:@media; text:all
25+
spec:mediaqueries-4; type:type; text:<media-query>
26+
spec:css2; type:property; text:display
27+
spec:css2; type:value; text:red
28+
</pre>
29+
30+
<pre class=ignored-specs>
31+
spec:mediaqueries-5
32+
spec:css-values-4
33+
spec:css-fonts-4
2234
</pre>
2335

2436
<h2 id="intro">
@@ -288,9 +300,9 @@ Shorthand Properties</h2>
288300
Like other <a>sub-properties</a>, it is reset to its initial value by the shorthand when unspecified,
289301
but the shorthand might not include syntax to set the <a>sub-property</a>
290302
to any of its other values.
291-
For example, the 'border' shorthand resets 'border-image'
303+
<span class=ex>For example, the 'border' shorthand resets 'border-image'
292304
to its initial value of ''border-image/none'',
293-
but has no syntax to set it to anything else. [[css-backgrounds-3]]
305+
but has no syntax to set it to anything else. [[css-backgrounds-3]]</span>
294306

295307
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]],
296308
it sets all of its <a>sub-properties</a> to that keyword,
@@ -574,10 +586,10 @@ Actual Values</h3>
574586

575587
A <a>used value</a> is in principle ready to be used,
576588
but a user agent may not be able to make use of the value in a given environment.
577-
For example, a user agent may only be able to render borders with integer pixel widths
589+
<span class=ex>For example, a user agent may only be able to render borders with integer pixel widths
578590
and may therefore have to approximate the <a lt="used value">used</a> width.
579591
Also, the font size of an element may need adjustment based on the availability of fonts
580-
or the value of the 'font-size-adjust' property.
592+
or the value of the 'font-size-adjust' property.</span>
581593
The <dfn export>actual value</dfn> is the used value after any such adjustments have been made.
582594

583595
Note: By probing the actual values of elements,
@@ -592,7 +604,8 @@ Actual Values</h3>
592604
<h3 id="stages-examples">
593605
Examples</h3>
594606

595-
<table class="data">
607+
<table class="data non-normative">
608+
<caption>Examples of CSS Value Computation</caption>
596609
<thead>
597610
<tr>
598611
<th>
@@ -951,7 +964,7 @@ Important Declarations: the ''!important'' annotation</h3>
951964
(Animated values normally override all other rules.)
952965
[[css-animations-1]]
953966

954-
[=User agent style sheets=] may also contain [=important=] declarations.
967+
[=User-agent style sheets=] may also contain [=important=] declarations.
955968
These override all [=author origin|author=] and [=user origin|user=] declarations.
956969

957970
<div class='example'>

0 commit comments

Comments
 (0)