- From: Lea Verou via GitHub <sysbot+gh@w3.org>
- Date: Tue, 23 Jul 2024 11:57:40 +0000
- To: public-css-archive@w3.org
> > Nothing is polluting `CSSStyleDeclaration`, please read the first post more carefully? > > @LeaVerou Please read my comment more carefully: "I would be strongly opposed to not exposing the necessary information via CSSOM", which clashes with your proposal in the first post of not exposing it via CSSOM. I did. Exposing it via the CSS OM doesn't mean exposing it via every single CSS OM API. If `.style` does the most commonly needed thing, and `.styleMap` gives you all the information, that sounds like it would meet your requirements? --- > I would be strongly opposed to doing this as a rule. That said, there may be value in having an @-rule *as well*, as sugar for applying `!revertable` to a bunch of declarations. But as it was pointed out, it should probably not be done from the start, so that authors don’t use it to wrap all their declarations without thinking. The entire reason `!revertable` might work is because the idea is an !flag is _not_ going to be used everywhere. -- GitHub Notification of comment by LeaVerou Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10443#issuecomment-2245035301 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 23 July 2024 11:57:41 UTC