[Webkit-unassigned] [Bug 124852] New: "disabled" property on input type button still responds to touchstart events
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 25 12:19:53 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=124852
Summary: "disabled" property on input type button still
responds to touchstart events
Product: WebKit
Version: 528+ (Nightly build)
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P2
Component: Event Handling
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jglawrence at gmail.com
This bug shows up when using touch events in place of click events. I have specifically seen this on iOS and Android, up to 7.0.3 & 4.0 respectively. When a button has the "disabled" property, touch events will still trigger the button's event handlers while click events will not. The desired behavior is that the event handlers are ignored as the button is disabled.
To reproduce, create an input element with type="button". Set the input to "disabled" with an event handler bound to it. Run this code on an iOS or Android device, click the 'disabled' button, and you will see you event handler code run.
--
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