Bug Tracker

Opened 13 years ago

Closed 12 years ago

Last modified 11 years ago

#6655 closed bug (fixed)

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.

Change History (6)

comment:1 Changed 12 years ago by dmethvin

Milestone: 1.4.21.4.5
Priority: undecided
Status: newopen

comment:2 Changed 12 years ago by snover

Owner: set to snover
Status: openassigned

comment:4 Changed 12 years ago by snover

Priority: undecidedblocker

comment:5 Changed 12 years ago by Colin Snover

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

comment:34 Changed 12 years ago by jitter

Milestone: 1.4.51.5

Move fixed tickets to appropriate milestone

Note: See TracTickets for help on using tickets.