W3C home > Mailing lists > Public > www-style@w3.org > May 2011

Re: [css3-ui] text-overflow and multicol

From: Alan Gresley <alan@css-class.com>
Date: Sun, 08 May 2011 04:33:40 +1000
Message-ID: <4DC59084.8080004@css-class.com>
To: fantasai <fantasai.lists@inkedblade.net>
CC: Håkon Wium Lie <howcome@opera.com>, "www-style@w3.org" <www-style@w3.org>
On 7/05/2011 10:30 PM, fantasai wrote:
> On 05/06/2011 11:47 PM, Håkon Wium Lie wrote:
>> Also sprach fantasai:
>> > During a discussion about text-overflow, someone asked what happens
>> > with multi-col. It occurred to me that it might be handy to ellipse
>> > lines that overflow the column rather than clipping them halfway
>> > through the column gap.
>> It seems reasonable to allow this. But it's not specific to multicol
>> elements, is it? Formatters should also be allowed to do this for
>> normal elements, I believe.
> For inline content that is a direct descendant of a block container
> element, they do if 'text-overflow: ellipsis' is specified.
> ~fantasai

I note that Safari does something when I add 'text-overflow: ellipsis' 
to this test page offline [1]. The test as it stands has Gecko/WebKit 
behavior vs Trident/Presto behavior.

Another test.



div {
   overflow: auto;
   margin: 1em;
   height: 6em;
   -o-text-overflow: ellipsis;
   text-overflow: ellipsis;
.float {
   float: left;
.inline-block {
   display: inline-block;

span { background: green; border-right: 2px solid red }
span span { border-right: 2px solid lime }




Is multi-col going to be different in respect to interoperability and 
will I be able to reveal via scrolling the final capitalized 'X'? I 
can't scroll to the final capitalized 'X in WebKit in the above test.


Alan Gresley
Received on Saturday, 7 May 2011 18:34:12 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:45 UTC