[Webkit-unassigned] [Bug 35056] New: Disabled menu options are still submitted.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 17 13:45:08 PST 2010


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

           Summary: Disabled menu options are still submitted.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: me at evancarroll.com


Created an attachment (id=48934)
 --> (https://bugs.webkit.org/attachment.cgi?id=48934)
Click the location button, notice the disabled form is submitted (successful)

Background
--------

The `disabled` attribute on form controls is described here:
http://www.w3.org/TR/html401/interact/forms.html#h-17.12.1
For reference here is a snippet of the contents:

17.12.1 Disabled controls
Disabled controls do not receive focus.
Disabled controls are skipped in tabbing navigation.
Disabled controls cannot be successful. ## violation

Successful is defined here:
http://www.w3.org/TR/html401/interact/forms.html#successful-controls
For reference here is a snipped of the contents:

A successful control is "valid" for submission. Every successful control has
its control name paired with its current value as part of the submitted form
data set. A successful control must be defined within a FORM element and must
have a control name.

Bug
------

Currently, in webkit, a disabled <option> will still be submitted on the form.
Firefox behaves properly.

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