Skip to content

Commit bf6184a

Browse files
committed
[css-text] Broaden allowance for tailoring and put in example from James Clark <http://lists.w3.org/Archives/Public/www-style/2013Sep/0542.html>
1 parent 192fa1c commit bf6184a

File tree

2 files changed

+34
-6
lines changed

2 files changed

+34
-6
lines changed

css-text/Overview.html

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
rel=dcterms.rights>
1111
<meta content="CSS Text Module Level 3 (CSS3 Text)" name=dcterms.title>
1212
<meta content=text name=dcterms.type>
13-
<meta content=2013-09-16 name=dcterms.date>
13+
<meta content=2013-09-23 name=dcterms.date>
1414
<meta content="Elika J. Etemad" name=dcterms.creator>
1515
<meta content="Koji Ishii" name=dcterms.creator>
1616
<meta content=W3C name=dcterms.publisher>
@@ -68,13 +68,13 @@
6868

6969
<h1>CSS Text Module Level 3</h1>
7070

71-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 16 September
71+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 23 September
7272
2013</h2>
7373

7474
<dl>
7575
<dt>This version:</dt>
7676
<!--
77-
<dd><a href="http://www.w3.org/TR/2013/WD-css3-text-20130916/">http://www.w3.org/TR/2013/WD-css3-text-20130916/</a></dd>
77+
<dd><a href="http://www.w3.org/TR/2013/WD-css3-text-20130923/">http://www.w3.org/TR/2013/WD-css3-text-20130923/</a></dd>
7878
-->
7979

8080
<dd><a
@@ -477,7 +477,21 @@ <h3 id=terms><span class=secno>1.3. </span> Terminology</h3>
477477
<em>extended grapheme cluster</em> definition in <a href="#UAX29"
478478
rel=biblioentry>[UAX29]<!--{{!UAX29}}--></a> (not the <em>legacy grapheme
479479
cluster</em> definition). The UA may further tailor the definition as
480-
allowed by Unicode. Within this specification, the ambiguous term <dfn
480+
required by typographical tradition.
481+
482+
<div class=example>
483+
<p>For example, to properly letter-space the Thai word คำ (U+0E04 +
484+
U+0E33), the U+0E33 needs to be decomposed into U+0E4D + U+0E32, and then
485+
the extra letter-space inserted before the U+0E32: คํ า.
486+
487+
<p>A slightly more complex example is น้ำ (U+0E19 + U+0E49 +
488+
U+0E33). In this case, normal Thai shaping will first decompose the
489+
U+0E33 into U+0E4D + U+0E32 and then swap the U+0E4D with the U+0E49,
490+
giving U+0E19 + U+0E4D + U+0E49 + U+0E32. As before the extra
491+
letter-space is then inserted before the U+0E32: นํ้ า.
492+
</div>
493+
494+
<p>Within this specification, the ambiguous term <dfn
481495
id=character>character</dfn> is used as a friendlier synonym for <a
482496
href="#grapheme-cluster0"><i>grapheme cluster</i></a>. See <a
483497
href="http://www.w3.org/TR/css3-writing-modes/#character-properties">Characters

css-text/Overview.src.html

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,22 @@ <h3 id="terms">
245245
script. The term is described in detail in the Unicode Technical
246246
Report: Text Boundaries [[!UAX29]]. This specification uses the
247247
<em>extended grapheme cluster</em> definition in [[!UAX29]] (not
248-
the <em>legacy grapheme cluster</em> definition). The UA may further
249-
tailor the definition as allowed by Unicode. Within this specification,
248+
the <em>legacy grapheme cluster</em> definition).
249+
The UA may further tailor the definition as required by typographical tradition.
250+
251+
<div class="example">
252+
<p>For example,
253+
to properly letter-space the Thai word คำ (U+0E04 + U+0E33),
254+
the U+0E33 needs to be decomposed into U+0E4D + U+0E32,
255+
and then the extra letter-space inserted before the U+0E32: คํ า.
256+
257+
<p>A slightly more complex example is น้ำ (U+0E19 + U+0E49 + U+0E33).
258+
In this case, normal Thai shaping will first decompose the U+0E33 into U+0E4D + U+0E32
259+
and then swap the U+0E4D with the U+0E49, giving U+0E19 + U+0E4D + U+0E49 + U+0E32.
260+
As before the extra letter-space is then inserted before the U+0E32: นํ้ า.
261+
</div>
262+
263+
<p>Within this specification,
250264
the ambiguous term <dfn>character</dfn> is used as a friendlier synonym
251265
for <i>grapheme cluster</i>.
252266
See <a href="http://www.w3.org/TR/css3-writing-modes/#character-properties">Characters and Properties</a>

0 commit comments

Comments
 (0)