bug1082486-1.html (733B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <style> 6 /* Eliminate the blue glow when focusing the element. */ 7 input { 8 background: none; 9 border: none; 10 outline: none; 11 caret-color: transparent; /* This tests AccessibleCaret, hide the regular caret */ 12 } 13 </style> 14 </head> 15 <body onload="focusInput();"> 16 <script> 17 function focusInput() { 18 var inp = document.getElementById('i'); 19 inp.focus(); 20 } 21 </script> 22 23 <a target="_blank" href="https://bugzil.la/1082486">Mozilla Bug 1082486</a> 24 25 <!-- The caret will not be seen when the input is focused. --> 26 <input id='i' value="abcdefghd" style="text-indent: -10px"> 27 </body> 28 </html>