- From: robglidden via GitHub <sysbot+gh@w3.org>
- Date: Thu, 03 Apr 2025 23:57:28 +0000
- To: public-css-archive@w3.org
@mhochk Container style queries with CSS custom properties work `@sheet`-like in DSDs as you describe. At least for me in Chrome!  And I am guessing that as [container style queries](https://developer.mozilla.org/en-US/docs/Web/CSS/@container#container_style_queries) grow beyond [just testing for custom CSS properties](https://caniuse.com/css-container-queries-style), there will be even more ways to enable this technique, say by a CSS selector checking for an attribute on the :host? To me this implies that even if this is indeed a viable `@sheet`-like approach, the core unsolved issue for sharing styles across Declarative Shadow DOMs remains of how to [enable references](https://github.com/whatwg/html/issues/11019) to inline <style> elements and [related](https://github.com/whatwg/html/issues/7540) [caching](https://github.com/whatwg/html/issues/9232#issuecomment-2762763257), [instancing](https://github.com/w3c/csswg-drafts/issues/11509#issuecomment-2657632448) and aligning with [declarative CSS modules](https://github.com/whatwg/html/issues/10673) issues. -- GitHub Notification of comment by robglidden Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11509#issuecomment-2777236276 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 3 April 2025 23:57:29 UTC