Skip to content

Commit 6c63fef

Browse files
committed
[css-cascade] Update references to new shortname style.
1 parent 4723906 commit 6c63fef

File tree

2 files changed

+38
-38
lines changed

2 files changed

+38
-38
lines changed

css-cascade-3/Overview.bs

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ Introduction</h2>
3737
and outputs a <a>specified value</a> for each property on each element.
3838

3939
The rules for finding the specified value for all properties on all elements in the document are described in this specification.
40-
The rules for finding the specified values in the page context and its margin boxes are described in [[CSS3PAGE]].
40+
The rules for finding the specified values in the page context and its margin boxes are described in [[css-page-3]].
4141

4242
<h3 id="placement">
4343
Module Interactions</h3>
4444

4545
<em>This section is normative.</em>
4646

4747
This module replaces and extends
48-
the rules for assigning property values, cascading, and inheritance defined in [[!CSS21]] chapter 6.
48+
the rules for assigning property values, cascading, and inheritance defined in [[!CSS2]] chapter 6.
4949

5050
Other CSS modules may expand the definitions of some of the syntax and features defined here.
5151
For example, the Media Queries Level 4 specification,
@@ -144,7 +144,7 @@ Importing Style Sheets: the ''@import'' rule</h2>
144144

145145
The <a>origin</a> of an imported style sheet is the <a>origin</a> of the style sheet that imported it.
146146

147-
The <a>environment encoding</a> of an imported style sheet is the encoding of the style sheet that imported it. [[CSS3SYN]]
147+
The <a>environment encoding</a> of an imported style sheet is the encoding of the style sheet that imported it. [[css-syntax-3]]
148148

149149
<h3 id='content-type'>
150150
Content-Type of CSS Style Sheets</h3>
@@ -230,9 +230,9 @@ Shorthand Properties</h2>
230230
to any of its other values.
231231
For example, the 'border' shorthand resets 'border-image'
232232
to its initial value of ''border-image/none'',
233-
but has no syntax to set it to anything else. [[CSS3BG]]
233+
but has no syntax to set it to anything else. [[css-backgrounds-3]]
234234

235-
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> [[!CSS3VAL]],
235+
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]],
236236
it sets all of its <a>sub-properties</a> to that keyword,
237237
including any that are <a>reset-only sub-properties</a>.
238238
(Note that these keywords cannot be combined with other values in a single declaration, not even in a shorthand.)
@@ -260,7 +260,7 @@ Resetting All Properties: the 'all' property</h3>
260260
and <a href="https://www.w3.org/TR/css3-writing-modes/#text-direction">should not be set in the author's style sheet</a>.
261261
(They exist as CSS properties only to style document languages not supported by the UA.)
262262
Authors should use the appropriate markup, such as HTML's <code>dir</code> attribute, instead.
263-
[[CSS3-WRITING-MODES]]
263+
[[css-writing-modes-3]]
264264

265265
<div class='example'>
266266
For example, if an author specifies ''all: initial'' on an element
@@ -423,11 +423,11 @@ Used Values</h3>
423423
<p class='example'>
424424
For example, a declaration of ''width: auto'' can't be resolved into a length without knowing the layout of the element's ancestors,
425425
so the <a>computed value</a> is ''auto'',
426-
while the <a>used value</a> is an absolute length, such as ''100px''. [[CSS21]]
426+
while the <a>used value</a> is an absolute length, such as ''100px''. [[CSS2]]
427427

428428
<p class='example'>
429429
As another example, a <code>&lt;div></code> might have a computed 'break-before' value of ''auto'',
430-
but acquire a used 'break-before' value of ''break-before/page'' by propagation from its first child. [[CSS3-BREAK]]
430+
but acquire a used 'break-before' value of ''break-before/page'' by propagation from its first child. [[css-break-3]]
431431

432432
<p class='example'>
433433
Lastly, if a property does not apply to an element,
@@ -644,11 +644,11 @@ Cascading</h2>
644644
The precedence of the various <a>origins</a> is, in descending order:
645645

