Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /html/semantics/embedded-content/the-video-element/video-tabindex.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>tabindex on video elements</title>
<link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<div id="test">
<video></video>
</div>
<script>
var t = async_test("Attributes shouldn't magically appear");
on_event(window, "load", t.step_func(function() {
var el = document.getElementById("test").getElementsByTagName("video")[0];
assert_equals(el.hasAttribute("tabindex"), false);
t.done()
}))
</script>