[Webkit-unassigned] [Bug 45719] New: Adding "checked" radio element to DOM, isn't checked

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 13 16:32:13 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=45719

           Summary: Adding "checked" radio element to DOM, isn't checked
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://le.bytestudios.com/1.php
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: joel at bytestudios.com


http://le.bytestudios.com/1.php


$('body').append('<label><input checked="checked" type="radio" name="checkme">I should be checked</label>');

only if you have a name attribute, the checkbox will not be checked after this is run.
if you remove the name attribute everything works fine.
this can be seen on chrome as well.
windows and mac.

this works:
$('body').append('<label><input checked="checked" type="radio">I am checked</label>');

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list