element-paint-background-size-02.html (825B)
1 <!-- 2 Any copyright is dedicated to the Public Domain. 3 http://creativecommons.org/licenses/publicdomain/ 4 5 Test with background-size. 6 --> 7 <html> 8 <body style="filter:url(#thresholdAt128);"> 9 <div style="width:80px; height:80px; border:1px solid black; 10 background:-moz-element(#d) no-repeat; 11 background-size:100%"></div> 12 <div style="overflow:hidden; height:0;"> 13 <div id="d" style="border:10px solid red; width:20px; height:20px; 14 background:yellow;"></div> 15 </div> 16 <svg> 17 <filter id="thresholdAt128" color-interpolation-filters="sRGB"> 18 <feColorMatrix type="matrix" 19 values="255 0 0 0 -128 20 0 255 0 0 -128 21 0 0 255 0 -128 22 0 0 0 255 -128"/> 23 24 </filter> 25 </svg> 26 </body> 27 </html>