tor-browser

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

video-tabindex.html (636B)


      1 <!DOCTYPE html>
      2 <title>tabindex on video elements</title>
      3 <link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
      4 <link rel="help" href="https://html.spec.whatwg.org/multipage/#video">
      5 <script src="/resources/testharness.js"></script>
      6 <script src="/resources/testharnessreport.js"></script>
      7 <div id="log"></div>
      8 <div id="test">
      9 <video></video>
     10 </div>
     11 <script>
     12 var t = async_test("Attributes shouldn't magically appear");
     13 on_event(window, "load", t.step_func(function() {
     14  var el = document.getElementById("test").getElementsByTagName("video")[0];
     15  assert_equals(el.hasAttribute("tabindex"), false);
     16  t.done()
     17 }))
     18 </script>