layout/reftests/image-element/pattern-html-01.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/licenses/publicdomain/
     5      Test painting simple patterns with offsets.
     6 -->
     7 <!DOCTYPE html>
     8 <html>
     9 <body style="margin:0">
    10   <div style="width:100px; height:100px; background:-moz-element(#p);"></div>
    11   <div style="margin-top:100px; width:100px; height:100px;
    12               background:-moz-element(#p); background-position:-10px -10px;"></div>
    14   <svg>
    15     <pattern id="p" patternUnits="userSpaceOnUse"
    16              x="0" y="0" width="50" height="50">
    17       <rect x="10" y="10" width="10" height="10" fill="lime"></rect>
    18     </pattern> 
    19   </svg>
    20 </body>
    21 </html>

mercurial