tor-browser

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

1509425-1.html (488B)


      1 <!DOCTYPE html>
      2 <html lang="en">
      3 <meta charset="utf-8">
      4 
      5 <title>Bug 1271714: Hit testing should be able to find the .opacityFilter element</title>
      6 
      7 <style type="text/css">
      8 
      9 #opacityFilter {
     10  border: 1px solid black;
     11  height: 200px;
     12  width: 200px;
     13  filter: opacity(0);
     14 }
     15 
     16 </style>
     17 
     18 <p id="output">FAIL</p>
     19 
     20 <div id="opacityFilter"></div>
     21 
     22 <script>
     23 
     24 if (document.elementFromPoint(100, 100).id == "opacityFilter") {
     25  document.getElementById("output").textContent = "PASS";
     26 }
     27 
     28 </script>