layout/reftests/svg/marker-viewBox-01.svg

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     1 <!--
     2      Any copyright is dedicated to the Public Domain.
     3      http://creativecommons.org/publicdomain/zero/1.0/
     4 -->
     5 <svg xmlns="http://www.w3.org/2000/svg">
     6   <title>Test the 'marker' element with viewBox and preserveAspectRatio</title>
     7   <!--
     8     From https://bugzilla.mozilla.org/show_bug.cgi?id=487649
    10     This test checks that when the 'marker' support for viewBox
    11     and preserveAspectRatio. You should see what appears to be
    12     a blue circle right in the top left of the window.
    13   -->
    14   <marker id="marker" markerUnits="userSpaceOnUse" markerWidth="40" markerHeight="40"
    15           viewBox="10 0 20 40" preserveAspectRatio="none" refX="20" refY="20">
    16     <ellipse cx="20" cy="20" rx="10" ry="20" fill="blue"/>
    17   </marker>
    18   <path d="M20,20 L20,21" fill="none" stroke="none" marker-start="url(#marker)"/>
    19 </svg>

mercurial