1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/image-element/pattern-html-02.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,27 @@ 1.4 +<!-- 1.5 + Any copyright is dedicated to the Public Domain. 1.6 + http://creativecommons.org/licenses/publicdomain/ 1.7 + 1.8 + Test painting patterns with scaling by background-size and 1.9 + -moz-transform. 1.10 +--> 1.11 +<!DOCTYPE html> 1.12 +<html> 1.13 +<body style="margin:0;"> 1.14 + <div style="background: white; overflow: hidden;"> 1.15 + <div style="margin:20px 0px 20px 40px; width:40px; height:20px; 1.16 + background:-moz-element(#p); 1.17 + -moz-transform:scale(3);"></div> 1.18 + <div style="width:120px; height:60px; 1.19 + background:-moz-element(#p); 1.20 + background-size:300% 300%;"></div> 1.21 + 1.22 + <svg> 1.23 + <pattern id="p" patternUnits="userSpaceOnUse" 1.24 + x="0" y="0" width="20" height="20"> 1.25 + <rect x="5" y="5" width="10" height="10" fill="black"></rect> 1.26 + </pattern> 1.27 + </svg> 1.28 + </div> 1.29 +</body> 1.30 +</html>