Bug Tracker

Opened 9 years ago

Closed 8 years ago

Last modified 7 years ago

#11217 closed bug (fixed)

Append problem with webkit

Reported by: MrMamen Owned by:
Priority: low Milestone: 1.7.2
Component: manipulation Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:


When appending a checked radio button made on the fly, it is not checked in webkit browsers. (Chrome & Safari) This works in jQuery prior to version 1.7.1, it also works in Opera, Firefox and even IE. Appending a checked checkbox works fine. http://jsfiddle.net/mrmamen/YZNhp/

Change History (6)

comment:1 Changed 9 years ago by sindresorhus

Component: unfiledmanipulation
Priority: undecidedlow
Status: newopen

Simplified jsfiddle

Really weird, it works if I change the order of the "name" and "checked" attributes.

Confirmed in Chrome 16 and Safari. Works in Firefox 9.

comment:2 Changed 9 years ago by Rick Waldron

Milestone: None1.next

comment:3 Changed 8 years ago by Sindre Sorhus

Resolution: fixed
Status: openclosed

Fix #11217. WebKit clone() loses check if name follows checked attribute.

Please folks, hold your questions. We don't explain em, we just fix em.

Changeset: 92cd9990971a097b6639607b0d1172e9fe6d0dca

comment:4 Changed 8 years ago by dmethvin

Milestone: 1.next1.7.2

comment:5 Changed 7 years ago by m_gol

Is this still needed? Chrome & Safari 6 work correctly in this test with jQuery 1.7.1. Unfortunately, I don't have access to Safari 5.1 & older iOS versions.

Version 0, edited 7 years ago by m_gol (next)

comment:6 Changed 7 years ago by dmethvin

It's closed?

You can use Browserstack for testing, drop by #jquery-dev on IRC and we can get you set up.

Note: See TracTickets for help on using tickets.