Skip to main content

Bug Tracker

Side navigation

#5619 closed bug (fixed)

Opened December 09, 2009 11:14AM UTC

Closed December 10, 2009 04:59AM UTC

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 (2)

Changed December 09, 2009 11:42AM UTC by stepanvr comment:1

Here's a test page:

http://www.stepanreznikov.com/playground/jquery/test.html

An error is in Firefox 2.

Changed December 10, 2009 04:59AM UTC by john comment:2

component: unfilledcore
resolution: → fixed
status: newclosed