Re: [csswg-drafts] [css-text-4] add 'avoid' to text-wrap-wrap (#9448)

Stated another way:

If I have `white-space: nowrap` on a parent, and `white-space: normal` on a child, the child can wrap. This is because the non-wrapping behavior is only applied if the computed value after inheritance is `nowrap`. That's what I'm looking for with `text-wrap-mode: avoid`, so they all work in a consistent way, which is also the way I would prefer. So `text-wrap-mode: avoid` would only avoid wrapping on the text that had or inherited that value, and it would inherit by default. 

I'm not seeing the downside here. This seems much preferable to emulating the oddities of text-decoration, and how it affects from a distance children that don't inherit its value. 

-- 
GitHub Notification of comment by bradkemper
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9448#issuecomment-1763456350 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 15 October 2023 17:36:44 UTC