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

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

michael@0 1 <!--
michael@0 2 Any copyright is dedicated to the Public Domain.
michael@0 3 http://creativecommons.org/licenses/publicdomain/
michael@0 4
michael@0 5 Test painting simple patterns with offsets.
michael@0 6 -->
michael@0 7 <!DOCTYPE html>
michael@0 8 <html>
michael@0 9 <body style="margin:0">
michael@0 10 <div style="width:100px; height:100px; background:-moz-element(#p);"></div>
michael@0 11 <div style="margin-top:100px; width:100px; height:100px;
michael@0 12 background:-moz-element(#p); background-position:-10px -10px;"></div>
michael@0 13
michael@0 14 <svg>
michael@0 15 <pattern id="p" patternUnits="userSpaceOnUse"
michael@0 16 x="0" y="0" width="50" height="50">
michael@0 17 <rect x="10" y="10" width="10" height="10" fill="lime"></rect>
michael@0 18 </pattern>
michael@0 19 </svg>
michael@0 20 </body>
michael@0 21 </html>

mercurial