- From: 一丝 via GitHub <sysbot+gh@w3.org>
- Date: Thu, 30 May 2024 08:13:17 +0000
- To: public-css-archive@w3.org
I'm concerned that one-off keywords will greatly increase the burden on the writer's memory. I have a `@feature` proposal, This is flexible enough to essentially do what JS currently does to create empty elements for detection. But I am not sure it's feasible. ```css @feature --align-content-on-block { display: block; align-content: center; } @supports --align-content-on-block { .foo { /* do something */ } } @feature --detecting-at-rule { @container style(--foo: true) {} } ``` -- GitHub Notification of comment by yisibl Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3559#issuecomment-2138955279 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 30 May 2024 08:13:17 UTC