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

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