input-time.html (590B)
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 <script> 9 function focusHandler() { 10 setTimeout(function() { 11 document.documentElement.removeAttribute("class"); 12 }, 0); 13 } 14 </script> 15 </head> 16 <body> 17 <input type="time" autofocus onfocus="focusHandler();" 18 style="-moz-appearance: none;"> 19 </body> 20 </html>