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

Hi,

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">
</div>

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).

Thoughts?

[1] http://dev.w3.org/csswg/css3-regions/#cssomview-offset-attributes
[2] 
http://dev.w3.org/csswg/cssom-view/#extensions-to-the-htmlelement-interface

Cheers,
Mihnea

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