Skip to content

Commit 0d01864

Browse files
committed
[css-writing-modes] Fix links to CSS2.1.
1 parent b1c3ab8 commit 0d01864

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

css-writing-modes/Overview.bs

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -144,12 +144,12 @@ Introduction to Writing Modes</h2>
144144
Module Interactions</h3>
145145

146146
<p>This module replaces and extends the 'unicode-bidi' and 'direction'
147-
features defined in [[!CSS21]] sections 8.6 and 9.10.
147+
features defined in [[!CSS2]] sections 8.6 and 9.10.
148148

149149
<h3 id="values">
150150
Value Types and Terminology</h3>
151151

152-
This specification follows the <a href="https://www.w3.org/TR/CSS21/about.html#property-defs">CSS property definition conventions</a> from [[!CSS2]].
152+
This specification follows the <a href="https://www.w3.org/TR/CSS2/about.html#property-defs">CSS property definition conventions</a> from [[!CSS2]].
153153
Value types not defined in this specification are defined in CSS Values & Units [[!CSS-VALUES-3]].
154154
Other CSS modules may expand the definitions of these value types.
155155

@@ -159,7 +159,7 @@ Value Types and Terminology</h3>
159159
For readability they have not been repeated explicitly.
160160

161161
<p>Other important terminology and concepts used in this specification
162-
are defined in [[!CSS21]] and [[!CSS-TEXT-3]].
162+
are defined in [[!CSS2]] and [[!CSS-TEXT-3]].
163163

164164
<span id="bidi"></span>
165165
<h2 id="text-direction">
@@ -228,8 +228,8 @@ Specifying Directionality: the 'direction' property</h3>
228228
of any bidi paragraph, embedding, isolate, or override established by the box.
229229
(See 'unicode-bidi'.) <!-- except plaintext -->
230230
In addition, it informs the ordering of
231-
<a href="https://www.w3.org/TR/CSS21/tables.html">table</a> column layout,
232-
the direction of horizontal <a href="https://www.w3.org/TR/CSS21/visufx.html#overflow">overflow</a>,
231+
<a href="https://www.w3.org/TR/CSS2/tables.html">table</a> column layout,
232+
the direction of horizontal <a href="https://www.w3.org/TR/CSS2/visufx.html#overflow">overflow</a>,
233233
and the default alignment of text within a line, and other layout effects
234234
that depend on the box's inline base direction.</p>
235235

@@ -1058,7 +1058,7 @@ Text Baselines</h3>
10581058
<h3 id="replaced-baselines">
10591059
Atomic Inline Baselines</h3>
10601060

1061-
<p>If an <a href="https://www.w3.org/TR/CSS21/visuren.html#inline-boxes">atomic
1061+
<p>If an <a href="https://www.w3.org/TR/CSS2/visuren.html#inline-boxes">atomic
10621062
inline</a> (such as an inline-block, inline-table, or replaced inline element)
10631063
does not have a baseline,
10641064
then the UA synthesizes a baseline table thus:
@@ -1071,7 +1071,7 @@ Atomic Inline Baselines</h3>
10711071
<i>under</i> and <i>over</i> margin edges of the box.
10721072
</dl>
10731073

1074-
<p class="note">The 'vertical-align' property in [[!CSS21]] defines the baseline of
1074+
<p class="note">The 'vertical-align' property in [[!CSS2]] defines the baseline of
10751075
inline-table and inline-block boxes with some exceptions.
10761076

10771077
<h3 id="baseline-alignment">
@@ -1453,7 +1453,7 @@ Obsolete: the SVG1.1 'glyph-orientation-vertical' property</h4>
14531453
<h2 id="abstract-box">
14541454
Abstract Box Terminology</h2>
14551455

1456-
<p>CSS2.1 [[!CSS21]] defines the box layout model of CSS in detail,
1456+
<p>CSS2.1 [[!CSS2]] defines the box layout model of CSS in detail,
14571457
but only for the ''horizontal-tb'' writing mode. Layout is analogous
14581458
in writing modes other than ''horizontal-tb''; however directional
14591459
and dimensional terms in CSS2.1 must be abstracted and remapped
@@ -1892,10 +1892,10 @@ Dimensional Mapping</h3>
18921892
<ul>
18931893
<li>The ''repeat-x'' keyword of 'background-repeat' tiles in the
18941894
inline dimension of the element, which is not necessarily the
1895-
horizontal dimension. [[!CSS21]] [[!CSS3BG]]
1895+
horizontal dimension. [[!CSS2]] [[!CSS3BG]]
18961896
<li>The ''repeat-y'' keyword of 'background-repeat' tiles in the
18971897
block flow dimension of the element, which is not necessarily
1898-
the vertical dimension. [[!CSS21]] [[!CSS3BG]]
1898+
the vertical dimension. [[!CSS2]] [[!CSS3BG]]
18991899
<li>The 'overflow-x' property controls overflow in the inline
19001900
dimension of the element. [[!CSS3UI]]
19011901
<li>The 'overflow-y' property controls overflow in the block
@@ -1908,9 +1908,9 @@ Dimensional Mapping</h3>
19081908
<li>The first and second values of the 'border-spacing' property
19091909
represent spacing between columns and rows respectively, not
19101910
necessarily the horizontal and vertical spacing respectively.
1911-
[[!CSS21]]
1911+
[[!CSS2]]
19121912
<li>The 'line-height' property always refers to the logical
1913-
height. [[!CSS21]]
1913+
height. [[!CSS2]]
19141914
</ul>
19151915

19161916
<p>The height properties ('height', 'min-height', and 'max-height')
@@ -1919,15 +1919,15 @@ Dimensional Mapping</h3>
19191919
the rules used to calculate box dimensions and positions are logical.
19201920

