blob: 2d2a3a7ca3dc40f0377bfb370eca7ef889c2616b [file] [log] [blame]
jamesr@google.com079b9e32010-11-08 21:52:40 +00001<!DOCTYPE html>
2<html>
3<head>
4<style>
5input::-webkit-inner-spin-button { display: none; }
6</style>
7</head>
8<body>
9<input type="number" id="in">
10<script>
rniwa@webkit.orgea3cf922012-06-22 06:52:33 +000011if (window.testRunner)
12 testRunner.dumpAsText();
jamesr@google.com079b9e32010-11-08 21:52:40 +000013var input = document.getElementById('in');
14var evt = document.createEvent("MouseEvent");
15evt.initMouseEvent("click", true, true, window, 10, 10, 10, 10);
16input.dispatchEvent(evt);
17input.style.display='none';
18</script>
19PASS
20</body>
21</html>