1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/image-element/gradient-html-07c.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,19 @@ 1.4 +<!-- 1.5 + Any copyright is dedicated to the Public Domain. 1.6 + http://creativecommons.org/licenses/publicdomain/ 1.7 + Test that diagonal repeating SVG gradients as -moz-element 1.8 + using userSpaceOnUse render the same as using objectBoundingBox 1.9 + with the right conversion. 1.10 +--> 1.11 +<!DOCTYPE html> 1.12 +<html> 1.13 +<body style="margin:0"> 1.14 + <div style="width:200px; height:200px; background-image:-moz-element(#g); background-size: 100px 100px;"></div> 1.15 + <svg> 1.16 + <linearGradient id="g" gradientUnits="userSpaceOnUse" x2="200" y2="200"> 1.17 + <stop stop-color="#00ff00" offset="0"></stop> 1.18 + <stop stop-color="black" offset="1"></stop> 1.19 + </linearGradient> 1.20 + </svg> 1.21 +</body> 1.22 +</html>