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

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

From: François REMY <francois.remy.dev@outlook.com>
Date: Sat, 27 Jul 2013 20:47:58 +0200
Message-ID: <DUB120-W23C505F8283B2BA36CB735A56B0@phx.gbl>
To: Lea Verou <lea@w3.org>
CC: "www-style@w3.org" <www-style@w3.org>
> My use case is the incredibly common case
> of sidebars (for notes, figures etc). The
> sidebar should be on the left in left
> pages and on the right in right pages.

This looks similar to me to the benefits the ::region pseudo element gives you.
If we consider physical paging as a special kind of overflow fragmentation, we should be able to specify a ::nth-page() pseudo class that applies on the :root element in a similar fashion to how :nth-fragment would apply to the overflow fragment spec.
That requires some more work, however, since the overflow fragments spec is still in its infancy right now. 		 	   		  
Received on Saturday, 27 July 2013 18:48:25 UTC

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