- From: Lea Verou via GitHub <sysbot+gh@w3.org>
- Date: Mon, 10 Jun 2024 11:28:27 +0000
- To: public-css-archive@w3.org
Possibly too late to change the design, but I just had an idea: What if we do introduce the rule, call it `@group`, and instead of introducing identifiers in the preamble, we have a `revert-group` value that would work similarly to `revert-layer`, i.e. would revert the declaration to what it would have been if the group was not applied. Then groups have a purpose that is not turned on by default: they allow authors to override the IACVT behavior with an actual fallback, which is *super* useful. Especially in combination with something like [`if()`](https://github.com/w3c/csswg-drafts/issues/10064): ```css @group { border-radius: if(style(--button-shape: pill), infinity, revert-group); } ``` -- GitHub Notification of comment by LeaVerou Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10234#issuecomment-2158086973 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 10 June 2024 11:28:28 UTC