WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
Bug 54411
Disabled button with span still clickable
https://bugs.webkit.org/show_bug.cgi?id=54411
Summary
Disabled button with span still clickable
tekkub
Reported
2011-02-14 13:54:02 PST
If you have a button that contains a span, and has been disabled, clicking on the span will still trigger a click event. You can see a working example here:
http://tekkub.net/chrome-does-not-disable
I've confirmed this behaviour in Chrome 9.0.597.102, Chrome 10.0.648.45, Safari 5.0.3, and Android 2.2.2.
Attachments
Test case
(672 bytes, text/html)
2011-03-15 13:38 PDT
,
Emil A Eklund
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Patrick R. Gansterer
Comment 1
2011-02-19 08:23:44 PST
Reproduced with
r79118
. Mozilla and Opera show the expected behavior.
Emil A Eklund
Comment 2
2011-03-15 13:38:45 PDT
Created
attachment 85854
[details]
Test case I cannot reproduce this using a normal javascript listener which seems to suggest that it's a problem with how jquerys live listeners work rather than with the webkit event dispatching code for buttons. Please see attached test.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug