Skip to content

Commit af5883a

Browse files
committed
Check in Koji's patch for case mappings, improve kana table formatting, drop hyphens: all per WG resolution
1 parent 4812ea3 commit af5883a

2 files changed

Lines changed: 55 additions & 51 deletions

File tree

css3-text/Overview.html

Lines changed: 32 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 28 June 2011</h2>
9090
<dt>This version:
9191

9292
<dd><a href="http://dev.w3.org/csswg/css3-text/Overview.html">$Date:
93-
2011/06/23 18:01:52 $ (CVS $Revision$)</a> <!--
93+
2011/06/28 22:45:27 $ (CVS $Revision$)</a> <!--
9494
<dd><a href="http://www.w3.org/TR/2011/WD-css3-text-20110628/">http://www.w3.org/TR/2011/WD-css3-text-20110628/</a></dd>
9595
-->
9696

@@ -206,9 +206,6 @@ <h2 class="no-num no-toc" id=status>Status of This Document</h2>
206206
<li>the &lsquo;<a href="#hanging-punctuation0"><code
207207
class=property>hanging-punctuation</code></a>&rsquo; property
208208

209-
<li>the &lsquo;<code class=css>all</code>&rsquo; value of the &lsquo;<a
210-
href="#hyphens0"><code class=property>hyphens</code></a>&rsquo; property
211-
212209
<li>the percentage values of &lsquo;<a href="#letter-spacing0"><code
213210
class=property>letter-spacing</code></a>&rsquo; and &lsquo;<a
214211
href="#word-spacing0"><code class=property>word-spacing</code></a>&rsquo;
@@ -492,8 +489,8 @@ <h2 class="no-num no-toc" id=contents>Table of Contents</h2>
492489
<li class=no-num><a href="#script-groups">Appendix E: Scripts and
493490
Spacing</a>
494491

495-
<li class=no-num><a href="#mappings-fulllsize-kana">Appendix F:
496-
&lsquo;<code class=css>fullsize-kana</code>&rsquo; Mappings</a>
492+
<li class=no-num><a href="#full-size-kana-map">Appendix F: &lsquo;<code
493+
class=css>full-size-kana</code>&rsquo; Mappings</a>
497494

498495
<li class=no-num><a href="#appendix-g-full-property-index">Appendix G:
499496
Full Property Index</a>
@@ -678,15 +675,17 @@ <h3 id=text-transform><span class=secno>3.1. </span> <a name=caps-prop></a>
678675
<dd>Converts all small Kana characters to normal Kana. This value is
679676
typically used for ruby annotation text, where all small Kana should be
680677
drawn as large Kana.
681-
<p class=note>Authors using this for ruby text may also want to use
682-
&lsquo;<code class=css>font-variant: ruby</code>&rsquo;. <a
683-
href="#CSS3FONT" rel=biblioentry>[CSS3FONT]<!--{{CSS3FONT}}--></a>
684678
</dl>
685679

686680
<p>The case mapping rules for the character repertoire specified by the
687-
Unicode Standard can be found on the Unicode Consortium Web site. <a
688-
href="#UNICODE" rel=biblioentry>[UNICODE]<!--{{!UNICODE}}--></a> Only
689-
characters belonging to bicameral scripts are affected.
681+
Unicode Standard can be found on the Unicode Consortium Web site <a
682+
href="#UNICODE" rel=biblioentry>[UNICODE]<!--{{!UNICODE}}--></a>. The UA
683+
must use the full case mappings for Unicode characters, including any
684+
conditional casing rules, as defined in Default Case Algorithm section. If
685+
(and only if) the content language of the element is known, then any
686+
applicable language-specific rules must be used as well. (See <a
687+
href="http://www.unicode.org/Public/UNIDATA/SpecialCasing.txt">SpecialCasing.txt</a>)
688+
690689

691690
<p>Although limited, the case mapping process has some language
692691
dependencies. Some well known examples are Turkish and Greek. If the
@@ -718,8 +717,8 @@ <h3 id=text-transform><span class=secno>3.1. </span> <a name=caps-prop></a>
718717
not symbols, punctuation, or white space)
719718

