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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/menulist-no-renderer-onmousedown.html

Issue 1509853008: Move select/option/optgroup-related tests in fast/forms to fast/forms/select. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 <html>
2 <head>
3 <script>
4 function test()
5 {
6 if (window.testRunner)
7 testRunner.dumpAsText();
8 var sl = document.getElementById('sl');
9 var event = document.createEvent("MouseEvent");
10 event.initMouseEvent("mousedown", true, true, window, 1, sl.offs etLeft, sl.offsetTop, sl.offsetLeft, sl.offsetTop, false, false, false, false, 0 , document);
11 sl.dispatchEvent(event);
12 }
13 </script>
14 </head>
15 <body onload="test()">
16 This tests that we don't crash if a menu list's renderer is destroyed du ring the mouse down event.
17 <br>
18 <select id="sl" onmousedown="this.style.display='none'"><option>test</se lect>
19 </body>
20 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698