tor-browser

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

test_bug660959-3.html (795B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <!--
      4 https://bugzilla.mozilla.org/show_bug.cgi?id=660959
      5 -->
      6 <head>
      7  <title>Test for Bug 660959</title>
      8  <script src="/tests/SimpleTest/SimpleTest.js"></script>
      9  <script src="reflect.js"></script>
     10  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
     11 </head>
     12 <body>
     13 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=660959">Mozilla Bug 660959</a>
     14 <p id="display"></p>
     15 <div id="content" style="display: none">
     16  <a href="http://www.example.com"></a>
     17  <div id="foo">
     18    <span id="test"></span>
     19  </div>
     20 </div>
     21 <pre id="test">
     22 <script>
     23    is($("foo").querySelector(":link + * span, :visited + * span"), $("test"),
     24       "Should be able to find link siblings even in a display:none subtree");
     25 </script>
     26 </pre>
     27 </body>
     28 </html>