Bug 39065 - Can't submit a form with <input type=checkbox required>
Summary: Can't submit a form with <input type=checkbox required>
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P1 Major
Assignee: Kent Tamura
URL: http://crbug.com/44048
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2010-05-13 07:24 PDT by Kent Tamura
Modified: 2010-05-14 01:52 PDT (History)
2 users (show)

See Also:


Attachments
Proposed patch (4.30 KB, patch)
2010-05-13 07:41 PDT, Kent Tamura
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Tamura 2010-05-13 07:24:17 PDT
Open the following HTML:

<form action=...>
 <input type=checkbox name=term required>
 <input type=submit>
</form>

check the checkbox, and click the submit button.
The form is not submitted though it is valid.

Note:
 - if the default value of the checkbox is "checked", this bug doesn't occur.
 - .validity.valid and .validity.valueMissing of the checkbox work correctly.


The fix will be uploaded soon.
Comment 1 Kent Tamura 2010-05-13 07:41:22 PDT
Created attachment 55978 [details]
Proposed patch
Comment 2 Kent Tamura 2010-05-13 15:33:31 PDT
Comment on attachment 55978 [details]
Proposed patch

Clearing flags on attachment: 55978

Committed r59390: <http://trac.webkit.org/changeset/59390>
Comment 3 Kent Tamura 2010-05-13 15:33:40 PDT
All reviewed patches have been landed.  Closing bug.
Comment 4 Mark Rowe (bdash) 2010-05-14 01:52:54 PDT
<rdar://problem/7983888>