- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Mon, 15 Aug 2022 04:03:12 +0000
- To: public-css-archive@w3.org
> > If I set out to distinguish a property/descriptor based on whether it applies to an element or an at-rule, I'm in trouble. > > What exactly is your issue here? Would you consider the declarations of a keyframe rule to apply on an element or to the parent `@keyframes`? If I'm not mistaken, they are property declarations applying to an element but I can only say so because *descriptor declarations are always part of an at-rule*. Thanks for the reply. My aim was to show that it is not easy to grasp the nuances between a descriptor and a property. After posting my previous comment, I became aware of the issue about the current coupling between properties, `CSSStyleDeclaration`, and at-rules, and the intent to create new interfaces to fix this problem. But it seems that `CSSPageRule.style.setProperty(...)` would still have to be supported for back-compat. As for `@nest` and CSS Syntax 9.2, it may be better to discuss how to make it easier for spec readers to grasp the difference between a descriptor and a property, in a separate issue, sorry for the noise on this one. -- GitHub Notification of comment by cdoublev Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5969#issuecomment-1214589509 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 15 August 2022 04:03:14 UTC