Bug Tracker

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:


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)

jquery-1.4a1-test-css.html (636 bytes) - added by stepanvr 13 years ago.

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by stepanvr

Attachment: jquery-1.4a1-test-css.html added

comment:1 Changed 13 years ago by stepanvr

Here's a test page: http://www.stepanreznikov.com/playground/jquery/test.html

An error is in Firefox 2.

comment:2 Changed 13 years ago by john

Component: unfilledcore
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.