[Webkit-unassigned] [Bug 80419] New: for select element: 'required' attribute is not respected on Safari, Harmattan
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Mar 6 07:32:44 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=80419
Summary: for select element: 'required' attribute is not
respected on Safari, Harmattan
Product: WebKit
Version: 528+ (Nightly build)
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P2
Component: Forms
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: joel.parks at nokia.com
Depends on: 50380
Created an attachment (id=130380)
--> (https://bugs.webkit.org/attachment.cgi?id=130380&action=review)
form with select element containing 'required' attribute for testing
Detected on Harmattan N9 and iPhone 4S and Safari 5.1.2 (7534.52.7) on Win7
STEPS LEADING TO PROBLEM AND OUTCOME:
1. load attached file selectRequiredTesting.html
2. ensure that none of the options are marked in the select element
3. attempt to submit the form using the Submit button
4. ERROR: the form submission completes
EXPECTED OUTCOME:
The presence of the 'required' attribute on the select element in the
form should cause the browser to ensure that the 'value' of the select element
is defined before form submission. Ideally it would abort the submit and
trigger an alert indicating the select element[s] with 'required' attribute set
and select 'value' undefined so that the user could correct the omission.
This feature is a lightweight method of enforcing user input rules and should
be supported as defined in the html5 specification:
http://dev.w3.org/html5/spec/Overview.html#attr-select-required
--
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