@@ -15,7 +15,7 @@ Test Suite: http://test.csswg.org/suites/css3-text/nightly-unstable/
1515Editor : Elika J. Etemad / fantasai, Invited Expert, http://fantasai.inkedblade.net/contact, w3cid 35400
1616Editor : Koji Ishii, Invited Expert, kojiishi@gluesoft.co.jp, w3cid 45369
1717Editor : Florian Rivoal, Invited Expert, https://florian.rivoal.net, w3cid 43241
18- Abstract : This CSS3 module defines properties for text manipulation and specifies their processing model. It covers line breaking, justification and alignment, white space handling, and text transformation.
18+ Abstract : This CSS module defines properties for text manipulation and specifies their processing model. It covers line breaking, justification and alignment, white space handling, and text transformation.
1919At Risk : the ''full-width'' value of 'text-transform'
2020At Risk : the <length> values of the 'tab-size' property
2121At Risk : the 'text-justify' property
@@ -97,7 +97,7 @@ Introduction</h2>
9797 and <a href="#edge-effects">indentation</a> .
9898
9999 <div class="note">
100- <p> Font selection is covered in <a href="https://www.w3.org/TR/css3 -fonts/">CSS Fonts Level 3</a> [[CSS3 -FONTS]] .
100+ <p> Font selection is covered in <a href="https://www.w3.org/TR/css -fonts-3 /">CSS Fonts Level 3</a> [[CSS -FONTS-3 ]] .
101101
102102 <p>
103103 <span id="decoration"></span>
@@ -120,12 +120,12 @@ Introduction</h2>
120120 and <a href="https://www.w3.org/TR/css-text-decor-3/#text-shadow-property">shadows</a> ,
121121 (previously part of this module)
122122 are covered in
123- <a href="https://www.w3.org/TR/css-text-decor-3/">CSS Text Decoration Level 3</a> [[CSS3 -TEXT-DECOR]] .
123+ <a href="https://www.w3.org/TR/css-text-decor-3/">CSS Text Decoration Level 3</a> [[CSS -TEXT-DECOR-3 ]] .
124124
125- <p> <a href="https://www.w3.org/TR/css3 -writing-modes/#text-direction">Bidirectional</a> and
126- <a href="https://www.w3.org/TR/css3 -writing-modes/#vertical-intro">vertical</a> text
125+ <p> <a href="https://www.w3.org/TR/css -writing-modes-3 /#text-direction">Bidirectional</a> and
126+ <a href="https://www.w3.org/TR/css -writing-modes-3 /#vertical-intro">vertical</a> text
127127 are addressed in
128- <a href="https://www.w3.org/TR/css3 -writing-modes/">CSS Writing Modes Level 3</a> [[CSS3 -WRITING-MODES]] .
128+ <a href="https://www.w3.org/TR/css -writing-modes-3 /">CSS Writing Modes Level 3</a> [[CSS -WRITING-MODES-3 ]] .
129129 </div>
130130
131131 Further information about the typesetting requirements
@@ -137,17 +137,17 @@ Introduction</h2>
137137<h3 id="placement">
138138Module Interactions</h3>
139139
140- <p> This module, together with [[CSS3 -TEXT-DECOR]] ,
141- replaces and extends the text-level features defined in [[!CSS21 ]] chapter 16.
140+ <p> This module, together with [[CSS -TEXT-DECOR-3 ]] ,
141+ replaces and extends the text-level features defined in [[!CSS2 ]] chapter 16.
142142
143143 <p> In addition to the terms defined below,
144144 other terminology and concepts used in this specification are defined
145- in [[!CSS21 ]] and [[!CSS3 -WRITING-MODES]] .
145+ in [[!CSS2 ]] and [[!CSS -WRITING-MODES-3 ]] .
146146
147147<h3 id="values">
148148Values</h3>
149149
150- This specification follows the <a href="https://www.w3.org/TR/CSS21 /about.html#property-defs">CSS property definition conventions</a> from [[!CSS21 ]] .
150+ This specification follows the <a href="https://www.w3.org/TR/CSS2 /about.html#property-defs">CSS property definition conventions</a> from [[!CSS2 ]] .
151151 Value types not defined in this specification are defined in CSS Values & Units [[!CSS-VALUES-3]] .
152152 Other CSS modules may expand the definitions of these value types.
153153
@@ -165,7 +165,7 @@ Languages and Typesetting</h3>
165165
166166 <p> The <dfn export>content language</dfn> of an element is the (human) language
167167 the element is declared to be in, according to the rules of the
168- <a href="https://www.w3.org/TR/CSS21 /conform.html#doclanguage">document language</a> .
168+ <a href="https://www.w3.org/TR/CSS2 /conform.html#doclanguage">document language</a> .
169169 For example, the rules for determining the <a>content language</a> of an HTML
170170 are <a href="https://html.spec.whatwg.org/multipage/dom.html#language">defined</a> in [[HTML]] ,
171171 and the rules for determining the <a>content language</a> of an XML element use
@@ -290,7 +290,7 @@ Characters and Letters</h3>
290290 As before the extra letter-space is then inserted before the U+0E32: นํ้ า.
291291
292292 <li>
293- <p> Vertical typesetting [[!CSS3 -WRITING-MODES]] can also require tailoring.
293+ <p> Vertical typesetting [[!CSS -WRITING-MODES-3 ]] can also require tailoring.
294294 For example, when typesetting ''text-orientation/upright'' text,
295295 Tibetan tsek and shad marks are kept with the preceding grapheme cluster,
296296 rather than treated as an independent <a>typographic character unit</a> .
@@ -376,7 +376,7 @@ Characters and Letters</h3>
376376 Default Case Algorithm section of The Unicode Standard [[!UNICODE]] .
377377 If (and only if) the <a>content language</a>
378378 of the element is, according to the rules of the
379- <a href="https://www.w3.org/TR/CSS21 /conform.html#doclanguage">document language</a> ,
379+ <a href="https://www.w3.org/TR/CSS2 /conform.html#doclanguage">document language</a> ,
380380 known,
381381 then any appropriate language-specific rules must be applied as well.
382382 These minimally include, but are not limited to, the language-specific
@@ -596,8 +596,8 @@ Characters and Letters</h3>
596596 <p class="note"> Note that anonymous blocks consisting entirely of
597597 <a>collapsible</a> <a>white space</a> are removed from the rendering tree.
598598 Thus any such <a>white space</a> surrounding a block-level element is collapsed away.
599- See [[CSS21 ]] section
600- <a href="https://www.w3.org/TR/CSS21 /visuren.html#anonymous">9.2.2.1</a> </p>
599+ See [[CSS2 ]] section
600+ <a href="https://www.w3.org/TR/CSS2 /visuren.html#anonymous">9.2.2.1</a> </p>
601601
602602 <p>
603603 Form feeds (U+000C)
@@ -633,7 +633,7 @@ Characters and Letters</h3>
633633 <h4 id="white-space-phase-1">Phase I: Collapsing and Transformation</h4>
634634
635635 <p> For each inline (including anonymous inlines;
636- see [[CSS21 ]] section <a href="https://www.w3.org/TR/CSS21 /visuren.html#anonymous">9.2.2.1</a> )
636+ see [[CSS2 ]] section <a href="https://www.w3.org/TR/CSS2 /visuren.html#anonymous">9.2.2.1</a> )
637637 within an inline
638638 formatting context, white space characters are handled as follows,
639639 ignoring <dfn noexport>bidi formatting characters</dfn>
@@ -907,7 +907,7 @@ Line Breaking Details</h3>
907907 <li> For <a>soft wrap opportunities</a> before the first or after the last character of a box,
908908 the break occurs immediately before/after the box (at its margin edge)
909909 rather than breaking the box between its content edge and the content.
910- <li> Line breaking in/around Ruby is defined in <a href="https://www.w3.org/TR/css-ruby-1/#line-breaks">CSS Ruby</a> [[!CSS3RUBY ]] .
910+ <li> Line breaking in/around Ruby is defined in <a href="https://www.w3.org/TR/css-ruby-1/#line-breaks">CSS Ruby</a> [[!CSS-RUBY-1 ]] .
911911 </ul>
912912
913913 <h3 id="word-break-property" caniuse="word-break">
@@ -1372,18 +1372,18 @@ Shaping Across Intra-word Breaks</h3>
13721372 <dd> Inline-level content is aligned to the <a spec=css-writing-modes-3>end</a> edge of the line box.
13731373 <dt> <dfn>left</dfn> </dt>
13741374 <dd> Inline-level content is aligned to the
1375- <a href="https://www.w3.org/TR/css3 -writing-modes/#line-left">line left</a>
1375+ <a href="https://www.w3.org/TR/css -writing-modes-3 /#line-left">line left</a>
13761376 edge of the line box.
13771377 (In vertical writing modes,
13781378 this will be either the physical top or bottom,
1379- depending on 'text-orientation' .) [[CSS3 -WRITING-MODES]]
1379+ depending on 'text-orientation' .) [[CSS -WRITING-MODES-3 ]]
13801380 <dt> <dfn>right</dfn> </dt>
13811381 <dd> Inline-level content is aligned to the
1382- <a href="https://www.w3.org/TR/css3 -writing-modes/#line-right">line right</a>
1382+ <a href="https://www.w3.org/TR/css -writing-modes-3 /#line-right">line right</a>
13831383 edge of the line box.
13841384 (In vertical writing modes,
13851385 this will be either the physical top or bottom,
1386- depending on 'text-orientation' .) [[CSS3 -WRITING-MODES]]
1386+ depending on 'text-orientation' .) [[CSS -WRITING-MODES-3 ]]
13871387 <dt> <dfn>center</dfn> </dt>
13881388 <dd> Inline-level content is centered within the line box.
13891389 <dt> <dfn>justify</dfn> </dt>
@@ -1407,11 +1407,11 @@ Shaping Across Intra-word Breaks</h3>
14071407 </dl>
14081408
14091409 <p> A block of text is a stack of
1410- <a href="https://www.w3.org/TR/CSS21 /visuren.html#line-box">line boxes</a> .
1410+ <a href="https://www.w3.org/TR/CSS2 /visuren.html#line-box">line boxes</a> .
14111411 This property specifies how the inline-level boxes within each line box
14121412 align with respect to the start and end sides of the line box.
14131413 Alignment is not with respect to the
1414- <a href="https://www.w3.org/TR/CSS21 /visuren.html#viewport">viewport</a>
1414+ <a href="https://www.w3.org/TR/CSS2 /visuren.html#viewport">viewport</a>
14151415 or containing block.
14161416
14171417 <p> In the case of ''justify'' , the UA may stretch or shrink any inline boxes
@@ -1842,7 +1842,7 @@ Word Spacing: the 'word-spacing' property</h3>
18421842 <p> This property specifies additional spacing (commonly called <dfn export>tracking</dfn> )
18431843 between adjacent <a>typographic character units</a> .
18441844 Letter-spacing is applied after
1845- <a href="https://www.w3.org/TR/css3 -writing-modes/#text-direction">bidi reordering</a>
1845+ <a href="https://www.w3.org/TR/css -writing-modes-3 /#text-direction">bidi reordering</a>
18461846 and is in addition to any 'word-spacing' .
18471847 Depending on the justification rules in effect,
18481848 user agents may further increase or decrease the space between <a>typographic character units</a>
@@ -1956,7 +1956,7 @@ Word Spacing: the 'word-spacing' property</h3>
19561956 or a non-zero value of 'letter-spacing' ),
19571957 user agents should not apply optional ligatures.
19581958 However, kerning should still be applied
1959- (see 'font-kerning' [[CSS3 -FONTS]] ).
1959+ (see 'font-kerning' [[CSS -FONTS-3 ]] ).
19601960
19611961 <div class="example">
19621962 For example, if the word “filial” is letter-spaced,
@@ -2073,7 +2073,7 @@ Cursive Scripts</h4>
20732073
20742074 <p> Unless otherwise specified by the ''each-line'' and/or <a value for=text-indent>hanging</a> keywords,
20752075 only lines that are the
2076- <a href="https://www.w3.org/TR/CSS21 /selector.html#first-line-pseudo">first formatted line</a> [[!CSS21 ]]
2076+ <a href="https://www.w3.org/TR/CSS2 /selector.html#first-line-pseudo">first formatted line</a> [[!CSS2 ]]
20772077 of an element are affected.
20782078 For example, the first line of an anonymous block box is only affected
20792079 if it is the first child of its parent element.
@@ -2193,7 +2193,7 @@ Cursive Scripts</h4>
21932193 <dd> No character <a>hangs</a> .</dd>
21942194 <dt> <dfn>first</dfn> </dt>
21952195 <dd> An opening bracket or quote at the start of the
2196- <a href="https://www.w3.org/TR/CSS21 /selector.html#first-line-pseudo">first
2196+ <a href="https://www.w3.org/TR/CSS2 /selector.html#first-line-pseudo">first
21972197 formatted line</a> of an element <a>hangs</a> .
21982198 This applies to all characters in the Unicode categories Ps, Pf, Pi
21992199 plus the ASCII quote marks “'” U+0027 and “"” U+0022.
@@ -2290,7 +2290,7 @@ Bidirectionality and Line Boxes</h3>
22902290 are determined by the <a>inline base direction</a> of the line box.
22912291 In most cases, this is given by its containing block's computed 'direction' .
22922292
2293- <p> However if its containing block has ''unicode-bidi: plaintext'' [[!CSS3 -WRITING-MODES]] ,
2293+ <p> However if its containing block has ''unicode-bidi: plaintext'' [[!CSS -WRITING-MODES-3 ]] ,
22942294 the line box's <a>inline base direction</a> must be determined
22952295 by the <a>inline base direction</a> of the <a>bidi paragraph</a> to which it belongs:
22962296 that is, the <a>bidi paragraph</a> for which the line box holds content.
@@ -2379,14 +2379,14 @@ Text Processing Order of Operations</h2>
23792379 <ol>
23802380 <li> <a href="#white-space-phase-1">white space processing</a> part I (pre-wrapping)
23812381 <li> <a href="#transforming">text transformation</a>
2382- <li> <a href="https://www.w3.org/TR/css3 -writing-modes/#text-combine-horizontal">text combination</a>
2383- <li> <a href="https://www.w3.org/TR/css3 -writing-modes/#text-orientation">text orientation</a> [[!CSS3 -WRITING-MODES]]
2382+ <li> <a href="https://www.w3.org/TR/css -writing-modes-3 /#text-combine-horizontal">text combination</a>
2383+ <li> <a href="https://www.w3.org/TR/css -writing-modes-3 /#text-orientation">text orientation</a> [[!CSS -WRITING-MODES-3 ]]
23842384 <li> <a href="#wrapping">text wrapping</a> while applying per line:
23852385 <ul>
23862386 <li> <a href="#text-indent-property">indentation</a>
2387- <li> <a href="https://www.w3.org/TR/css3 -writing-modes/#text-direction">bidirectional reordering</a> [[!CSS21 ]] / [[!CSS3 -WRITING-MODES]]
2387+ <li> <a href="https://www.w3.org/TR/css -writing-modes-3 /#text-direction">bidirectional reordering</a> [[!CSS2 ]] / [[!CSS -WRITING-MODES-3 ]]
23882388 <li> <a href="#white-space-phase-2">white space processing</a> part II
2389- <li> <a href="https://www.w3.org/TR/css3 -fonts/">font/glyph selection and positioning</a> [[!CSS21 ]] / [[!CSS3 -FONTS]]
2389+ <li> <a href="https://www.w3.org/TR/css -fonts-3 /">font/glyph selection and positioning</a> [[!CSS2 ]] / [[!CSS -FONTS-3 ]]
23902390 <li> 'letter-spacing' and 'word-spacing'
23912391 <li> <a href="#hanging-punctuation-property">hanging punctuation</a>
23922392 </ul>
0 commit comments