tor-browser

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

legend.html (545B)


      1 <!doctype html>
      2 <title>legend</title>
      3 <script src=/resources/testharness.js></script>
      4 <script src=/resources/testharnessreport.js></script>
      5 <script>
      6 const t = async_test();
      7 </script>
      8 <fieldset>
      9 <legend onfocus="t.unreached_func('legend was focused')()">
     10  legend
     11  <input onfocus="t.unreached_func('input in legend was focused')();">
     12 </legend>
     13 <input onfocus="t.unreached_func('input after legend was focused')();">
     14 </fieldset>
     15 <script>
     16  document.querySelector('legend').focus();
     17  t.step_timeout(() => {
     18    t.done();
     19  }, 500);
     20 </script>