Side navigation
#15227 closed bug (fixed)
Opened September 02, 2014 05:35PM UTC
Closed September 02, 2014 09:22PM UTC
Remove optimization to make jQuery compatible with Google's Polymer project
Reported by: | nazar-pc | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 1.12/2.2 |
Component: | css | Version: | 2.1.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When Polymer platform is used together with jQuery, sometimes error happening:
TypeError: Argument 1 of Window.getDefaultComputedStyle does not implement interface Element.
Simplest reproducing is here I was able to prepare (happens on button mouseover): http://jsfiddle.net/p788rqq9/1/
Pull request is here: https://github.com/jquery/jquery/pull/1647
Attachments (0)
Change History (5)
Changed September 02, 2014 05:40PM UTC by comment:1
Changed September 02, 2014 05:44PM UTC by comment:2
component: | unfiled → css |
---|---|
milestone: | None → 1.12/2.2 |
priority: | undecided → high |
status: | new → open |
We should get rid of getDefaultComputedStyle
anyway. As far as solving your issue immediately, nazar-pc, did this help? https://github.com/Polymer/polymer/issues/686
Changed September 02, 2014 05:49PM UTC by comment:3
I've solved it easier:
delete window.getDefaultComputedStyle;
Changed September 02, 2014 05:57PM UTC by comment:4
We should get rid of getDefaultComputedStyle anyway
Totally, we tried it, and it makes things harder instead of simplifying it
Changed September 02, 2014 09:22PM UTC by comment:5
resolution: | → fixed |
---|---|
status: | open → closed |
Not sure why it didn't close automatically, fixed with https://github.com/jquery/jquery/commit/274feb53cc9a99633dfac785d8b3b837d192c43c
Reproducible in Firefox (latest versions, most likely doesn't depend on specific version).