- From: Vadym Myrgorod <notifications@github.com>
- Date: Tue, 05 Jul 2022 08:34:53 -0700
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 5 July 2022 15:35:08 UTC
This ticket is inspired by https://github.com/WICG/webcomponents/issues/795. It would be nice not only to select a slotted content by name, but also a slotted children of the slotted content. For example you can easily select `p` tags with `::slotted(p)`: ``` <x-example> <p>1</p> <p>2</p> <p>3</p> </x-example> ``` But when it comes to the named slot you can't select `p` tags if they are children pf that slot: ``` <x-example> <div slot="top"> <p>Top 1</p> <p>Top 2</p> <p>Top 3</p> </div> </x-example> ``` See https://codepen.io/dealancer/pen/vYRNPOd for a complete example. -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/961 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/issues/961@github.com>
Received on Tuesday, 5 July 2022 15:35:08 UTC