[csswg-drafts] [css-text-overflow:ellipsis] options to only insert ellipsis at word boundaries. (#4406)

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

== [css-text-overflow:ellipsis] options to only insert ellipsis at word boundaries. ==
Currently both `text-overflow:ellipsis` and `line-clamp` CSS properties can clip words in the middle and insert ellipsis in the middle of a word.

This can result in inappropriate words being show to the users. 

Having an option to only allow clipping at word boundaries can eliminate this problem. This can leave extra whitespace at the end, but might be an acceptable trade off. 

For example:
Instead of:
```
-------------------
Lorem ipsum do... |
-------------------
```
one may prefer:
```
-------------------
Lorem ipsum ...   |
-------------------
```


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

Received on Wednesday, 9 October 2019 23:51:01 UTC