720719
<p>The mappings for small Kana to normal Kana are defined in <a
721-
href="#mappings-fulllsize-kana">&lsquo;<code
722-
class=css>fullsize-kana</code>&rsquo; Mappings</a>.
720+
href="#full-size-kana-map">&lsquo;<code
721+
class=css>full-size-kana</code>&rsquo; Mappings</a>.
723722

724723
<p>When multiple values are specified and therefore multiple
725724
transformations need to be applied, they are applied in the following
@@ -1593,7 +1592,7 @@ <h3 id=hyphens><span class=secno>6.1. </span>Hyphenation Control: the
15931592
<tr>
15941593
<th>Value:
15951594

1596-
<td>none | manual | auto | all
1595+
<td>none | manual | auto
15971596

15981597
<tr>
15991598
<th>Initial:
@@ -1665,13 +1664,6 @@ <h3 id=hyphens><span class=secno>6.1. </span>Hyphenation Control: the
16651664
class=css>@hyphenation-resource</code>&rsquo;). Conditional hyphenation
16661665
characters inside a word, if present, take priority over automatic
16671666
resources when determining hyphenation points within the word.
1668-
1669-
<dt>all
1670-
1671-
<dd>All possible hyphenation points, as would be determined for
1672-
&lsquo;<code class=css>auto</code>&rsquo;, are marked. The visual
1673-
appearance of the mark is UA-dependent. This value is intended for
1674-
debugging. <span class=issue>Do we really need this value?</span>
16751667
</dl>
16761668

16771669
<p>Correct automatic hyphenation requires a hyphenation resource
@@ -5648,16 +5640,6 @@ <h3 class=no-num id=informative-ref>Informative references</h3>
56485640
<dt style="display: none"><!-- keeps the doc valid if the DL is empty -->
56495641
<!---->
56505642

5651-
<dt id=CSS3FONT>[CSS3FONT]
5652-
5653-
<dd>John Daggett. <a
5654-
href="http://www.w3.org/TR/2011/WD-css3-fonts-20110324"><cite>CSS Fonts
5655-
Module Level 3.</cite></a> 24 March 2011. W3C Working Draft. (Work in
5656-
progress.) URL: <a
5657-
href="http://www.w3.org/TR/2011/WD-css3-fonts-20110324">http://www.w3.org/TR/2011/WD-css3-fonts-20110324</a>
5658-
</dd>
5659-
<!---->
5660-
56615643
<dt id=JIS4051>[JIS4051]
56625644

56635645
<dd><cite>Formatting rules for Japanese documents
@@ -5978,10 +5960,24 @@ <h2 class=no-num id=script-groups>Appendix E: Scripts and Spacing</h2>
59785960
</ol>
59795961
</div>
59805962

5981-
<h2 class=no-num id=mappings-fulllsize-kana>Appendix F: &lsquo;<code
5982-
class=css>fullsize-kana</code>&rsquo; Mappings</h2>
5963+
<h2 class=no-num id=full-size-kana-map>Appendix F: &lsquo;<code
5964+
class=css>full-size-kana</code>&rsquo; Mappings</h2>
5965+
5966+
<table align=char char="&#x2794;" class=data>
5967+
<caption>small kana &#x2794; normal kana</caption>
5968+
5969+
<thead>
5970+
<tr>
5971+
<th>A
5972+
5973+
<th>I
5974+
5975+
<th>U
5976+
5977+
<th>E
5978+
5979+
<th>O
59835980

5984-
<table class=data>
59855981
<tbody>
59865982
<tr><!-- Vowels -->
59875983

@@ -6278,7 +6274,7 @@ <h2 class=no-num id=appendix-g-full-property-index>Appendix G: Full
62786274
<tr>
62796275
<td><a class=property href="#hyphens0">hyphens</a>
62806276

6281-
<td>none | manual | auto | all
6277+
<td>none | manual | auto
62826278

62836279
<td>manual
62846280

