1059498-1.html (656B)
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: -110px; 14 width: 100px; 15 height: 100px; 16 background-color: white; 17 filter: url(#filter); 18 } 19 20 </style> 21 22 <div id="filtered"></div> 23 24 <svg height="0"> 25 <defs> 26 <filter id="filter" filterUnits="objectBoundingBox" 27 x="0%" y="0%" width="100%" height="200%" 28 color-interpolation-filters="sRGB"> 29 <feDropShadow stdDeviation="0" dx="0" dy="40" flood-color="lime"/> 30 </filter> 31 </defs> 32 </svg>