Re: [w3c/webcomponents] Allowing CSS combinators postfixed to the ::slotted() selector (#889)

> @calebdwilliams I think for the dialog usecase named slots are a reasonable solution. You then could do `slot[name="cancel"]::slotted(button) { whatever }` or what not.

For that particular use case, where the slotted thing is a simple `<button>`, that would work. But it is easy to imagine use cases where an end user is asked to supply certain types of DOM trees. (For example, even with builtins we have `<table>`, `<thead>`, `<tr>`, `<td>`, etc).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/889#issuecomment-672268966

Received on Tuesday, 11 August 2020 20:43:47 UTC