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

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 UTC