layout/reftests/svg/paint-order-02.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   <linearGradient id="gold">
    10     <stop stop-color="gold"/>
    11   </linearGradient>
    13   <linearGradient id="black">
    14     <stop stop-color="black"/>
    15   </linearGradient>
    17   <g fill="url(#gold)" stroke="url(#black)" stroke-width="8" paint-order="stroke">
    18     <ellipse cx="50" cy="50" rx="40" ry="20"/>
    19     <path d="M 50,100 h 40 v 30 z"/>
    20     <polygon points="50,150 90,150 90,180"/>
    21     <polyline points="50,200 90,200 90,230"/>
    22     <rect x="50" y="250" width="80" height="30" r="16"/>
    23     <text x="50" y="350" font-size="80" stroke-width="4">hello <tspan paint-order="normal">there</tspan></text>
    24   </g>
    25 </svg>

mercurial