- From: Brad Kemper via GitHub <sysbot+gh@w3.org>
- Date: Fri, 13 Oct 2023 13:28:35 +0000
- To: public-css-archive@w3.org
> In a way, this is similar to text-decoration: it's not inherited, but it covers the whole subtree rooted at the element you target. That didn't seem obvious in the spec language. In reading, your response, I was thinking that sounds like `text-decoration`, but I'm not seeing how that's better. I've always found that aspect of text decoration confounding (and initially confusing), because I couldn't then turn the underline off for any descendants if it was on in an ancestor. It still got underlined, even with a computed value of `none`. Is that how it would be with a non-inherited `avoid` too? I hope to be able to say "try to avoid breaking this span of text, but if it doesn't fit on the line, break it within this sub-span." With inheritance, it seems a more clear that I can do that, and won't be absolutely bound by a decision of an ancestor, like with `text-decoration`. -- GitHub Notification of comment by bradkemper Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9448#issuecomment-1761521728 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 13:28:37 UTC