Skip to content

Commit 0536fa4

Browse files
author
Tantek Çelik
committed
text-overflow: clip rather than ellipse inline atomic elements. web compat, implementation interop, least surprise.
1 parent de10d24 commit 0536fa4

2 files changed

Lines changed: 15 additions & 12 deletions

File tree

css3-ui/Overview.html

Lines changed: 8 additions & 8 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 30 November
58+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 12 December
5959
2011</h2>
6060

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

6565
<dd><a
6666
href="http://dev.w3.org/csswg/css3-ui/">http://dev.w3.org/csswg/css3-ui/</a>
@@ -87,7 +87,7 @@ <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 30 November
8787

8888
<dt>Editor:
8989

90-
<dd class="vcard h-card"><a class="fn p-fn url u-url"
90+
<dd class="vcard h-card"><a class="fn p-name url u-url"
9191
href="http://tantek.com" lang=tr>Tantek &Ccedil;elik</a> (<a
9292
class="company org h-org" href="http://www.mozilla.org/">Mozilla
9393
Foundation</a>, and before at <a
@@ -3017,12 +3017,12 @@ <h3 id=text-overflow><span class=secno>9.2. </span> Overflow Ellipsis: the
30173017
value applies to the right edge.
30183018

30193019
<p> For the ellipsis and string values, implementations must hide
3020-
characters and <a
3020+
characters at the applicable edge(s) of the line as necessary to fit the
3021+
ellipsis/string. Place the ellipsis/string immediately adjacent to the
3022+
applicable edge(s) of the remaining inline content. When an <a
30213023
href="http://www.w3.org/TR/CSS21/visuren.html#inline-boxes"> atomic
3022-
inline-level elements</a> at the applicable edge(s) of the line as
3023-
necessary to fit the ellipsis/string. Place the ellipsis/string
3024-
immediately adjacent to the applicable edge(s) of the remaining inline
3025-
content.
3024+
inline-level element</a> is at an applicable edge of the line, such an
3025+
element is to be clipped rather than ellipsed.
30263026

30273027
<h4 class="no-num no-toc" id=ellipsing-details>ellipsing details</h4>
30283028

css3-ui/Overview.src.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ <h2 class="no-num no-toc">[LONGSTATUS] [DATE]</h2>
7575
<dt>Previous version:</dt>
7676
<dd><a href="http://www.w3.org/TR/2004/CR-css3-ui-20040511/">http://www.w3.org/TR/2004/CR-css3-ui-20040511/</a></dd>
7777
<dt>Editor:</dt>
78-
<dd class="vcard h-card"><a lang="tr" class="fn p-fn url u-url" href="http://tantek.com">Tantek &Ccedil;elik</a>
78+
<dd class="vcard h-card"><a lang="tr" class="fn p-name url u-url" href="http://tantek.com">Tantek &Ccedil;elik</a>
7979
(<a class="company org h-org" href="http://www.mozilla.org/">Mozilla Foundation</a>,
8080
and before at <a href="http://www.microsoft.com/">Microsoft Corporation</a>)
8181
&lt;<a class="email u-email"
@@ -1634,12 +1634,15 @@ <h3 id="text-overflow">
16341634
<p>
16351635
For the ellipsis
16361636
and string values,
1637-
implementations must hide characters and
1638-
<a href="http://www.w3.org/TR/CSS21/visuren.html#inline-boxes">
1639-
atomic inline-level elements</a>
1637+
implementations must hide characters
16401638
at the applicable edge(s) of the line as necessary to fit the ellipsis/string.
16411639
Place the ellipsis/string immediately adjacent
16421640
to the applicable edge(s) of the remaining inline content.
1641+
When an
1642+
<a href="http://www.w3.org/TR/CSS21/visuren.html#inline-boxes">
1643+
atomic inline-level element</a>
1644+
is at an applicable edge of the line,
1645+
such an element is to be clipped rather than ellipsed.
16431646
</p>
16441647

16451648
<h4 class="no-num no-toc">ellipsing details</h4>

0 commit comments

Comments
 (0)