W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2016

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

From: Xidorn Quan via GitHub <sysbot+gh@w3.org>
Date: Tue, 16 Aug 2016 01:15:21 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-171298894-1471310119-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:22 UTC