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

[css3-regions] offsetParent for element collected inside a named flow

From: Mihnea-Vlad Ovidenie <mihnea@adobe.com>
Date: Fri, 22 Mar 2013 13:32:54 +0000
To: "www-style@w3.org" <www-style@w3.org>
CC: Alan Stearns <stearns@adobe.com>
Message-ID: <CD722A26.32E80%mihnea@adobe.com>

CSSRegions spec [1] has a paragraph describing the computation of offset*
attributes for elements laid out in a named flow. However, it does not
mention explicitly if/how collecting an element inside a named flow
affects the way *offsetParent* [2] is determined.

For instance, in the case of the following markup:

<div id="contentNode" style="flow-into: flow">

What should *document.getElementById("contentNode").offsetParent* return?

In my opinion, it should return *null*, meaning that the algorithm of
determining the closest positioned containing element for an element
collected in a named flow should stop at the named flow level (and return
null in this case).


[1] http://dev.w3.org/csswg/css3-regions/#cssomview-offset-attributes

Received on Friday, 22 March 2013 13:33:26 UTC

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