19211921
<p>For example, the calculation rules in
1922-
<a href="https://www.w3.org/TR/CSS21/visudet.html#Computing_widths_and_margins">CSS2.1 Section 10.3</a>
1922+
<a href="https://www.w3.org/TR/CSS2/visudet.html#Computing_widths_and_margins">CSS2.1 Section 10.3</a>
19231923
are used for the inline dimension measurements:
19241924
they apply to the <i>inline size</i> (which could be either the physical width or physical height)
19251925
and to the <i>inline-start</i> and <i>inline-end</i> margins, padding, and border.
19261926
Likewise the calculation rules in
1927-
<a href="https://www.w3.org/TR/CSS21/visudet.html#Computing_heights_and_margins">CSS2.1 Section 10.6</a>
1927+
<a href="https://www.w3.org/TR/CSS2/visudet.html#Computing_heights_and_margins">CSS2.1 Section 10.6</a>
19281928
are used in the block dimension:
19291929
they apply to the <i>block size</i>
1930-
and to the <i>block-start</i> and <i>block-end</i> margins, padding, and border. [[!CSS21]]
1930+
and to the <i>block-start</i> and <i>block-end</i> margins, padding, and border. [[!CSS2]]
19311931

19321932
<p>As a corollary, percentages on the margin and padding properties,
19331933
which are always calculated with respect to the containing block
@@ -2031,7 +2031,7 @@ Available Space in Orthogonal Flows</h4>
20312031
This typically happens in CSS2.1
20322032
when a containing block has an ''height/auto'' height,
20332033
for example: its width is given by the calculations in
2034-
<a href="https://www.w3.org/TR/CSS21/visudet.html#blockwidth">10.3.3</a>,
2034+
<a href="https://www.w3.org/TR/CSS2/visudet.html#blockwidth">10.3.3</a>,
20352035
but its <i>block size</i> depends on its contents.
20362036
In such cases the <i>available inline space</i> is defined
20372037
as the <i>inline size</i> of the containing block;
@@ -2221,11 +2221,11 @@ Flow-Relative Mappings</h3>
22212221

22222222
<p>For example, the margin that is dropped when a box's inline
22232223
dimension is
2224-
<a href="https://www.w3.org/TR/CSS21/visudet.html#blockwidth">over-constrained</a>
2224+
<a href="https://www.w3.org/TR/CSS2/visudet.html#blockwidth">over-constrained</a>
22252225
is the end margin as determined by the writing mode of the
22262226
containing block.
22272227

2228-
<p>The <a href="https://www.w3.org/TR/CSS21/box.html#collapsing-margins">margin
2228+
<p>The <a href="https://www.w3.org/TR/CSS2/box.html#collapsing-margins">margin
22292229
collapsing rules</a> apply exactly with the <em><i>block-start</i>
22302230
margin</em> substituted for the top margin and the
22312231
<em><i>block-end</i> margin</em> substituted for the bottom margin.
@@ -2265,17 +2265,17 @@ Line-Relative Mappings</h3>
22652265
to interpret the <css>left</css> and <css>right</css> values of the
22662266
following properties:
22672267
<ul>
2268-
<li>the 'text-align' property [[!CSS21]]
2268+
<li>the 'text-align' property [[!CSS2]]
22692269
</ul>
22702270

22712271
<p>The <i>line-right</i> and <i>line-left</i> directions are calculated
22722272
with respect to the writing mode of the <em>containing
22732273
block</em> of the box and used to interpret the <css>left</css>
22742274
and <css>right</css> values of the following properties:
22752275
<ul>
2276-
<li>the 'float' property [[!CSS21]]
2277-
<li>the 'clear' property [[!CSS21]]
2278-
<li>the 'caption-side' property [[!CSS21]]
2276+
<li>the 'float' property [[!CSS2]]
2277+
<li>the 'clear' property [[!CSS2]]
2278+
<li>the 'caption-side' property [[!CSS2]]
22792279
</ul>
22802280

22812281
<p>The <i>over</i> and <i>under</i> directions are calculated with respect to
@@ -2288,10 +2288,10 @@ Line-Relative Mappings</h3>
22882288
the "top" of the line box is its <i>over</i> edge;
22892289
the "bottom" of the line box is its under edge.
22902290
Positive length and percentage values
2291-
shift the baseline towards the <i>line-over</i> edge. [[!CSS21]]
2291+
shift the baseline towards the <i>line-over</i> edge. [[!CSS2]]
22922292
<li>For the 'text-decoration' property,
22932293
the underline is drawn on the <i>under</i> side of the text;
2294-
the overline is drawn on the <i>over</i> side of the text. [[!CSS21]]
2294+
the overline is drawn on the <i>over</i> side of the text. [[!CSS2]]
22952295
<span class="note">Note that the CSS Text Decoration Module defines
22962296
this in more detail and provides additional controls for
22972297
controlling the position of underlines and overlines.
@@ -2305,8 +2305,8 @@ Purely Physical Mappings</h3>
23052305
and do not respond to changes in writing mode:
23062306

23072307
<ul>
2308-
<li>the ''rect()'' notation of the 'clip' property [[!CSS21]]
2309-
<li>the background properties [[!CSS21]] [[!CSS3BG]]
2308+
<li>the ''rect()'' notation of the 'clip' property [[!CSS2]]
2309+
<li>the background properties [[!CSS2]] [[!CSS3BG]]
23102310
<li>the border-image properties [[!CSS3BG]]
23112311
<li>the offsets of the 'box-shadow' and 'text-shadow' properties
23122312
</ul>

0 commit comments

Comments
 (0)