#7911 closed bug (invalid)
Jquery uses DOM before it's fully loaded [IE8 , opacity, cssHooks , style.filter]
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | 1.next |
Component: | unfiled | Version: | 1.4.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
In IE8 Jquery tries to get the opacity of an element before the DOM is fully loaded, it seems.
Thus resulting in an error : "style.filter" is empty or not an object (see screenshot, which is in Dutch, sorry about that)
code snippet where it crashes (from jquery-1.4.4.js) :
if ( !jQuery.support.opacity ) { jQuery.cssHooks.opacity = { get: function( elem, computed ) { // IE uses filters for opacity return ropacity.test((computed && elem.currentStyle ? elem.currentStyle.filter : elem.style.filter) || "") ? (parseFloat(RegExp.$1) / 100) + "" : computed ? "1" : ""; },
On elem.style.filter .
Change History (4)
comment:2 Changed 12 years ago by
Owner: | set to [email protected]… |
---|---|
Status: | new → pending |
Thanks for submitting a ticket on this bug. Could you please also provide us with a complete example of it on [jsFiddle http://jsfiddle.net] so that our team can fully evaluate the issue you're describing?
comment:3 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!