[csswg-drafts] [cssom-view] Algorithm of `Element.offsetParent`

upsuper has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [cssom-view] Algorithm of `Element.offsetParent` ==
The current spec says `offsetParent` should return an ancestor if
> The computed value of the `position` property is not `static`.

It doesn't seem to me it is quite useful to query an ancestor who has 
some specific `position` value. Isn't it supposed to return the first 
ancestor which is a containing block of absolutely-positioned 
descendants?

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/409 using your GitHub 
account

Received on Tuesday, 16 August 2016 01:15:28 UTC