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

Okay. We can fix this by using "unclosed node".

https://drafts.csswg.org/cssom-view/#dom-htmlelement-offsetparent
> 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:

This can be:

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





-- 
GitHub Notification of comment by hayatoito
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/159#issuecomment-224188270 
using your GitHub account

Received on Tuesday, 7 June 2016 06:08:57 UTC