11
11
rel =dcterms.rights >
12
12
< meta content ="CSS Text Level 4 " name =dcterms.title >
13
13
< meta content =text name =dcterms.type >
14
- < meta content =2012-10-28 name =dcterms.issued >
14
+ < meta content =2012-10-28 name =dcterms.date >
15
15
< meta content ="Elika J. Etemad " name =dcterms.creator >
16
16
< meta content ="Koji Ishii " name =dcterms.creator >
17
17
< meta content =W3C name =dcterms.publisher >
18
- < meta content ="http://www.w3.org/TR/2012/ED-css3-text-20121028/ "
19
- name =dcterms.identifier >
18
+ < meta content ="http://dev.w3.org/csswg/css3-text/ " name =dcterms.identifier >
20
19
< link href ="../default.css " rel =stylesheet type ="text/css ">
21
20
< style type ="text/css ">
22
21
.egbidiwsaA , .egbidiwsbB , .egbidiwsaB , .egbidiwsbC
@@ -66,11 +65,14 @@ <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 28 October
66
65
< dd > < a
67
66
href ="http://www.w3.org/TR/2011/WD-css3-text-20110901/ "> http://www.w3.org/TR/2011/WD-css3-text-20110901/</ a >
68
67
69
- < dt > Feedback:</ dt >
70
- < dd > < a href ="mailto:www-style@w3.org?subject=%5Bcss-text%5D%20feedback "> www-style@w3.org</ a >
71
- with subject line “< kbd > [css-text]
72
- < var > … message topic …</ var > </ kbd > ”
73
- (< a rel ="discussion " href ="http://lists.w3.org/Archives/Public/www-style/ "> archives</ a > )
68
+ < dt > Feedback:
69
+
70
+ < dd > < a
71
+ href ="mailto:www-style@w3.org?subject=%5Bcss-text%5D%20feedback "> www-style@w3.org</ a >
72
+ with subject line “< kbd > [css-text] < var > … message topic
73
+ …</ var > </ kbd > ” (< a
74
+ href ="http://lists.w3.org/Archives/Public/www-style/ "
75
+ rel =discussion > archives</ a > )
74
76
75
77
< dt > Editors:
76
78
@@ -89,7 +91,8 @@ <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 28 October
89
91
title ="Massachusetts Institute of Technology "> MIT</ abbr > </ a > , < a
90
92
href ="http://www.ercim.eu/ "> < abbr
91
93
title ="European Research Consortium for Informatics and Mathematics "> ERCIM</ abbr > </ a > ,
92
- < a href ="http://www.keio.ac.jp/ "> Keio</ a > ), All Rights Reserved. W3C < a
94
+ < a href ="http://www.keio.ac.jp/ "> Keio</ a > , < a
95
+ href ="http://ev.buaa.edu.cn/ "> Beihang</ a > ), All Rights Reserved. W3C < a
93
96
href ="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer "> liability</ a > ,
94
97
< a
95
98
href ="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks "> trademark</ a >
@@ -304,7 +307,7 @@ <h2 class="no-num no-toc" id=contents> Table of Contents</h2>
304
307
the ‘< code class =property > text-align</ code > ’ property</ a >
305
308
< ul class =toc >
306
309
< li > < a href ="#character-alignment "> < span class =secno > 7.1.1.
307
- </ span > Details on Character-based Alignment in a Table Column</ a >
310
+ </ span > Character-based Alignment in a Table Column</ a >
308
311
</ ul >
309
312
310
313
< li > < a href ="#text-align-last "> < span class =secno > 7.2. </ span > Last Line
@@ -346,8 +349,8 @@ <h2 class="no-num no-toc" id=contents> Table of Contents</h2>
346
349
class =property > hanging-punctuation</ code > ’ property</ a >
347
350
</ ul >
348
351
349
- < li > < a href ="#decoration "> < span class =secno > 10. </ span > Text
350
- Decoration </ a >
352
+ < li > < a href ="#decoration "> < span class =secno > 10. </ span > Text Decoration </ a >
353
+
351
354
< ul class =toc >
352
355
< li > < a href ="#line-decoration "> < span class =secno > 10.1. </ span > Line
353
356
Decoration: Underline, Overline, and Strike-Through</ a >
@@ -2424,57 +2427,15 @@ <h3 id=text-align><span class=secno>7.1. </span> Text Alignment: the ‘<a
2424
2427
href ="http://dev.w3.org/csswg/css3-text/#white-space-rules "> white space
2425
2428
processing rules</ a > .
2426
2429
2427
- < h4 id =character-alignment > < span class =secno > 7.1.1. </ span > Details on
2428
- Character-based Alignment in a Table Column</ h4 >
2429
-
2430
- < p > When multiple cells in a column have an alignment character specified,
2431
- the alignment character of each such cell in the column is centered along
2432
- a single column-parallel axis and the rest of the text in the column
2433
- shifted accordingly. (Note that the strings do not have to be the same for
2434
- each cell, although they usually are.)
2435
-
2436
- < p > If the alignment character appears more than once in the text, the first
2437
- instance is used for alignment. If the alignment character does not appear
2438
- in a cell at all, the string is aligned as if the alignment character had
2439
- been inserted at the end of its contents.
2430
+ < h4 id =character-alignment > < span class =secno > 7.1.1. </ span > Character-based
2431
+ Alignment in a Table Column</ h4 >
2440
2432
2441
- < p > Character-based alignment occurs before table cell width computation so
2442
- that auto width computations can leave enough space for alignment. Whether
2443
- column-spanning cells participate in the alignment prior to or after width
2444
- computation is undefined. If width constraints on the cell contents
2445
- prevent full alignment throughout the column, the resulting alignment is
2446
- undefined.
2447
-
2448
- < p > A keyword value may be specified in conjunction with the <string>
2449
- value; if it is not given, it defaults to ‘< code
2450
- class =css > right</ code > ’. This value is used:
2451
-
2452
- < ul >
2453
- < li > when character-based alignment is applied to boxes that are not table
2454
- cells.
2455
-
2456
- < li > when the text wraps to multiple lines (at unforced break points).
2457
-
2458
- < li > when the column is wide enough that the character alignment alone does
2459
- not determine the positions of its character-aligned contents. In this
2460
- case the keyword alignment of the first cell in the column with a
2461
- specified alignment character is used to slide the position of the
2462
- character-aligned contents to match the keyword alignment insofar as
2463
- possible without changing the width of the column. For ‘< code
2464
- class =css > center</ code > ’, the UA may center the aligned contents using
2465
- its extremes, center the alignment axis itself (insofar as possible), or
2466
- optically center the aligned contents some other way (such as by taking a
2467
- weighted average of the extent of the cells' contents to either side of
2468
- the axis).
2469
-
2470
- < li > when a character-aligned cell spans more than one column. In this case
2471
- the keyword alignment value is used to determine which column's axis to
2472
- align with: the leftmost column for ‘< code class =css > left</ code > ’,
2473
- the rightmost column for ‘< code class =css > right</ code > ’ and ‘< code
2474
- class =css > center</ code > ’, the startmost column for ‘< code
2475
- class =css > start</ code > ’, the endmost column for ‘< code
2476
- class =css > end</ code > ’.
2477
- </ ul >
2433
+ < p > When multiple cells in a column have an < a
2434
+ href ="#alignment-character "> < i > alignment character</ i > </ a > specified, the
2435
+ alignment character of each such cell in the column is centered along a
2436
+ single column-parallel axis and the rest of the text in the column shifted
2437
+ accordingly. (Note that the strings do not have to be the same for each
2438
+ cell, although they usually are.)
2478
2439
2479
2440
< div class =example > The following style sheet:
2480
2441
< pre > TD { text-align: "." center }</ pre >
@@ -2512,11 +2473,54 @@ <h4 id=character-alignment><span class=secno>7.1.1. </span>Details on
2512
2473
<!-- --> </ pre >
2513
2474
</ div >
2514
2475
2476
+ < p > A keyword value may be specified in conjunction with the <string>
2477
+ value; if it is not given, it defaults to ‘< code
2478
+ class =css > right</ code > ’. This value is used:
2479
+
2480
+ < ul >
2481
+ < li > when character-based alignment is applied to boxes that are not table
2482
+ cells.
2483
+
2484
+ < li > when the text wraps to multiple lines (at unforced break points).
2485
+
2486
+ < li > when a character-aligned cell spans more than one column. In this case
2487
+ the keyword alignment value is used to determine which column's axis to
2488
+ align with: the leftmost column for ‘< code class =css > left</ code > ’,
2489
+ the rightmost column for ‘< code class =css > right</ code > ’ and ‘< code
2490
+ class =css > center</ code > ’, the startmost column for ‘< code
2491
+ class =css > start</ code > ’, the endmost column for ‘< code
2492
+ class =css > end</ code > ’.
2493
+
2494
+ < li > when the column is wide enough that the character alignment alone does
2495
+ not determine the positions of its character-aligned contents. In this
2496
+ case the keyword alignment of the first cell in the column with a
2497
+ specified alignment character is used to slide the position of the
2498
+ character-aligned contents to match the keyword alignment insofar as
2499
+ possible without changing the width of the column. For ‘< code
2500
+ class =css > center</ code > ’, the UA may center the aligned contents using
2501
+ its extremes, center the alignment axis itself (insofar as possible), or
2502
+ optically center the aligned contents some other way (such as by taking a
2503
+ weighted average of the extent of the cells' contents to either side of
2504
+ the axis).
2505
+ </ ul >
2506
+
2515
2507
< p class =note > Right alignment is used by default for character-based
2516
2508
alignment because numbering systems are almost all left-to-right even in
2517
2509
right-to-left writing systems, and the primary use case of character-based
2518
2510
alignment is for numerical alignment.
2519
2511
2512
+ < p > If the alignment character appears more than once in the text, the first
2513
+ instance is used for alignment. If the alignment character does not appear
2514
+ in a cell at all, the string is aligned as if the alignment character had
2515
+ been inserted at the end of its contents.
2516
+
2517
+ < p > Character-based alignment occurs before table cell width computation so
2518
+ that auto width computations can leave enough space for alignment. Whether
2519
+ column-spanning cells participate in the alignment prior to or after width
2520
+ computation is undefined. If width constraints on the cell contents
2521
+ prevent full alignment throughout the column, the resulting alignment is
2522
+ undefined.
2523
+
2520
2524
< h3 id =text-align-last > < span class =secno > 7.2. </ span > Last Line Alignment:
2521
2525
the ‘< a href ="#text-align-last0 "> < code
2522
2526
class =property > text-align-last</ code > </ a > ’ property</ h3 >
@@ -4138,8 +4142,7 @@ <h3 id=hanging-punctuation><span class=secno>9.2. </span> Hanging
4138
4142
hanging punctuation. Therefore the line is expanded.
4139
4143
</ div >
4140
4144
4141
- < h2 id =decoration > < span class =secno > 10. </ span > < a
4142
- name =text-decoration > Text Decoration</ a > </ h2 >
4145
+ < h2 id =decoration > < span class =secno > 10. </ span > Text Decoration</ h2 >
4143
4146
4144
4147
< h3 id =line-decoration > < span class =secno > 10.1. </ span > Line Decoration:
4145
4148
Underline, Overline, and Strike-Through</ h3 >
@@ -5891,26 +5894,26 @@ <h3 class=no-num id=normative-ref>Normative references</h3>
5891
5894
<!-- Sorted by label -->
5892
5895
5893
5896
< dl class =bibliography >
5894
- < dt style ="display: none "> <!-- keeps the doc valid if the DL is empty -->
5897
+ < dd style ="display: none "> <!-- keeps the doc valid if the DL is empty -->
5895
5898
<!---->
5896
5899
5897
5900
< dt id =CSS21 > [CSS21]
5898
5901
5899
5902
< dd > Bert Bos; et al. < a
5900
- href ="http://www.w3.org/TR/2011/REC-CSS2-20110607/ "> < cite > Cascading Style
5903
+ href ="http://www.w3.org/TR/2011/REC-CSS2-20110607 "> < cite > Cascading Style
5901
5904
Sheets Level 2 Revision 1 (CSS 2.1) Specification.</ cite > </ a > 7 June
5902
5905
2011. W3C Recommendation. URL: < a
5903
- href ="http://www.w3.org/TR/2011/REC-CSS2-20110607/ "> http://www.w3.org/TR/2011/REC-CSS2-20110607/ </ a >
5906
+ href ="http://www.w3.org/TR/2011/REC-CSS2-20110607 "> http://www.w3.org/TR/2011/REC-CSS2-20110607</ a >
5904
5907
</ dd >
5905
5908
<!---->
5906
5909
5907
5910
< dt id =CSS3-FONTS > [CSS3-FONTS]
5908
5911
5909
5912
< dd > John Daggett. < a
5910
- href ="http://www.w3.org/TR/2012 /WD-css3-fonts-20120823 / "> < cite > CSS Fonts
5911
- Module Level 3.</ cite > </ a > 23 August 2012 . W3C Working Draft. (Work in
5913
+ href ="http://www.w3.org/TR/2013 /WD-css3-fonts-20130212 / "> < cite > CSS Fonts
5914
+ Module Level 3.</ cite > </ a > 12 February 2013 . W3C Working Draft. (Work in
5912
5915
progress.) URL: < a
5913
- href ="http://www.w3.org/TR/2012 /WD-css3-fonts-20120823 / "> http://www.w3.org/TR/2012 /WD-css3-fonts-20120823 /</ a >
5916
+ href ="http://www.w3.org/TR/2013 /WD-css3-fonts-20130212 / "> http://www.w3.org/TR/2013 /WD-css3-fonts-20130212 /</ a >
5914
5917
</ dd >
5915
5918
<!---->
5916
5919
@@ -5975,7 +5978,7 @@ <h3 class=no-num id=normative-ref>Normative references</h3>
5975
5978
5976
5979
< dd > Mark Davis. < a
5977
5980
href ="http://www.unicode.org/reports/tr29/ "> < cite > Unicode Text
5978
- Segmentation.</ cite > </ a > 24 January 2012. Unicode Standard Annex #29.
5981
+ Segmentation.</ cite > </ a > 12 September 2012. Unicode Standard Annex #29.
5979
5982
URL: < a
5980
5983
href ="http://www.unicode.org/reports/tr29/ "> http://www.unicode.org/reports/tr29/</ a >
5981
5984
</ dd >
@@ -5994,9 +5997,10 @@ <h3 class=no-num id=normative-ref>Normative references</h3>
5994
5997
5995
5998
< dd > The Unicode Consortium. < a
5996
5999
href ="http://www.unicode.org/standard/versions/enumeratedversions.html "> < cite > The
5997
- Unicode Standard.</ cite > </ a > 2003. Defined by: The Unicode Standard,
5998
- Version 4.0 (Boston, MA, Addison-Wesley, ISBN 0-321-18578-1), as updated
5999
- from time to time by the publication of new versions URL: < a
6000
+ Unicode Standard.</ cite > </ a > 2012. Defined by: The Unicode Standard,
6001
+ Version 6.2.0 (Mountain View, CA: The Unicode Consortium, 2012. ISBN
6002
+ 978-1-936213-07-8), as updated from time to time by the publication of
6003
+ new versions URL: < a
6000
6004
href ="http://www.unicode.org/standard/versions/enumeratedversions.html "> http://www.unicode.org/standard/versions/enumeratedversions.html</ a >
6001
6005
</ dd >
6002
6006
<!---->
@@ -6008,7 +6012,7 @@ <h3 class=no-num id=informative-ref>Informative references</h3>
6008
6012
<!-- Sorted by label -->
6009
6013
6010
6014
< dl class =bibliography >
6011
- < dt style ="display: none "> <!-- keeps the doc valid if the DL is empty -->
6015
+ < dd style ="display: none "> <!-- keeps the doc valid if the DL is empty -->
6012
6016
<!---->
6013
6017
6014
6018
< dt id =CSS3COLOR > [CSS3COLOR]
0 commit comments