tor-browser

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

Element-webkitMatchesSelector.html (889B)


      1 <!DOCTYPE html>
      2 <meta charset="UTF-8">
      3 <title>Selectors-API Level 2 Test Suite: HTML with Selectors Level 3</title>
      4 <!-- Selectors API Test Suite Version 3 -->
      5 <script src="/resources/testharness.js"></script>
      6 <script src="/resources/testharnessreport.js"></script>
      7 <script src="/dom/nodes/selectors.js"></script>
      8 <script src="/dom/nodes/ParentNode-querySelector-All.js"></script>
      9 <script src="Element-matches.js"></script>
     10 <script src="Element-matches-init.js"></script>
     11 <style>iframe { visibility: hidden; position: absolute; }</style>
     12 
     13 <div id="log">This test requires JavaScript.</div>
     14 
     15 <script>
     16  async_test(function() {
     17    var frame = document.createElement("iframe");
     18    frame.onload = this.step_func_done(e => init(e, "webkitMatchesSelector" ));
     19    frame.src = "/dom/nodes/ParentNode-querySelector-All-content.html#target";
     20    document.body.appendChild(frame);
     21  });
     22 </script>