Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / number / number-spinbutton-crash.html
blob2d2a3a7ca3dc40f0377bfb370eca7ef889c2616b
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 input::-webkit-inner-spin-button { display: none; }
6 </style>
7 </head>
8 <body>
9 <input type="number" id="in">
10 <script>
11 if (window.testRunner)
12 testRunner.dumpAsText();
13 var input = document.getElementById('in');
14 var evt = document.createEvent("MouseEvent");
15 evt.initMouseEvent("click", true, true, window, 10, 10, 10, 10);
16 input.dispatchEvent(evt);
17 input.style.display='none';
18 </script>
19 PASS
20 </body>
21 </html>