W3C home > Mailing lists > Public > www-style@w3.org > July 2014

Re: [css-scoping] Clarification about :host and pseudo-class combination usage

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 25 Jul 2014 11:06:47 -0700
Message-ID: <CAAWBYDBHaKKx7q-JNOeGfjmzKdMvjE=V2h3uDKjWoiGAhDJXCA@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: www-style list <www-style@w3.org>
On Fri, Jul 25, 2014 at 2:12 AM, fantasai <fantasai.lists@inkedblade.net> wrote:
> On 07/25/2014 07:46 AM, Tab Atkins Jr. wrote:
>> I've been trying to decide how much of pseudo-elements belongs in
>> Selectors, and how much belongs in the theoretical Pseudo-Elements
>> spec we haven't written yet.  I should probably just put the syntax
>> and theoretical part into Selectors properly, to help make issues like
>> this clearer.
> I think you should assume that the theoretical Pseudo-Elements spec
> doesn't exist, and that pseudo-elements are defined in the various
> layout specs related to them, e.g.
>   ::before and ::after in Generated Content
>   ::shadow and ::first-line in Scoped Styles
>   ::first-letter in Text, maybe?
>   ::selection and ::placeholder in UI
> and Selectors can just index them all. We might not actually do this,
> but that's kindof where we're at right now.

Right, the *definitions* of each won't be in Selectors, but the data
model for them (and how they interact with the definitions of "complex
selector" and "compound selector", for instance) doesn't exist
anywhere either right now, and I'm thinking that belongs in Selectors.

Received on Friday, 25 July 2014 18:07:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:45 UTC