646646
<ol>
647-
<li>Transition declarations [[!CSS3-TRANSITIONS]]
647+
<li>Transition declarations [[!css-transitions-1]]
648648
<li>Important user agent declarations
649649
<li>Important user declarations
650650
<li>Important author declarations
651-
<li>Animation declarations [[!CSS3-ANIMATIONS]]
651+
<li>Animation declarations [[!css-animations-1]]
652652
<li>Normal author declarations
653653
<li>Normal user declarations
654654
<li>Normal user agent declarations
@@ -725,11 +725,11 @@ Cascading Origins</h3>
725725
<dl>
726726
<dt><dfn export id='cascade-origin-animation'>Animation Origin</dfn>
727727
<dd>
728-
CSS Animations [[CSS3-ANIMATIONS]] generate “virtual” rules representing their effects when running.
728+
CSS Animations [[css-animations-1]] generate “virtual” rules representing their effects when running.
729729

730730
<dt><dfn export id='cascade-origin-transition'>Transition Origin</dfn>
731731
<dd>
732-
Like CSS Animations, CSS Transitions [[CSS3-TRANSITIONS]] generate “virtual” rules representing their effects when running.
732+
Like CSS Animations, CSS Transitions [[css-transitions-1]] generate “virtual” rules representing their effects when running.
733733
</dl>
734734

735735
<h3 id='importance'>
@@ -742,7 +742,7 @@ Important Declarations: the ''!important'' annotation</h3>
742742
which increases its weight in the cascade and inverts the order of precedence.
743743

744744
A declaration is <a>important</a> if it has a <dfn export id='bang-important'>!important</dfn> annotation,
745-
as defined by [[CSS3SYN]].
745+
as defined by [[css-syntax-3]].
746746
i.e. if the last two (non-whitespace, non-comment) tokens
747747
in its value are the delimiter token ''!'' followed by the identifier token ''important''.
748748

@@ -760,7 +760,7 @@ Important Declarations: the ''!important'' annotation</h3>
760760
Important declarations from all origins take precedence over animations.
761761
This allows authors to override animated values in important cases.
762762
(Animated values normally override all other rules.)
763-
[[CSS3-ANIMATIONS]]
763+
[[css-animations-1]]
764764

765765
User agent style sheets may also contain ''!important'' declarations.
766766
These override all author and user declarations.
@@ -875,15 +875,15 @@ Inheritance</h3>
875875

876876
A property can also be explicitly inherited. See the ''inherit'' keyword.
877877

878-
Note: Inheritance follows the document tree and is not intercepted by <a href="https://www.w3.org/TR/CSS21/visuren.html#box-gen">anonymous boxes</a>,
878+
Note: Inheritance follows the document tree and is not intercepted by <a href="https://www.w3.org/TR/CSS2/visuren.html#box-gen">anonymous boxes</a>,
879879
or otherwise affected by manipulations of the box tree.
880880

881881
<h3 id="defaulting-keywords">
882882
Explicit Defaulting</h3>
883883

884884
Several CSS-wide property values are defined below;
885885
declaring a property to have these values explicitly specifies a particular defaulting behavior.
886-
As specified in <a href="https://www.w3.org/TR/css3-values/#common-keywords">CSS Values and Units Level 3</a> [[!CSS3VAL]],
886+
As specified in <a href="https://www.w3.org/TR/css3-values/#common-keywords">CSS Values and Units Level 3</a> [[!css-values-3]],
887887
all CSS properties can accept these values.
888888

889889
<h4 id="initial">
@@ -981,12 +981,12 @@ Changes Since the 3 October 2013 Candidate Recommendation</h3>
981981
<ul>
982982
<li>Defined <a>environment encoding</a> of imported style sheets.
983983
<blockquote>
984-
<ins><p>The <a>environment encoding</a> of an imported style sheet is the encoding of the style sheet that imported it. [[CSS3SYN]]</p></ins>
984+
<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>
985985
</blockquote>
986-
<li>Referenced [[!CSS3SYN]] for syntax of ''!important'' rules.
986+
<li>Referenced [[!css-syntax-3]] for syntax of ''!important'' rules.
987987
<blockquote>
988988
<p>A declaration is <a>important</a> if it has a ''!important'' annotation,
989-
<ins>as defined by [[CSS3SYN]]</ins>.
989+
<ins>as defined by [[css-syntax-3]]</ins>.
990990
</blockquote>
991991
<li>Explained <a>reset-only sub-properties</a>
992992
and clarified that they also get affected by a CSS-wide keyword value in the shorthand declaration.
@@ -997,9 +997,9 @@ Changes Since the 3 October 2013 Candidate Recommendation</h3>
997997
to any of its other values.
998998
For example, the 'border' shorthand resets 'border-image'
999999
to its initial value of ''border-image/none'',
1000-
but has no syntax to set it to anything else. [[CSS3BG]]</ins></p>
1000+
but has no syntax to set it to anything else. [[css-backgrounds-3]]</ins></p>
10011001

