- From: Benjamin Poulain <[email protected]>
- Date: Wed, 03 Sep 2014 19:51:49 -0700
- To: "Tab Atkins Jr." <[email protected]>
- Cc: www-style list <[email protected]>
On Sep 3, 2014, at 4:21 PM, Tab Atkins Jr. <[email protected]> wrote: > On Wed, Sep 3, 2014 at 3:32 PM, Benjamin Poulain <[email protected]> wrote: >> For some reason I believed combinators were not allowed inside pseudo class. >> It looks like there is no such restriction in the definition. The various pseudo classes accepting selectors take ?selector list? as an argument. Selector list is defined including ?complex selectors?. >> >> For example, the new nth-child with a selector list could be: >> :nth-child(2n of a>b+c, d>e>f) >> >> Is that the case? Am I missing something? > > You're correct, that is allowed. Unless they specify a compound > selector list; "selector list" by itself refers to a list of complex > selectors, which allow combinators. Thanks for clarifying this. Benjamin
Received on Thursday, 4 September 2014 02:53:57 UTC