- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 14 Feb 2024 22:31:29 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed ``[css-shadow-parts] Should `::part():lang()` and `::part():dir()` be valid?``, and agreed to the following: * `RESOLVED: :lang()/:dir() do apply to ::part` <details><summary>The full IRC log of that discussion</summary> <fantasai> scribenick: fantasai<br> <fantasai> TabAtkins: Question is whether :lang() and :dir() should work on ::part pseudo-elements<br> <fantasai> TabAtkins: I think from specs they do, because ::part() allows all pseudo-classes to work except those that expose internal structure<br> <fantasai> TabAtkins: we want authors to be able to rearrange their shadow DOM with minimal disruption to authors<br> <fantasai> TabAtkins: The question was whether :lang()/:dir() expose structural information<br> <fantasai> TabAtkins: I believe the spirit of the restricitons aren't violated by these<br> <fantasai> TabAtkins: and use cases are reasonable to justify<br> <fantasai> emilio: could go either way, but it exposes potentially values of attributes in the shadow tree<br> <fantasai> emilio: could argue that you don't know where the info comes from<br> <fantasai> emilio: before discussing I had slight pref for not allowing, now could go either way<br> <TabAtkins> fantasai: with my i18n hat on<br> <dholbert> fantasai (IRC): with my i18n hat on<br> <TabAtkins> fantasai: i think if you're allowed to style these, you shoudl be allowed to use :lang() and :dir() to control that<br> <TabAtkins> fantasai: lots of styling that's lang or direction dependent, and if we're gonna allow it in the first place we shoudl allow it to be done proeprtly<br> <TabAtkins> fantasai: if you're exposing these parts, they'll probably contain things you've passed to the shadow, so you need to style them<br> <TabAtkins> emilio: lang and dir don't propagate to the stuff you've put in<br> <fantasai> fantasai: if you're allowing styling, you should allow selecting against lang/dir<br> <fantasai> TabAtkins: Are there objections to allowing :lang()/:dir() to match ::parts?<br> <fantasai> [tense silence]<br> <fantasai> TabAtkins: OK, then. I already have WPT for this<br> <fantasai> RESOLVED: :lang()/:dir() do apply to ::part<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9795#issuecomment-1944843994 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 14 February 2024 22:31:32 UTC