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

relatedly:
> if a paragraph is avoiding wraps where possible, so would its children (such as a long <b> element)

You cannot set up `wrap-inside: avoid` on a paragraph, as that's a property that only applies to inline elements. And for good reason: it would not make sense to say of a paragraph "don't wrap, unless that would lead to overflow, in which case do wrap". That's exactly the same as allowing wrapping. It does make sense, however, on an inline which is inside of a block which is allowed to wrap.

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


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

Received on Friday, 13 October 2023 02:58:12 UTC