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

Hmm... Both arguments make sense to me. :(
The problem is: "Preventing accidental leak vs Honoring developer 
ergonomics".
  
However, as far as I know, `offsetParent` looks the only exceptional 
API which would return a node in a shadow tree, even though there is 
no explicit intention there. Given that, it might make sense to be 
conservative, as @rniwa suggested.

I know that this decision might be painful for developers, but we must
 pay the cost for consistency, I guess.




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

Received on Friday, 6 January 2017 06:12:22 UTC