tor-browser

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

placeholder-20.html (681B)


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