<https://webkit.org/b/119930> input[type=range]: Fix a crash by changing input type...
[WebKit-https.git] / LayoutTests / fast / forms / range / range-type-change-oninput.html
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <script src="../../js/resources/js-test-pre.js"></script>
5 <script src="../resources/common.js"></script>
6 <input type="range" value="0" oninput="this.type = 'text';">
7 <script>
8 if (!window.eventSender) {
9     debug('Manual test instruction: Click on the slider.');
10 } else {
11     clickElement(document.querySelector('input'));
12     testPassed('if not crashed.');
13 }
14 </script>
15 <script src="../../js/resources/js-test-post.js"></script>
16 </body>
17 </html>