Skip to content

Commit 2f8e026

Browse files
author
Tantek Çelik
committed
use "character" because it's more readable, and then reference "grapheme cluster" at the end of the text-overflow definition for precision and UAX29 goodness.
1 parent 8b4c1aa commit 2f8e026

2 files changed

Lines changed: 21 additions & 4 deletions

File tree

css3-ui/Overview.html

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@
5555
src="http://www.w3.org/Icons/w3c_home" width=72> </a>
5656
<h1>CSS Basic User Interface Module Level 3</h1>
5757

58-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 26 January
58+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 1 February
5959
2011</h2>
6060

6161
<dl>
6262
<dt>This version:</dt>
63-
<!-- <dd><a href="http://www.w3.org/TR/2011/ED-css3-ui-20110126">http://www.w3.org/TR/2011/ED-css3-ui-20110126</a></dd> -->
63+
<!-- <dd><a href="http://www.w3.org/TR/2011/ED-css3-ui-20110201">http://www.w3.org/TR/2011/ED-css3-ui-20110201</a></dd> -->
6464

6565
<dd><a
6666
href="http://dev.w3.org/csswg/css3-ui/">http://dev.w3.org/csswg/css3-ui/</a>
@@ -2922,7 +2922,7 @@ <h3 id=text-overflow><span class=secno>9.2. </span> Overflow Ellipsis: the
29222922
<dl>
29232923
<dt><dfn id=clip title="text-overflow:clip"><code>clip</code></dfn>
29242924

2925-
<dd>Clip text as appropriate. Glyphs may be only partially rendered.
2925+
<dd>Clip text as appropriate. Characters may be only partially rendered.
29262926

29272927
<dt><dfn id=ellipsis
29282928
title="text-overflow:ellipsis"><code>ellipsis</code></dfn>
@@ -2944,6 +2944,10 @@ <h3 id=text-overflow><span class=secno>9.2. </span> Overflow Ellipsis: the
29442944
text-overflow ellipsis).
29452945
</dl>
29462946

2947+
<p> The term "character" is used in this property definition for better
2948+
readability and means "grapheme cluster" <a href="#UAX29"
2949+
rel=biblioentry>[UAX29]<!--{{!UAX29}}--></a> for implementation purposes.
2950+
29472951
<div class=example>
29482952
<p style="display:none">Example(s):</p>
29492953

@@ -3826,6 +3830,15 @@ <h3 class="no-num no-toc" id=normative-references>Normative References</h3>
38263830
</dd>
38273831
<!---->
38283832

3833+
<dt id=UAX29>[UAX29]
3834+
3835+
<dd>Mark Davis. <a
3836+
href="http://www.unicode.org/unicode/reports/tr29/tr29-9.html"><cite>Text
3837+
Boundaries.</cite></a> 25 March 2005. Unicode Standard Annex #29. URL: <a
3838+
href="http://www.unicode.org/unicode/reports/tr29/tr29-9.html">http://www.unicode.org/unicode/reports/tr29/tr29-9.html</a>
3839+
</dd>
3840+
<!---->
3841+
38293842
<dt id=URI>[URI]
38303843

38313844
<dd>T. Berners-Lee; R. Fielding; L. Masinter. <a

css3-ui/Overview.src.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1548,7 +1548,7 @@ <h3 id="text-overflow">
15481548

15491549
<dl>
15501550
<dt><dfn title="text-overflow:clip"><code>clip</code></dfn></dt>
1551-
<dd>Clip text as appropriate. Glyphs may be only partially rendered.</dd>
1551+
<dd>Clip text as appropriate. Characters may be only partially rendered.</dd>
15521552

15531553
<dt><dfn title="text-overflow:ellipsis"><code>ellipsis</code></dfn></dt>
15541554
<dd>Render an ellipsis character (U+2026) to represent clipped text
@@ -1567,6 +1567,10 @@ <h3 id="text-overflow">
15671567
deeper descendants without text-overflow ellipsis).</dd>
15681568
</dl>
15691569

1570+
<p>
1571+
The term "character" is used in this property definition for better readability and means "grapheme cluster" [[!UAX29]] for implementation purposes.
1572+
</p>
1573+
15701574
<div class="example"><p style="display:none">Example(s):</p>
15711575
<h4 class="no-num no-toc">text-overflow examples</h4>
15721576
<p>These examples demonstrate setting the text-overflow of a block-level element that has text which overflows its dimensions:

0 commit comments

Comments
 (0)