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

Re: [css3-regions] regions forming stacking contexts

From: Vincent Hardy <vhardy@adobe.com>
Date: Thu, 2 Feb 2012 23:07:55 -0800
To: "robert@ocallahan.org" <robert@ocallahan.org>
CC: Alex Mogilevsky <alexmog@microsoft.com>, Brad Kemper <brad.kemper@gmail.com>, "www-style@w3.org Style" <www-style@w3.org>
Message-ID: <827C96CF-0259-4597-AC16-EAB0D41E3B2A@adobe.com>

Regarding the initial containing block, I am not sure what is missing from the spec. can you clarify? Section 4.1 is explicit:

"The edges of the first region in a region chain associated with a named flow establish the rectangle that is the initial containing block of the named flow."

So why do you think the positioning of absolute elements in undefined in the specification?


On Feb 2, 2012, at 11:16 PM, Robert O'Callahan wrote:

On Thu, Feb 2, 2012 at 11:55 PM, Alex Mogilevsky <alexmog@microsoft.com<mailto:alexmog@microsoft.com>> wrote:
Different positioning for regions shouldn't be a problem though. 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 (first page is the ICB) and it better be same in regions. And I don't even want to think of abs pos elements in regions not being positioned inside regions (which could possibly be considered with this line of thinking).

The initial containing block is the container for the root element. I don't think we should talk about "the ICB for" content that's not the root element.

You're quite right that this is not defined now, I'm just asking for it to be defined. I'm not 100% sure what you just proposed, but it sounds like in my example you would say that all content flowing into the regions gets R1 as the default containing block for abs-pos elements. That's probably workable, but it definitely needs to be specced, and it may surprise authors that abs-pos content flowing into R2 is positioned in R1 even if R2 is also position:relative. Rendering content positioned relative to R1 in the stacking context for R2 may be interesting.

And as Boris points out, the behavior of absolute positioning with pagination is highly underspecified already. Regions just make it worse.
Received on Friday, 3 February 2012 07:08:30 UTC

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