[csswg-drafts] [css-overflow] Consider support for ellipsizing only whole words

phistuck has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-overflow] Consider support for ellipsizing only whole words ==
https://drafts.csswg.org/css-overflow/ - I think.
Authors should be able to control the way ellipsizing happens - whether it shows incomplete words, or only whole words. I would event split the incomplete words way to two sub-ways -
- Exclude any punctuation right before the ellipsis even though the available space allows it to render ("don't" and "Person<Female>" can be be "don..." and "Person..." instead of "Don'..." and "Person<", respectively). Basically have another step before actually adding the ellipsis - truncate up to the first letter or number and then add an ellipsis.
- Include any punctuation right before the ellipsis as the available space allows it to render

The lack of this feature (controlling whole versus incomplete) as well as https://github.com/w3c/csswg-drafts/issues/390 render `text-overflow: ellipsis;` useful in very few cases, because usability experts (at least those with which I work) usually do not want incomplete words to show up on the screen.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1574 using your GitHub account

Received on Friday, 30 June 2017 07:15:01 UTC