tor-browser

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

focusring-1-ref.html (679B)


      1 <!DOCTYPE HTML>
      2 <html class="reftest-wait"><head>
      3    <meta charset="utf-8">
      4    <title>Testcase #1 for bug 1253977</title>
      5    <style type="text/css">
      6 
      7 * { -moz-appearance:none; }
      8 :focus {
      9  border:2px solid black;
     10 }
     11 :-moz-focusring {
     12  outline: 2px dashed black;
     13 }
     14 
     15    </style>
     16 </head>
     17 <body>
     18 
     19 <select><option>1<option>2</select>
     20 <input>
     21 
     22 <script>
     23 
     24 function runTests() {
     25  var b = document.querySelector("input");
     26  b.focus();
     27  document.body.offsetHeight;
     28  setTimeout(function(){ document.body.offsetHeight; document.documentElement.removeAttribute("class"); }, 100);
     29 }
     30 
     31 window.focus();
     32 window.addEventListener("MozReftestInvalidate", runTests);
     33 
     34 </script>
     35 
     36 </body>
     37 </html>