layout/reftests/svg/paint-order-03.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 that the paint-order property works</title>
     7   <!-- https://bugzilla.mozilla.org/show_bug.cgi?id=828805 -->
     9   <defs>
    10     <marker id="m" markerWidth="40" markerHeight="40" refX="20" refY="20" markerUnits="userSpaceOnUse">
    11       <circle cx="20" cy="20" r="16" fill="fuchsia"/>
    12     </marker>
    13   </defs>
    15   <g fill="gold" stroke="black" stroke-width="8" style="marker: url(#m)" paint-order="markers stroke fill">
    16     <path d="M 50,50 h 100 v 100 h -50 z"/>
    17     <line x1="200" y1="50" x2="300" y2="150"/>
    18     <polygon points="50,200 50,300 200,200 200,300"/>
    19   </g>
    20 </svg>

mercurial