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

We need to match `offsetParent` so that when a node's container block is inside a shadow tree, we don't leak a node inside a shadow tree.

Chrome seems to return `null` in such cases.  It's somewhat undesirable in that this makes the feature useless (since you can't determine where your containing block is) but I don't have a strong opinion about this as long as we don't leak a node inside a shadow tree.

---
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

Received on Saturday, 7 May 2016 00:12:32 UTC