W3C home > Mailing lists > Public > www-style@w3.org > March 2015

RE: Text Overflow With ...

From: Greg Whitworth <gwhit@microsoft.com>
Date: Tue, 10 Mar 2015 17:42:16 +0000
To: ACJ <ego@acjs.net>, "www-style@w3.org" <www-style@w3.org>, Florian Rivoal <florian@rivoal.net>
Message-ID: <BN3PR0301MB08686AA03C7FB2F5A37A1F21A4180@BN3PR0301MB0868.namprd03.prod.outlook.com>
Simon Ferndriger schreef op 4-3-2015 om 13:40:
> A really great CSS enhancement would be, if I could tell a specific 
> tag, to cut the containing text to its maximal width and add 3 dots at 
> the end.
>
> [...]
>
> if I could set the following CSS:
> var {
>   text-overflow:cut;
>   text-overflow-after:'...';
>   /* or any similar syntax */
> }
>

> Sounds like something that can currently be achieved with http://dev.w3.org/csswg/css-ui-3/#propdef-text-overflow (with a max-width and perhaps display:inline-blck).

Yes, this is actually a major undertaking that Florian (added in the To line) is trying to tackle. It isn't just about adding an ellipse or being able to control what content is visible but also the event model and how to fragment this properly. I do believe that the overflow and the fragment specs are the best ones to pay attention to regarding these changes, is that correct Florian?

Greg
Received on Tuesday, 10 March 2015 17:42:43 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:30 UTC