Re: [csswg-drafts] [css-shadow-parts][css-scoping] Allow ::part after ::slotted (#3896)

Ran into this myself. TabGroup component that has an option where the tabs "stretch". The text in the tabs needs to be centered. Wanted to do this:

```css
:host([align-tabs='stretch']) {
  ::slotted(sl-tab)::part(title) {
    justify-content: center;
  }
}
```

-- 
GitHub Notification of comment by jpzwarte
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3896#issuecomment-2668528062 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 19 February 2025 12:35:10 UTC