layout/reftests/svg/filter-scaled-02.html

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 <html>
     6   <head>
     7     <title>Test case for scaled SVG with filter region</title>
     8     <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=765107 -->
     9   </head>
    10   <body style="-moz-transform: scale(1.4)">
    11    <div style="position: absolute; top: 20px; left: 200px">
    12     <svg width="200" viewBox="0 0 222 222">
    13      <filter id="filter" x="-20%" width="140%">
    14       <feMerge>
    15         <feMergeNode/>
    16       </feMerge>
    17      </filter>
    18      <rect fill="green" x="120" y="100" width="100" height="120"
    19            filter="url(#filter)"/>
    20      <rect fill="none" stroke="black" stroke-width="4"
    21            x="120" y="100" width="100" height="120"/>
    22     </svg>
    23    </div>
    24   </body>
    25 </html>

mercurial