- From: Kurt Catti-Schmidt <notifications@github.com>
- Date: Tue, 01 Oct 2024 16:27:56 -0700
- To: w3ctag/design-reviews <design-reviews@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3ctag/design-reviews/issues/1000@github.com>
こんにちは TAG-さん! I'm requesting an early TAG design review of Declarative CSS Modules and the Declarative Shadow DOM adoptedstylesheets attribute. When developing web components, web authors often encounter challenges with distributing global styles into shadow roots and sharing styles across different shadow roots. [Declarative shadow DOM (DSD)](https://developer.chrome.com/docs/css-ui/declarative-shadow-dom) enables creation of shadow DOM without JS, but adding styles to DSD requires the developer to either use JS to put a shared stylesheet into `adoptedStyleSheets`, or to duplicate the styles in a `<style>` element for each component instance. We propose an enhancement to CSS module scripts that would allow developers to create CSS module scripts declaratively without a network request, and apply them to DSDs without the use of JS. - Explainer¹: https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/ShadowDOM/explainer.md - User research: Included in Explainer - Security and Privacy self-review²: This feature has no known privacy/security concerns. - GitHub repo: https://github.com/whatwg/html/ - Primary contacts: - Kurt Catti-Schmidt (@KurtCattiSchmidt), Microsoft, developer - Tien Mai (@phumai98), Microsoft, program manager - Alison Maher (@alisonmaher), Microsoft, developer - Dan Clark (@dandclark), Microsoft, developer - Organization/project driving the design: [Web Components CG](https://w3c.github.io/webcomponents-cg/) - Multi-stakeholder feedback³: - Chromium comments: - Mozilla comments: https://github.com/mozilla/standards-positions/issues/1081 - WebKit comments: https://github.com/WebKit/standards-positions/issues/407 Further details: - [X] I have reviewed the TAG's [Web Platform Design Principles](https://www.w3.org/TR/design-principles/) - The group where the incubation/design work on this is being done (or is intended to be done in the future): Discussion has taken place in [Web Components CG](https://w3c.github.io/webcomponents-cg/); we plan to pursue stage advancement in WHATWG - The group where standardization of this work is intended to be done ("unknown" if not known): WHATWG - Existing major pieces of multi-implementer review or discussion of this design: minutes from TPAC 2024 Breakout sessions: https://github.com/w3c/tpac2024-breakouts/issues/31#issuecomment-2387141476 and https://github.com/w3c/tpac2024-breakouts/issues/29#issuecomment-2387152702 - Major unresolved issues with or opposition to this design: - This work is being funded by: Microsoft -- Reply to this email directly or view it on GitHub: https://github.com/w3ctag/design-reviews/issues/1000 You are receiving this because you are subscribed to this thread. Message ID: <w3ctag/design-reviews/issues/1000@github.com>
Received on Tuesday, 1 October 2024 23:28:00 UTC