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