RESOLVED DUPLICATE of bug 45719 74642
Adding a checked radio to a DocumentFragment affects radio buttons in document
https://bugs.webkit.org/show_bug.cgi?id=74642
Summary Adding a checked radio to a DocumentFragment affects radio buttons in document
Jordan Harband
Reported 2011-12-15 12:51:30 PST
I have a test case here: http://jsfiddle.net/xvFYK/8/ The test works in Firefox, Opera, and IE, but fails in Safari/Chrome. Basically, it seems adding anything to an element that's not in the document tree should never affect the document tree, but when a checked radio button is added to such an element (ie a DocumentFragment or a div), a checked radio button in the document tree with the same name attribute will become unchecked.
Attachments
Alexey Proskuryakov
Comment 1 2011-12-15 17:01:08 PST
By extension, dynamically removing radios from document should remove them from their radio groups.
Kent Tamura
Comment 2 2011-12-21 23:55:38 PST
Let me merge this into Bug 45719 because of the common root cause. *** This bug has been marked as a duplicate of bug 45719 ***
Note You need to log in before you can comment on or make changes to this bug.