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

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     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