- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Fri, 02 Aug 2024 22:52:37 +0000
- To: public-css-archive@w3.org
Yes, I'm just going to close this issue. `!important`, while historically somewhat confusing, is decades old and long-established at this point. It's not used often, and when it is, it's rather obvious that the property isn't "not important", since it wins over most other things. As noted, there are also parsing concerns with using any other character besides `!` at this point, due to custom properties accepting any syntax. Aliases are something we very intentionally use only rarely, when the previous name is just actively bad for some reason. (For example, some `-webkit-*` prefixed properties that became necessary for the web ended up aliasing a proper standardized name.) -------- For the separate issue of wanting more levels of "importance", that's what we designed [Cascade Layers](https://drafts.csswg.org/css-cascade-5/#layering) for. We don't anticipate expanding `!important` itself, and in general `!important` can be better replaced by Cascade Layers. (Tho we do reserve the right to add additional `!`-prefixed things in the future, if we find something that requires it.) -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9778#issuecomment-2266233929 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 2 August 2024 22:52:38 UTC