css3-text/Overview.src.html

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ <h2 class="no-num no-toc" id="status">Status of This Document</h2>
176176
its CR period if there are no (correct) implementations:</p>
177177
<ul>
178178
<li>the 'hanging-punctuation' property
179-
<li>the ''all'' value of the 'hyphens' property
180179
<li>the percentage values of 'letter-spacing' and 'word-spacing'
181180
<li>the 'hyphenate-limit-*' properties
182181
<li>the 'hyphenate-resource' property / ''@hyphenate-resource'' at-rule
@@ -343,14 +342,17 @@ <h3 id="text-transform">
343342
<dd>Converts all small Kana characters to normal Kana.
344343
This value is typically used for ruby annotation text,
345344
where all small Kana should be drawn as large Kana.
346-
<p class="note">Authors using this for ruby text may also
347-
want to use ''font-variant: ruby''. [[CSS3FONT]]</p></dd>
348345
</dl>
349346

350347
<p>The case mapping rules for the character repertoire specified by the
351-
Unicode Standard can be found on the Unicode Consortium Web site.
352-
[[!UNICODE]] Only characters belonging to bicameral scripts are
353-
affected.</p>
348+
Unicode Standard can be found on the Unicode Consortium Web site
349+
[[!UNICODE]]. The UA must use the full case mappings for Unicode
350+
characters, including any conditional casing rules, as defined in
351+
Default Case Algorithm section. If (and only if) the content language
352+
of the element is known, then any applicable language-specific rules
353+
must be used as well. (See
354+
<a href="http://www.unicode.org/Public/UNIDATA/SpecialCasing.txt">SpecialCasing.txt</a>)
355+
</p>
354356

355357
<p>Although limited, the case mapping process has some language dependencies.
356358
Some well known examples are Turkish and Greek. If the content language
@@ -376,7 +378,7 @@ <h3 id="text-transform">
376378
(i.e. not symbols, punctuation, or white space)</p>
377379

378380
<p>The mappings for small Kana to normal Kana are defined in
379-
<a href="#mappings-fulllsize-kana">''fullsize-kana'' Mappings</a>.</p>
381+
<a href="#full-size-kana-map">''full-size-kana'' Mappings</a>.</p>
380382

381383
<p>When multiple values are specified and therefore multiple
382384
transformations need to be applied, they are applied in the following
@@ -1067,7 +1069,7 @@ <h3 id="hyphens">Hyphenation Control: the 'hyphens' property</h3>
10671069
<td><dfn>hyphens</dfn>
10681070
<tr>
10691071
<th>Value:
1070-
<td>none | manual | auto | all
1072+
<td>none | manual | auto
10711073
<tr>
10721074
<th>Initial:
10731075
<td>manual
@@ -1120,11 +1122,6 @@ <h3 id="hyphens">Hyphenation Control: the 'hyphens' property</h3>
11201122
Conditional hyphenation characters inside a word, if present,
11211123
take priority over automatic resources when determining
11221124
hyphenation points within the word.
1123-
<dt>all
1124-
<dd>All possible hyphenation points, as would be determined for ''auto'',
1125-
are marked. The visual appearance of the mark is UA-dependent. This
1126-
value is intended for debugging. <span class="issue">Do we really need
1127-
this value?</span>
11281125
</dl>
11291126

11301127
<p>Correct automatic hyphenation requires a hyphenation resource
@@ -4438,9 +4435,20 @@ <h2 class="no-num" id="script-groups">Appendix E: Scripts and Spacing</h2>
44384435
</ol>
44394436
</div>
44404437

4441-
<h2 class="no-num" id="mappings-fulllsize-kana">Appendix F: ''fullsize-kana'' Mappings</h2>
4438+
<h2 class="no-num" id="full-size-kana-map">Appendix F: ''full-size-kana'' Mappings</h2>
44424439

4443-
<table class="data">
4440+
<table class="data" align=char char="&#x2794;">
4441+
<caption>small kana &#x2794; normal kana</caption>
4442+
<thead>
4443+
<tr>
4444+
<th>A
4445+
<th>I
4446+
<th>U
4447+
<th>E
4448+
<th>O
4449+
</tr>
4450+
</thead>
4451+
<tbody>
44444452
<tr>
44454453
<!-- Vowels -->
44464454
<td>&#x30A1; U+30A1 &#x2794; &#x30A2; U+30A2</td>

0 commit comments

Comments
 (0)