- From: Noam Rosenthal via GitHub <sysbot+gh@w3.org>
- Date: Tue, 01 Oct 2024 20:52:49 +0000
- To: public-css-archive@w3.org
So to summarize the direction: - A `@property` inside a shadow root makes the property private to that scope and not inherited from the ancestor scope - There are two options about how to deal with `::host` and `::part` 1. The platform decides. Probably, internal declarations take precedence for`::host`, and external one for `::part`, with perhaps an option to override with `!important`. 2. Make CSS properties tree-scoped (as in, an element can have parallel values for the same name based on the style's tree scope). This has nice ergonomics but adds complexity, because now a CSS property key is not just a string (but rather a string/scope tuple), and elements can have two values for the same (string) property key. Hoping to get @emilio's take on this :) -- GitHub Notification of comment by noamr Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10541#issuecomment-2387053868 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 1 October 2024 20:52:50 UTC