Skip to main content

Bug Tracker

Side navigation

#11217 closed bug (fixed)

Opened January 24, 2012 02:49PM UTC

Closed March 03, 2012 03:13AM UTC

Last modified April 04, 2013 09:05PM UTC

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:
Description

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/

Attachments (0)
Change History (6)

Changed January 24, 2012 03:34PM UTC by sindresorhus comment:1

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.

Changed February 09, 2012 03:04PM UTC by rwaldron comment:2

milestone: None1.next

Changed March 03, 2012 03:13AM UTC by Sindre Sorhus comment:3

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

Changed March 03, 2012 03:30AM UTC by dmethvin comment:4

milestone: 1.next1.7.2

Changed April 04, 2013 08:51PM UTC by m_gol comment:5

_comment0: 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.1365109127488459

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.

P.S. Is there any way to be able to test on Safari 5.1 while keeping 6.0 on OS X? With IE there are at least VMs available for testing.

Changed April 04, 2013 09:05PM UTC by dmethvin comment:6

It's closed?

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