1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/svg/stroke-dashoffset-01.svg Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,30 @@ 1.4 +<!-- 1.5 + Any copyright is dedicated to the Public Domain. 1.6 + http://creativecommons.org/publicdomain/zero/1.0/ 1.7 +--> 1.8 +<svg xmlns="http://www.w3.org/2000/svg"> 1.9 + <title>Test that stroke-dashoffset is independent of stroke-width</title> 1.10 + <!-- https://bugzilla.mozilla.org/show_bug.cgi?id=885585 --> 1.11 + 1.12 + <rect width="100%" height="100%" fill="lime"/> 1.13 + 1.14 + <path d="M10,30 h300" stroke="red" stroke-width="40" stroke-dashoffset="10" stroke-dasharray="50"/> 1.15 + <path d="M10,70 h300" stroke="red" stroke-width="20" stroke-dashoffset="20" stroke-dasharray="50"/> 1.16 + <path d="M10,95 h300" stroke="red" stroke-width="10" stroke-dashoffset="40" stroke-dasharray="50"/> 1.17 + 1.18 + <!-- if the stroke-dashoffset is independent of the stroke width then these should cover what's above --> 1.19 + <rect x="10" y="10" width="40" height="40" fill="lime"/> 1.20 + <rect x="100" y="10" width="50" height="40" fill="lime"/> 1.21 + <rect x="200" y="10" width="50" height="40" fill="lime"/> 1.22 + <rect x="300" y="10" width="10" height="40" fill="lime"/> 1.23 + 1.24 + <rect x="10" y="60" width="30" height="20" fill="lime"/> 1.25 + <rect x="90" y="60" width="50" height="20" fill="lime"/> 1.26 + <rect x="190" y="60" width="50" height="20" fill="lime"/> 1.27 + <rect x="290" y="60" width="20" height="20" fill="lime"/> 1.28 + 1.29 + <rect x="10" y="90" width="10" height="10" fill="lime"/> 1.30 + <rect x="70" y="90" width="50" height="10" fill="lime"/> 1.31 + <rect x="170" y="90" width="50" height="10" fill="lime"/> 1.32 + <rect x="270" y="90" width="40" height="10" fill="lime"/> 1.33 +</svg>