- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Mon, 29 Aug 2022 20:54:20 +0000
- To: public-css-archive@w3.org
Right, !important solely affects the cascade algorithm for the element the style is applied to; inherited values continue to act as normal regardless of what cascade origin/etc they were generated from. This is almost always what you want; the various inputs to the cascade (specificity, origin, importance, etc) are rarely what you want for determining *all* style resolution, or else you'd have to make all your styles increasingly specific as you target things further down the tree. Since there's a trivial way to get this effect when you *do* want it (append `" *"` to your selector to spam it onto all children), I'm going to close this issue. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7650#issuecomment-1230850757 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 29 August 2022 20:54:21 UTC