input-number-ref.html (833B)
1 <!DOCTYPE html> 2 <html class="reftest-wait"> 3 <!-- In this case we're using reftest-wait to make sure the test doesn't 4 get snapshotted before it's been focused. We're not testing 5 invalidation so we don't need to listen for MozReftestInvalidate. 6 --> 7 <head> 8 <meta charset="utf-8"> 9 </head> 10 <body onload="document.getElementsByTagName('input')[0].focus();"> 11 <input onfocus="document.documentElement.removeAttribute('class');" 12 style="-moz-appearance: none;"> 13 <!-- div to cover spin box area for type=number to type=text comparison --> 14 <div style="display:block; position:absolute; background-color:black; width:200px; height:100px; top:0px; left:100px;"> 15 </body> 16 </html>