layout/reftests/svg/objectBoundingBox-and-pattern-01c.svg

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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">
     7     <title>Testcase for elements referencing an objectBoundingBox pattern</title>
     9     <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=377399 -->
    11     <defs>
    12         <pattern id="test" width="100%" height="100%" viewBox="0 0 40 40" patternContentUnits="objectBoundingBox">
    13             <rect x="0" y="0" width="40" height="40" fill="lime" />
    14         </pattern>
    15     </defs>
    16     <g transform="translate(20 20) scale(2)">
    17         <rect x="0" y="0" width="100" height="100" fill="url(#test)" />
    18     </g>
    19 </svg>

mercurial