Polymer/ShadowDOM — pull request #503 by nazar-pc (2014-09-03 01:49:18+00:00)
Title: Fix for "TypeError: Argument 1 of Window.getComputedStyle does not imple...

...ment interface Element."

I got that error on canvas element, and the reason was that because of event bubbling event comes to `document` where this method fails.
Did not tested for error `TypeError: Argument 1 of Window.getDefaultComputedStyle does not implement interface Element.` but it may fix it in some cases as well.