-
Notifications
You must be signed in to change notification settings - Fork 756
Open
Labels
css-ui-4Current WorkCurrent Work
Description
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 even 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" 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 #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.
zachleat and designLCN
Metadata
Metadata
Assignees
Labels
css-ui-4Current WorkCurrent Work