Skip to main content

Bug Tracker

Side navigation

#6655 closed bug (fixed)

Opened June 10, 2010 02:56PM UTC

Closed January 10, 2011 12:41AM UTC

Last modified March 17, 2012 11:12PM UTC

Regression in buildFragment in IE

Reported by: zano Owned by: snover
Priority: blocker Milestone: 1.5
Component: manipulation Version: 1.4.2
Keywords: IE,clone Cc:
Blocked by: Blocking:
Description

jQuery 1.4 caches small fragments. Node.cloneNode is called to reused the cached fragments.

IE does not clone correctly the defaultValue of input elements.

For example,

$('<input type="text" value="TEST" />')[0].defaultValue

returns "TEST" in Firefox but "" in IE.

This prevents forms to be resetted correctly.

Attachments (0)
Change History (6)

Changed November 20, 2010 03:19PM UTC by dmethvin comment:1

milestone: 1.4.21.4.5
priority: → undecided
status: newopen

Changed December 30, 2010 04:55AM UTC by snover comment:2

owner: → snover
status: openassigned

Changed December 30, 2010 05:47AM UTC by snover comment:3

Changed December 30, 2010 05:47AM UTC by snover comment:4

priority: undecidedblocker

Changed January 10, 2011 12:41AM UTC by Colin Snover comment:5

resolution: → fixed
status: assignedclosed

Ensure that buildFragment clones elements properly in all browsers. Fixes #3879, #6655. Also improves form element clone tests and fixes bugs in $.fn.clone exposed by these new test cases related to the values of checkboxes and radio buttons in IE.

Changeset: b14f02899e74c429effadd88527ffde17650149a

Changed January 14, 2011 10:20PM UTC by jitter comment:6

milestone: 1.4.51.5

Move fixed tickets to appropriate milestone