Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Unified Diff: Source/WebCore/html/HTMLSelectElement.cpp

Issue 11363189: Merge 133860 - User can change a disabled select (drop down box) (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1312/
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/forms/select/select-disabled-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/html/HTMLSelectElement.cpp
===================================================================
--- Source/WebCore/html/HTMLSelectElement.cpp (revision 134179)
+++ Source/WebCore/html/HTMLSelectElement.cpp (working copy)
@@ -1440,6 +1440,11 @@
if (!renderer())
return;
+ if (disabled()) {
+ HTMLFormControlElementWithState::defaultEventHandler(event);
+ return;
+ }
+
if (usesMenuList())
menuListDefaultEventHandler(event);
else
« no previous file with comments | « LayoutTests/fast/forms/select/select-disabled-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698