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

Side by Side Diff: Source/WebKit/chromium/tests/data/popup/select_event.html

Issue 19906002: Move data/ directory from WebKit/chromium/tests into web/tests/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <div id="message"></div>
5 <select id="s" autofocus>
6 <option>1</option>
7 <option>2</option>
8 <option>3</option>
9 </select>
10 <script>
11 function handler(e) {
12 document.getElementById('message').innerText += "down";
13 }
14
15 function handler2(e) {
16 document.getElementById('message').innerText += "click";
17 }
18
19 function handler3(e) {
20 document.getElementById('message').innerText += "up";
21 }
22
23 function handler4(e) {
24 document.getElementById('message').innerText += "change";
25 }
26
27 document.getElementById('s').addEventListener('mousedown', handler);
28 document.getElementById('s').addEventListener('click', handler2);
29 document.getElementById('s').addEventListener('mouseup', handler3);
30 document.getElementById('s').addEventListener('change', handler4);
31 </script>
32 </body>
33 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698