Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
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>Reference for paint-order-02.svg</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" fill="none"/> |
michael@0 | 19 | <ellipse cx="50" cy="50" rx="40" ry="20" stroke="none"/> |
michael@0 | 20 | |
michael@0 | 21 | <path d="M 50,100 h 40 v 30 z" fill="none"/> |
michael@0 | 22 | <path d="M 50,100 h 40 v 30 z" stroke="none"/> |
michael@0 | 23 | |
michael@0 | 24 | <polygon points="50,150 90,150 90,180" fill="none"/> |
michael@0 | 25 | <polygon points="50,150 90,150 90,180" stroke="none"/> |
michael@0 | 26 | |
michael@0 | 27 | <polyline points="50,200 90,200 90,230" fill="none"/> |
michael@0 | 28 | <polyline points="50,200 90,200 90,230" stroke="none"/> |
michael@0 | 29 | |
michael@0 | 30 | <rect x="50" y="250" width="80" height="30" r="16" fill="none"/> |
michael@0 | 31 | <rect x="50" y="250" width="80" height="30" r="16" stroke="none"/> |
michael@0 | 32 | |
michael@0 | 33 | <text x="50" y="350" font-size="80" stroke-width="4"><tspan fill="none">hello</tspan> <tspan stroke="none">there</tspan></text> |
michael@0 | 34 | <text x="50" y="350" font-size="80" stroke-width="4"><tspan stroke="none">hello</tspan> <tspan fill="none">there</tspan></text> |
michael@0 | 35 | </g> |
michael@0 | 36 | </svg> |