1002-
<p>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> [[!CSS3VAL]],
1002+
<p>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]],
10031003
it sets all of its <a>sub-properties</a> to that keyword,
10041004
<ins>including any that are <a>reset-only sub-properties</a></ins>.
10051005
(Note that these keywords cannot be combined with other values in a single declaration, not even in a shorthand.)</p>

css-cascade-4/Overview.bs

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ Introduction</h2>
3939
and outputs a <a>specified value</a> for each property on each element.
4040

4141
The rules for finding the specified value for all properties on all elements in the document are described in this specification.
42-
The rules for finding the specified values in the page context and its margin boxes are described in [[CSS3PAGE]].
42+
The rules for finding the specified values in the page context and its margin boxes are described in [[css-page-3]].
4343

4444
<h3 id="placement">
4545
Module Interactions</h3>
4646

4747
<em>This section is normative.</em>
4848

4949
This module replaces and extends
50-
the rules for assigning property values, cascading, and inheritance defined in [[!CSS21]] chapter 6.
50+
the rules for assigning property values, cascading, and inheritance defined in [[!CSS2]] chapter 6.
5151

5252
Other CSS modules may expand the definitions of some of the syntax and features defined here.
5353
For example, the Media Queries Level 4 specification,
@@ -198,7 +198,7 @@ Processing Stylesheet Imports</h3>
198198

199199
The <a>origin</a> of an imported style sheet is the <a>origin</a> of the style sheet that imported it.
200200

201-
The <a>environment encoding</a> of an imported style sheet is the encoding of the style sheet that imported it. [[CSS3SYN]]
201+
The <a>environment encoding</a> of an imported style sheet is the encoding of the style sheet that imported it. [[css-syntax-3]]
202202

203203
<h3 id='content-type'>
204204
Content-Type of CSS Style Sheets</h3>
@@ -274,9 +274,9 @@ Shorthand Properties</h2>
274274
to any of its other values.
275275
For example, the 'border' shorthand resets 'border-image'
276276
to its initial value of ''border-image/none'',
277-
but has no syntax to set it to anything else. [[CSS3BG]]
277+
but has no syntax to set it to anything else. [[css-backgrounds-3]]
278278

279-
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> [[!CSS3VAL]],
279+
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]],
280280
it sets all of its <a>sub-properties</a> to that keyword,
281281
including any that are <a>reset-only sub-properties</a>.
282282
(Note that these keywords cannot be combined with other values in a single declaration, not even in a shorthand.)
@@ -360,7 +360,7 @@ Resetting All Properties: the 'all' property</h3>
360360
and <a href="https://www.w3.org/TR/css3-writing-modes/#text-direction">should not be set in the author's style sheet</a>.
361361
(They exist as CSS properties only to style document languages not supported by the UA.)
362362
Authors should use the appropriate markup, such as HTML's <code>dir</code> attribute, instead.
363-
[[CSS3-WRITING-MODES]]
363+
[[css-writing-modes-3]]
364364

365365
<div class='example'>
366366
For example, if an author specifies ''all: initial'' on an element
@@ -512,11 +512,11 @@ Used Values</h3>
512512
<p class='example'>
513513
For example, a declaration of ''width: auto'' can't be resolved into a length without knowing the layout of the element's ancestors,
514514
so the <a>computed value</a> is ''auto'',
515-
while the <a>used value</a> is an absolute length, such as ''100px''. [[CSS21]]
515+
while the <a>used value</a> is an absolute length, such as ''100px''. [[CSS2]]
516516

517517
<p class='example'>
518518
As another example, a <code>&lt;div></code> might have a computed 'break-before' value of ''auto'',
519-
but acquire a used 'break-before' value of ''break-before/page'' by propagation from its first child. [[CSS3-BREAK]]
519+
but acquire a used 'break-before' value of ''break-before/page'' by propagation from its first child. [[css-break-3]]
520520

