tor-browser

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

1021564-3.html (965B)


      1 <!--
      2     Any copyright is dedicated to the Public Domain.
      3     http://creativecommons.org/publicdomain/zero/1.0/
      4 -->
      5 <!DOCTYPE html>
      6 <html lang="en" class="reftest-wait">
      7 <meta charset="utf-8">
      8 <title>When the filtered element's BBox relative to the page changes, the filtered element needs to be invalidated</title>
      9 
     10 <style>
     11 
     12 #spacer {
     13  height: 100px;
     14 }
     15 
     16 #filtered {
     17  width: 100px;
     18  height: 100px;
     19  background-color: lime;
     20  filter: url(#filter);
     21 }
     22 
     23 </style>
     24 
     25 <svg height="0">
     26  <defs>
     27    <filter id="filter" filterUnits="userSpaceOnUse"
     28            x="0" y="0" width="100" height="100"
     29            color-interpolation-filters="sRGB">
     30      <feMerge><feMergeNode/></feMerge>
     31    </filter>
     32  </defs>
     33 </svg>
     34 
     35 <div id="spacer"></div>
     36 
     37 <div id="filtered"></div>
     38 
     39 <script>
     40 
     41 window.addEventListener("MozReftestInvalidate", function () {
     42  document.getElementById("spacer").style.height = "50px";
     43  document.documentElement.removeAttribute("class");
     44 });
     45 
     46 </script>