W3C home > Mailing lists > Public > www-style@w3.org > September 2013

Re: [css3-page][css-gcpm] Styling elements differently based on whether they appear on a left or right page

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 11 Sep 2013 22:29:57 -0700
Message-ID: <CAAWBYDB2O-+sAuNZuXOuE46Suq15BiSFFLatJOLkt=pubMEh+g@mail.gmail.com>
To: Lea Verou <lea@verou.me>
Cc: Simon Pieters <simonp@opera.com>, Håkon Wium Lie <howcome@opera.com>, Brad Kemper <brad.kemper@gmail.com>, Alan Stearns <stearns@adobe.com>, www-style list <www-style@w3.org>
On Wed, Sep 11, 2013 at 3:56 PM, Lea Verou <lea@verou.me> wrote:
> On Sep 12, 2013, at 00:50, "Simon Pieters" <simonp@opera.com> wrote:
>> On Thu, 12 Sep 2013 00:26:43 +0200, Lea Verou <lea@verou.me> wrote:
>>
>> So the selector was
>>
>> article::page(left) p
>>
>> now consider
>> [snip]
>
> Actually, that’s a very good point, but not for the reason you posted it. This is not possible AT ALL if ::page() is a pseudoelement, as elements cannot be nested in pseudoelements: “the pseudo-element must appear after the compound selector that represents the subjects of the selector” [1]

We're removing that restriction.  It made some sense for the 2.1
pseudo-elements, but makes less and less as we move into the future.

~TJ
Received on Thursday, 12 September 2013 05:30:44 UTC

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