521521
<p class='example'>
522522
Lastly, if a property does not apply to an element,
@@ -714,11 +714,11 @@ Cascading</h2>
714714
The precedence of the various <a>origins</a> is, in descending order:
715715

716716
<ol>
717-
<li>Transition declarations [[!CSS3-TRANSITIONS]]
717+
<li>Transition declarations [[!css-transitions-1]]
718718
<li>Important user agent declarations
719719
<li>Important user declarations
720720
<li>Important author declarations
721-
<li>Animation declarations [[!CSS3-ANIMATIONS]]
721+
<li>Animation declarations [[!css-animations-1]]
722722
<li>Normal author declarations
723723
<li>Normal user declarations
724724
<li>Normal user agent declarations
@@ -751,7 +751,7 @@ Cascading</h2>
751751

752752
Note: This odd handling of ''!important'' style attribute declarations
753753
is to match the behavior defined in CSS Levels 1 and 2,
754-
where style attributes simply have higher specificity than any other author rules. [[CSS21]]
754+
where style attributes simply have higher specificity than any other author rules. [[CSS2]]
755755

756756
<dt id='cascade-specificity'>Specificity
757757
<dd>
@@ -822,11 +822,11 @@ Cascading Origins</h3>
822822
<dl>
823823
<dt><dfn export id='cascade-origin-animation'>Animation Origin</dfn>
824824
<dd>
825-
CSS Animations [[CSS3-ANIMATIONS]] generate “virtual” rules representing their effects when running.
825+
CSS Animations [[css-animations-1]] generate “virtual” rules representing their effects when running.
826826

827827
<dt><dfn export id='cascade-origin-transition'>Transition Origin</dfn>
828828
<dd>
829-
Like CSS Animations, CSS Transitions [[CSS3-TRANSITIONS]] generate “virtual” rules representing their effects when running.
829+
Like CSS Animations, CSS Transitions [[css-transitions-1]] generate “virtual” rules representing their effects when running.
830830
</dl>
831831

832832
<h3 id='importance'>
@@ -839,7 +839,7 @@ Important Declarations: the ''!important'' annotation</h3>
839839
which increases its weight in the cascade and inverts the order of precedence.
840840

841841
A declaration is <a>important</a> if it has a <dfn export id='bang-important'>!important</dfn> annotation,
842-
as defined by [[CSS3SYN]].
842+
as defined by [[css-syntax-3]].
843843
i.e. if the last two (non-whitespace, non-comment) tokens
844844
in its value are the delimiter token ''!'' followed by the identifier token ''important''.
845845

@@ -857,7 +857,7 @@ Important Declarations: the ''!important'' annotation</h3>
857857
Important declarations from all origins take precedence over animations.
858858
This allows authors to override animated values in important cases.
859859
(Animated values normally override all other rules.)
860-
[[CSS3-ANIMATIONS]]
860+
[[css-animations-1]]
861861

862862
User agent style sheets may also contain ''!important'' declarations.
863863
These override all author and user declarations.
@@ -962,15 +962,15 @@ Inheritance</h3>
962962

963963
A property can also be explicitly inherited. See the ''inherit'' keyword.
964964

965-
Note: Inheritance follows the document tree and is not intercepted by <a href="https://www.w3.org/TR/CSS21/visuren.html#box-gen">anonymous boxes</a>,
965+
Note: Inheritance follows the document tree and is not intercepted by <a href="https://www.w3.org/TR/CSS2/visuren.html#box-gen">anonymous boxes</a>,
966966
or otherwise affected by manipulations of the box tree.
967967

968968
<h3 id="defaulting-keywords">
969969
Explicit Defaulting</h3>
970970

971971
Several CSS-wide property values are defined below;
972972
declaring a property to have these values explicitly specifies a particular defaulting behavior.
973-
As specified in <a href="https://www.w3.org/TR/css3-values/#common-keywords">CSS Values and Units Level 3</a> [[!CSS3VAL]],
973+
As specified in <a href="https://www.w3.org/TR/css3-values/#common-keywords">CSS Values and Units Level 3</a> [[!css-values-3]],
974974
all CSS properties can accept these values.
975975

976976
<h4 id="initial">

0 commit comments

Comments
 (0)