4 ms·
> white-space: nowrap should be white-space: no-wrap and line wrapping behavior should not have been added to white-space > word-wrap/overflow-wrap should not e
by alsonote 11y ago
> white-space: nowrap should be white-space: no-wrap
and line wrapping behavior should not have been added to white-space
> word-wrap/overflow-wrap should not exist. Instead, overflow-wrap should be a keyword on 'white-space', like nowrap (no-wrap)
Well, which is the mistake?
- bsimpson 11y agoIt's so broken that you can only use text-overflow: ellipsis if you've also set white-space to nowrap.
- TabAtkins 11y agoBoth, either. ^_^ Having wrapping behavior split the way it is today is wrong - either all of it should be in white-space, or none of it should be. (Moving it all out into a separate property is probably best, so white-space can keep just being about white-space itself.)