W3C home > Mailing lists > Public > www-style@w3.org > October 2012

Re: [css3-values][css3-page] Viewport-percentage length units in the page context.

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Sat, 20 Oct 2012 18:47:32 +0200
Message-ID: <5082D5A4.1040804@kozea.fr>
To: Anton Prowse <prowse@moonhenge.net>
CC: WWW Style <www-style@w3.org>, "Tab Atkins Jr." <jackalmage@gmail.com>, Leif Arne Storset <lstorset@opera.com>
Le 20/10/2012 18:18, Anton Prowse a écrit :
> 5.1.2 of css3-values ED says:
>
>     # The viewport-percentage lengths are relative to the size of
>     # the initial containing block.
>
> and Section 4 of css3-page ED says:
>
>     # The edges of the page area on the first page establish the
>     # rectangle that is the initial containing block of the document.
>
> There's only one ICB in paged media (indeed in any media), and it's
> established by the first page.  Hence vw etc are relative to that, and
> don't vary depending on which page you're currently working with.

The same section of css3-values also says:

   # Note that Paged Media defines how the initial containing block
   # transforms across varying page widths. This also affects these
   # units.

Should the ICB really be only on the first page? That seems weird, with 
the rest of the layout rules. (abspos but also simply the width of the 
root block box.)

-- 
Simon Sapin
Received on Saturday, 20 October 2012 16:48:25 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:01 GMT