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

Just adding my 2️⃣ 🪙  -- for SSR rendering of web components being able to use `::slotted::part` would allow you handle correct styling of nested components from the shadow dom styles of the parent component to have it styled correctly before the web component is hydrated on the front end. 

Currently any of the existing solutions like passing props or styles down to child components will cause page shift for the component related to the nested rules not being present at load time before JS fires.

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


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

Received on Wednesday, 27 March 2024 15:22:19 UTC