Re: [webcomponents] Define the behavior of '::slotted' (the former name is '::content'). (#331)

> `A::slotted(simple_selector)` matches a node B if and only if:
>
> 1. Selector *A* matches a slot, called *SLOT*
> 2. B is a member of the *distributed nodes* of SLOT
> 3. and, *simple_selector* matches B

Ops. I meant "compound selector" here, instead of a "simple selector". The motivation is to disallow "combinator" here.

Thus, this should be:

`A::slotted(compound_selector)` matches a node B if and only if:

1. Selector *A* matches a slot, called *SLOT*
2. B is a member of the *distributed nodes* of SLOT
3. and, *compound_selector* matches B


---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/331#issuecomment-169200030

Received on Wednesday, 6 January 2016 02:21:10 UTC