Bug Tracker

Opened 6 years ago

Closed 6 years ago

Last modified 5 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 6 years ago by dmethvin

  • Milestone changed from 1.4.2 to 1.4.5
  • Priority set to undecided
  • Status changed from new to open

comment:2 Changed 6 years ago by snover

  • Owner set to snover
  • Status changed from open to assigned

comment:4 Changed 6 years ago by snover

  • Priority changed from undecided to blocker

comment:5 Changed 6 years ago by Colin Snover

  • Resolution set to fixed
  • Status changed from assigned to closed

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 6 years ago by jitter

  • Milestone changed from 1.4.5 to 1.5

Move fixed tickets to appropriate milestone

Note: See TracTickets for help on using tickets.