Wed, 31 Dec 2014 06:55:50 +0100
Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2
michael@0 | 1 | <!-- |
michael@0 | 2 | Any copyright is dedicated to the Public Domain. |
michael@0 | 3 | http://creativecommons.org/publicdomain/zero/1.0/ |
michael@0 | 4 | --> |
michael@0 | 5 | <svg xmlns="http://www.w3.org/2000/svg"> |
michael@0 | 6 | <title>Test that the paint-order property works</title> |
michael@0 | 7 | <!-- https://bugzilla.mozilla.org/show_bug.cgi?id=828805 --> |
michael@0 | 8 | |
michael@0 | 9 | <linearGradient id="gold"> |
michael@0 | 10 | <stop stop-color="gold"/> |
michael@0 | 11 | </linearGradient> |
michael@0 | 12 | |
michael@0 | 13 | <linearGradient id="black"> |
michael@0 | 14 | <stop stop-color="black"/> |
michael@0 | 15 | </linearGradient> |
michael@0 | 16 | |
michael@0 | 17 | <g fill="url(#gold)" stroke="url(#black)" stroke-width="8" paint-order="stroke"> |
michael@0 | 18 | <ellipse cx="50" cy="50" rx="40" ry="20"/> |
michael@0 | 19 | <path d="M 50,100 h 40 v 30 z"/> |
michael@0 | 20 | <polygon points="50,150 90,150 90,180"/> |
michael@0 | 21 | <polyline points="50,200 90,200 90,230"/> |
michael@0 | 22 | <rect x="50" y="250" width="80" height="30" r="16"/> |
michael@0 | 23 | <text x="50" y="350" font-size="80" stroke-width="4">hello <tspan paint-order="normal">there</tspan></text> |
michael@0 | 24 | </g> |
michael@0 | 25 | </svg> |