tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

placeholder-7.html (566B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3  <link rel='stylesheet' type='text/css' href='placeholder-style.css'>
      4  <!-- Test: when focused, element should show placeholder. -->
      5  <script type="text/javascript">
      6    function focusPlaceholder()
      7    {
      8      document.getElementById('p1').focus();
      9    }
     10    function disableReftestWait()
     11    {
     12      document.documentElement.className = '';
     13    }
     14  </script>
     15 
     16  <body onload="focusPlaceholder();">
     17    <input type="text" id="p1" value="" placeholder="my placeholder" onfocus="disableReftestWait();">
     18  </body>
     19 </html>