Re: [w3c/webcomponents] HTMLElement.prototype.offsetParent leaks a node inside a shadow tree (#497)

An alternative solution is to walk up `offsetParent` enough to find the first offset parent that is [unclosed node](http://w3c.github.io/webcomponents/spec/shadow/#dfn-unclosed-node) to the context object.

This is probably a better fix since authors won't be able to determine the location of an element which is assigned to a slot otherwise.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/497#issuecomment-217597882

Received on Saturday, 7 May 2016 03:09:53 UTC