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

Issue 14931006: Disabled select element should not fire onchange event. When dragging a disabled select element it … (Closed)

Created:
7 years, 7 months ago by yael.aharon
Modified:
7 years, 7 months ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Disabled select element should not fire onchange event. When dragging a disabled select element it would fire an onchange event, because there was no cached selected item. Added a check before firing the event to prevent it if the element is disabled. BUG=215494 TEST=fast/forms/select/listbox-disabled-scroll-no-onchange.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=149781

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -2 lines) Patch
A LayoutTests/fast/forms/select/listbox-disabled-scroll-no-onchange.html View 1 chunk +39 lines, -0 lines 0 comments Download
A + LayoutTests/fast/forms/select/listbox-disabled-scroll-no-onchange-expected.txt View 1 chunk +3 lines, -2 lines 0 comments Download
M Source/core/html/HTMLSelectElement.cpp View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
yael.aharon1
Can you please review? thanks!
7 years, 7 months ago (2013-05-06 15:56:06 UTC) #1
abarth-chromium
lgtm ok
7 years, 7 months ago (2013-05-06 19:10:34 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yael.aharon@intel.com/14931006/1
7 years, 7 months ago (2013-05-06 19:10:43 UTC) #3
commit-bot: I haz the power
7 years, 7 months ago (2013-05-06 19:45:49 UTC) #4
Message was sent while issue was closed.
Change committed as 149781

Powered by Google App Engine
This is Rietveld 408576698