layout/reftests/image-element/pattern-html-02.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 <!--
     2      Any copyright is dedicated to the Public Domain.
     3      http://creativecommons.org/licenses/publicdomain/
     5      Test painting patterns with scaling by background-size and
     6      -moz-transform.
     7 -->
     8 <!DOCTYPE html>
     9 <html>
    10 <body style="margin:0;">
    11   <div style="background: white; overflow: hidden;">
    12     <div style="margin:20px 0px 20px 40px; width:40px; height:20px;
    13                 background:-moz-element(#p);
    14                 -moz-transform:scale(3);"></div>
    15     <div style="width:120px; height:60px;
    16                 background:-moz-element(#p);
    17                 background-size:300% 300%;"></div>
    19     <svg>
    20       <pattern id="p" patternUnits="userSpaceOnUse"
    21                    x="0" y="0" width="20" height="20">
    22         <rect x="5" y="5" width="10" height="10" fill="black"></rect>
    23       </pattern> 
    24     </svg>
    25   </div>
    26 </body>
    27 </html>

mercurial