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

Re: [csswg-drafts] HTMLElement.prototype.offsetParent leaks a node inside a shadow tree

From: Hayato Ito via GitHub <sysbot+gh@w3.org>
Date: Wed, 22 Jun 2016 04:28:09 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-227640034-1466569688-sysbot+gh@w3.org>
My intention is :  C.offsetParent == document.body.


> Return the nearest ancestor element of the element for which at 
least one of the following is true and terminate this algorithm if 
such an ancestor is found: [DOM]

*Ancestor* in this context should be interpreted as *ancestor in a 
flat tree*. https://drafts.csswg.org/css-scoping/#flattening


-- 
GitHub Notification of comment by hayatoito
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/159#issuecomment-227640034 
using your GitHub account
Received on Wednesday, 22 June 2016 04:28:14 UTC

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