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

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