tor-browser

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

1059498-3.html (806B)


      1 <!DOCTYPE html>
      2 <html lang="en">
      3 <meta charset="utf-8">
      4 <title>Test for bug 1059498 - Paint parts of the filter that are caused by parts of the source that are invisible</title>
      5 
      6 <style>
      7 
      8 body {
      9  margin: 0;
     10 }
     11 
     12 #filtered {
     13  margin-top: -150px;
     14  margin-left: -10px;
     15  width: 100px;
     16  height: 100px;
     17  background-color: white;
     18  filter: url(#filter);
     19  transform: translateY(40px);
     20 }
     21 
     22 #transformed {
     23  transform: translateX(10px);
     24  width: 200px;
     25 }
     26 
     27 </style>
     28 
     29 <div id="transformed">
     30  <div id="filtered"></div>
     31 </div>
     32 
     33 <svg height="0">
     34  <defs>
     35    <filter id="filter" filterUnits="objectBoundingBox"
     36            x="0%" y="0%" width="100%" height="200%"
     37            color-interpolation-filters="sRGB">
     38      <feDropShadow stdDeviation="0" dx="0" dy="40" flood-color="lime"/>
     39    </filter>
     40  </defs>
     41 </svg>