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

Re: [css3-regions] regions forming stacking contexts

From: Brad Kemper <brad.kemper@gmail.com>
Date: Thu, 2 Feb 2012 07:35:23 -0800
Message-Id: <BD96455F-F4D4-475C-AB6A-7E8583FCCE20@gmail.com>
Cc: "www-style@w3.org" <www-style@w3.org>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
On Feb 2, 2012, at 5:05 AM, Boris Zbarsky <bzbarsky@MIT.EDU> wrote:

> On 2/2/12 5:55 AM, Alex Mogilevsky wrote:
>> The initial containing block for named flow is the first region. Not sure it is clearly defined now, but it is that way in paged media
> 
> Browsers have some significant implementation differences in terms of how they handle paged media here.
> 
> A simple example:  Say you have two rectangular regions, one 100px tall and the second 200px tall.  You have a child with the following styles:
> 
>  <span style="position: absolute; top: 80px; left: 0; height: 100px;
>               width: 100%; background: yellow">
>  </span>
> 
> Do you get a 20px tall yellow box in the first region and an 80px tall yellow box in the second one?  Or just a 20px tall one in the first region?  Or something else?  What are the widths if the two regions have different widths?

Those are good questions. Let's find out what webkit, gecko, opera, and IE do for paged media, and try to get what they most agree on into the paged media spec.
Received on Thursday, 2 February 2012 15:35:54 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:50 GMT