3232
3333 < h1 > CSS Text Level 3</ h1 >
3434
35- < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft 24 April 2012</ h2 >
35+ < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft 25 April 2012</ h2 >
3636
3737 < dl >
3838 < dt > This version:
3939
4040 < dd > < a href ="http://dev.w3.org/csswg/css3-text/ "> $Date$ (CVS
4141 $Revision$)</ a > <!--
42- <dd><a href="http://www.w3.org/TR/2012/WD-css3-text-20120424 /">http://www.w3.org/TR/2012/WD-css3-text-20120424 /</a></dd>
42+ <dd><a href="http://www.w3.org/TR/2012/WD-css3-text-20120425 /">http://www.w3.org/TR/2012/WD-css3-text-20120425 /</a></dd>
4343 -->
4444
4545
@@ -261,7 +261,10 @@ <h2 class="no-num no-toc" id=contents> Table of Contents</h2>
261261 < li > < a href ="#text-align "> < span class =secno > 7.1. </ span > Text Alignment:
262262 the ‘< code class =property > text-align</ code > ’ property</ a >
263263 < ul class =toc >
264- < li > < a href ="#character-alignment "> < span class =secno > 7.1.1.
264+ < li > < a href ="#bidi-linebox "> < span class =secno > 7.1.1. </ span >
265+ Bidirectionality and Line Boxes</ a >
266+
267+ < li > < a href ="#character-alignment "> < span class =secno > 7.1.2.
265268 </ span > Character-based Alignment in a Table Column</ a >
266269 </ ul >
267270
@@ -1994,19 +1997,23 @@ <h3 id=text-align><span class=secno>7.1. </span> Text Alignment: the
19941997 href ="http://dev.w3.org/csswg/css3-text/#white-space-rules "> white space
19951998 processing rules</ a > .
19961999
2000+ < h4 id =bidi-linebox > < span class =secno > 7.1.1. </ span > Bidirectionality and
2001+ Line Boxes</ h4 >
2002+
19972003 < p > The start and end edges of a line box are determined by the inline base
1998- direction of the "bidi paragraph" to which it belongs. In most cases, this
1999- means using the containing block's computed ‘< code
2000- class =property > direction</ code > ’. However if containing block has
2001- ‘< code class =css > unicode-bidi: plaintext</ code > ’ < a
2002- href ="#CSS3-WRITING-MODES "
2004+ direction of the line box. In most cases, this is given by its containing
2005+ block's computed ‘< code class =property > direction</ code > ’.
2006+ However if the containing block has ‘< code class =css > unicode-bidi:
2007+ plaintext</ code > ’ < a href ="#CSS3-WRITING-MODES "
20032008 rel =biblioentry > [CSS3-WRITING-MODES]<!--{{!CSS3-WRITING-MODES}}--> </ a > ,
2004- the inline base direction of its line boxes will be determined by the bidi
2005- paragraphs it immediately contains. In the case of an empty bidi
2006- paragraph, the direction used is that of the previous bidi paragraph in
2007- the containing block, or, if this is the first bidi paragraph in the
2008- containing block, then the ‘< code
2009- class =property > direction</ code > ’ property is used.
2009+ the inline base direction must be determined by the bidi paragraphs to
2010+ which it belongs: that is, the bidi paragraph that is immediately
2011+ contained by the line box's containing block and for which the line box
2012+ holds content. An empty line box (i.e. one that contains no atomic inlines
2013+ or characters other than the line-breaking character, if any), takes its
2014+ inline base direction from the previous line box (if any), or, if this is
2015+ the first line box in the containing block, then from the ‘< code
2016+ class =property > direction</ code > ’ property of the containing block.
20102017
20112018 < div class =example >
20122019 < p > In the following example, every other line is right-aligned:</ p >
@@ -2021,7 +2028,12 @@ <h3 id=text-align><span class=secno>7.1. </span> Text Alignment: the
20212028<!-- --> </pre></ pre >
20222029 </ div >
20232030
2024- < h4 id =character-alignment > < span class =secno > 7.1.1. </ span > Character-based
2031+ < p class =note > Note, this definition also affects ‘< a
2032+ href ="#text-indent0 "> < code class =property > text-indent</ code > </ a > ’
2033+ and ‘< a href ="#hanging-punctuation0 "> < code
2034+ class =property > hanging-punctuation</ code > </ a > ’.
2035+
2036+ < h4 id =character-alignment > < span class =secno > 7.1.2. </ span > Character-based
20252037 Alignment in a Table Column</ h4 >
20262038
20272039 < p > When multiple cells in a column have an < a
@@ -2174,12 +2186,13 @@ <h3 id=text-align-last><span class=secno>7.2. </span> Last Line Alignment:
21742186 ‘< a href ="#text-align0 "> < code
21752187 class =property > text-align</ code > </ a > ’.
21762188
2177- < p > If ‘< code class =css > auto</ code > ’ is specified, content on
2178- the affected line is aligned per ‘< a href ="#text-align0 "> < code
2179- class =property > text-align</ code > </ a > ’ unless ‘< a
2180- href ="#text-align0 "> < code class =property > text-align</ code > </ a > ’ is
2181- set to ‘< code class =css > justify</ code > ’. In this case, content
2182- is justified if ‘< a href ="#text-justify0 "> < code
2189+ < p > If < dfn id =auto1 > ‘< code class =css > auto</ code > ’</ dfn > is
2190+ specified, content on the affected line is aligned per ‘< a
2191+ href ="#text-align0 "> < code class =property > text-align</ code > </ a > ’
2192+ unless ‘< a href ="#text-align0 "> < code
2193+ class =property > text-align</ code > </ a > ’ is set to ‘< code
2194+ class =css > justify</ code > ’. In this case, content is justified if
2195+ ‘< a href ="#text-justify0 "> < code
21832196 class =property > text-justify</ code > </ a > ’ is ‘< code
21842197 class =css > distribute</ code > ’ and start-aligned otherwise. All other
21852198 values have the same meanings as in ‘< a href ="#text-align0 "> < code
@@ -2242,7 +2255,7 @@ <h3 id=text-justify><span class=secno>7.3. </span> Justification Method:
22422255 to) also support it on inline elements. It takes the following values:
22432256
22442257 < dl >
2245- < dt > < dfn id =auto1 title ="text-justify:auto "> ‘< code
2258+ < dt > < dfn id =auto2 title ="text-justify:auto "> ‘< code
22462259 class =css > auto</ code > ’</ dfn >
22472260
22482261 < dd > The UA determines the justification algorithm to follow, based on a
@@ -3774,7 +3787,7 @@ <h4 id=text-underline-position><span class=secno>10.1.6. </span> Text
37743787 Values have the following meanings:
37753788
37763789 < dl >
3777- < dt > < dfn id =auto2 > ‘< code class =css > auto</ code > ’</ dfn >
3790+ < dt > < dfn id =auto3 > ‘< code class =css > auto</ code > ’</ dfn >
37783791
37793792 < dd > The user agent may use any algorithm to determine the underline's
37803793 position; however it must be placed at or below the alphabetic baseline.
0 commit comments