Re: [css3-regions] regions forming stacking contexts

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 UTC