- From: Simon Pieters <simonp@opera.com>
- Date: Thu, 12 Sep 2013 00:50:45 +0200
- To: "Lea Verou" <lea@verou.me>
- Cc: 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 Thu, 12 Sep 2013 00:26:43 +0200, Lea Verou <lea@verou.me> wrote: >> Ah, OK. But then the selector doesn't do the right thing if the p also >> spans between two pages. > > Why? So the selector was article::page(left) p now consider +--------------------------+ | page left | | +----------------------+ | | | article | | | | +------------------+ | | | | | p blah blah | | | +--------------------------+ +--------------------------+ | | | blah end of p | | | | [ +------------------+ | | | | end of article | | | +----------------------+ | | page right | +--------------------------+ So article::page(left) is a pseudo-element that is between the article and the p on the left page, and the p is a child of that. The problem is that the p on the right page is the same element as that on the left page, so either it matches both article::page(left) p and article::page(right) p, or it matches neither. Unless I have misunderstood the proposal and that `::page(left) p` is the pseudo-element wrapping just "p blah blah", rather than ::page(left) is the pseudo-element wrapping "article" and has p as child? -- Simon Pieters Opera Software
Received on Wednesday, 11 September 2013 22:44:00 UTC