Polymer/CustomElements — pull request #61 by blois (2013-09-13 01:10:17+00:00)
Title: Updating enterView/leaveView callbacks to apply only to primary document...

The enterView/leaveView callbacks currently fire if the element is within its ownerDocument rather than in the view. This updates the inDocument check to apply to the top-level document.