Opened 13 years ago
Closed 13 years ago
#5619 closed bug (fixed)
hide() on a node imported from XML and not yet appended to the DOM causes an error in FF2
Reported by: | stepanvr | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | core | Version: | 1.4a1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
var node = (new DOMParser()).parseFromString('<p xmlns="http://www.w3.org/1999/xhtml">test test</p>', 'text/xml'); node = document.importNode(node.documentElement, true); $(node).hide(); $('#test').append(node);
Causes an error in FF2:
elem.ownerDocument.defaultView has no properties file:///Z:/Tests/jquery-1.4a1.js Line 4049
Attachments (1)
Change History (3)
Changed 13 years ago by
Attachment: | jquery-1.4a1-test-css.html added |
---|
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
Component: | unfilled → core |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Here's a test page: http://www.stepanreznikov.com/playground/jquery/test.html
An error is in Firefox 2.