W3C home > Mailing lists > Public > www-style@w3.org > November 2013

[css-regions][css3-break] Fragmenting abs. pos. elements with static positioning

From: Andrei Bucur <abucur@adobe.com>
Date: Wed, 20 Nov 2013 13:17:19 +0000
To: fantasai <fantasai.lists@inkedblade.net>, Rossen Atanassov <Rossen.Atanassov@microsoft.com>
CC: www-style list <www-style@w3.org>
Message-ID: <246B1F2E-C22D-4690-B2F9-B17C667C4BB4@adobe.com>

Sorry in advance if this topic is covered by the css3-box or css3-break specs. Let's assume a document defines a div with some content and inside it there's a box with position absolute, but no coordinates set. This means it will have the used value for top the static position inside the parent div (see http://goo.gl/Is11MV ). If the abs. pos. div is found in the overflow and the parent box has overflow: hidden set, all the content will be clipped out besides the abs. pos. child because it has a different containing block (the parent element is not positioned).

Considering the situation above, what should happen in the case described here http://goo.gl/PPBf54 ? There's a fragmentation context and the location of the blue div is affected by its static position inside the green div (as stated in the previous paragraph). The css3-break specs states an UA may consider as monolithic any element with overflow: hidden. This means the position of the blue box is determined without applying a break inside the invisible green box content. Basically the green box remains contained inside the first fragment container. What about the blue box? It has a different containing block that may span multiple fragment containers. Does it stay in the first fragment container with the green box? Is it affected by the break and moved to the second fragment container?

Or to rephrase the issue, how should an UA fragment a non-monolithic element that is located relative to the content of a monolithic element?

Received on Wednesday, 20 November 2013 13:16:44 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:16 UTC