3.html (512B)
1 <!DOCTYPE html> 2 <html class="reftest-wait"> 3 <!-- Test: when switching to another type, the input element should not look 4 like an input search element --> 5 <script type="text/javascript"> 6 function setToCheckbox() 7 { 8 document.getElementById('i').type = 'checkbox'; 9 } 10 function disableReftestWait() 11 { 12 document.documentElement.className = ''; 13 } 14 </script> 15 16 <body onload="setToCheckbox(); disableReftestWait();"> 17 <input type='search' id='i'> 18 </body> 19 </html>