1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/svg/paint-order-02.svg Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,25 @@ 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 the paint-order property works</title> 1.10 + <!-- https://bugzilla.mozilla.org/show_bug.cgi?id=828805 --> 1.11 + 1.12 + <linearGradient id="gold"> 1.13 + <stop stop-color="gold"/> 1.14 + </linearGradient> 1.15 + 1.16 + <linearGradient id="black"> 1.17 + <stop stop-color="black"/> 1.18 + </linearGradient> 1.19 + 1.20 + <g fill="url(#gold)" stroke="url(#black)" stroke-width="8" paint-order="stroke"> 1.21 + <ellipse cx="50" cy="50" rx="40" ry="20"/> 1.22 + <path d="M 50,100 h 40 v 30 z"/> 1.23 + <polygon points="50,150 90,150 90,180"/> 1.24 + <polyline points="50,200 90,200 90,230"/> 1.25 + <rect x="50" y="250" width="80" height="30" r="16"/> 1.26 + <text x="50" y="350" font-size="80" stroke-width="4">hello <tspan paint-order="normal">there</tspan></text> 1.27 + </g> 1.28 +</svg>