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>Test the 'marker' element with viewBox and preserveAspectRatio</title> |
michael@0 | 7 | <!-- |
michael@0 | 8 | From https://bugzilla.mozilla.org/show_bug.cgi?id=487649 |
michael@0 | 9 | |
michael@0 | 10 | This test checks that when the 'marker' support for viewBox |
michael@0 | 11 | and preserveAspectRatio. You should see what appears to be |
michael@0 | 12 | a blue circle right in the top left of the window. |
michael@0 | 13 | --> |
michael@0 | 14 | <marker id="marker" markerUnits="userSpaceOnUse" markerWidth="40" markerHeight="40" |
michael@0 | 15 | viewBox="10 0 20 40" preserveAspectRatio="none" refX="20" refY="20"> |
michael@0 | 16 | <ellipse cx="20" cy="20" rx="10" ry="20" fill="blue"/> |
michael@0 | 17 | </marker> |
michael@0 | 18 | <path d="M20,20 L20,21" fill="none" stroke="none" marker-start="url(#marker)"/> |
michael@0 | 19 | </svg> |