Re: [selectors] Assistance requested in figuring out the data model of pseudo-elements

On Wed, Nov 26, 2014 at 11:21 AM, Simon Pieters <simonp@opera.com> wrote:
> On Wed, 26 Nov 2014 18:43:41 +0100, Tab Atkins Jr. <jackalmage@gmail.com>
> wrote:
>> We mostly intend it for the "full element" pseudo-elements - ::before
>> and ::after.  We can probably limit it like that.explicitly.
>
> If we're only interested in ::before and ::after, can't we make things
> simple and just mint a new pseudo-element that means ::before and ::after?
> (Like :any-link means :link and :visited.)

That doesn't extend well to any future "block-like" pseudo-elements
that are likely to want to be grouped at times, such as ::marker or
any expansions to ::before and ::after as have been proposed in the
past.

~TJ

Received on Wednesday, 26 November 2014 19:27:41 UTC