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

Side by Side Diff: LayoutTests/fast/forms/select/listbox-disabled-no-autoscroll-expected.html

Issue 14996003: Disabled select element should not fire onchange event. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added test and moved the checks to RenderListBox Created 7 years, 7 months 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../resources/common.js"></script>
5 <style>
6 select {background-color: red; }
7 </style>
8 </head>
9 <body>
10 <div>
11 <select id="test" disabled size=4">
12 <option selected>foo1</option>
13 <option>foo2</option>
14 <option>foo3</option>
15 <option>foo4</option>
16 <option>foo5</option>
17 </select>
18 </div>
19
20 <div id="result">Success if selection did not change.</div>
21 <div id="console"></div>
22 </html>
23
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/select/listbox-disabled-no-autoscroll.html ('k') | Source/core/html/HTMLSelectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698