layout/reftests/bugs/421885-1.xml

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

michael@0 1 <?xml version="1.0"?>
michael@0 2 <svg xmlns:html="http://www.w3.org/1999/xhtml"
michael@0 3 xmlns="http://www.w3.org/2000/svg">
michael@0 4 <foreignObject transform="scale(2)" width="100%" height="100%">
michael@0 5 <!-- test the two-span case, subimage covers two tiles -->
michael@0 6 <html:div style="width:2px; height:64px; background-position:-31px 0;
michael@0 7 background-image: url(square-left-right-32x32.png);
michael@0 8 margin-bottom:5px;">
michael@0 9 </html:div>
michael@0 10 <html:div style="width:64px; height:2px; background-position:0 -31px;
michael@0 11 background-image: url(square-top-bottom-32x32.png);
michael@0 12 margin-bottom:5px;">
michael@0 13 </html:div>
michael@0 14 <!-- test the one-span case, subimage covers one tile at the end of the tile -->
michael@0 15 <html:div style="width:1px; height:64px; background-position:-31px 0;
michael@0 16 background-image: url(square-left-right-32x32.png);
michael@0 17 margin-bottom:5px;">
michael@0 18 </html:div>
michael@0 19 <html:div style="width:64px; height:1px; background-position:0 -31px;
michael@0 20 background-image: url(square-top-bottom-32x32.png);
michael@0 21 margin-bottom:5px;">
michael@0 22 </html:div>
michael@0 23 <!-- test the one-span case, subimage covers one tile at the start of the tile -->
michael@0 24 <html:div style="width:1px; height:64px; background-position:0 0;
michael@0 25 background-image: url(square-left-right-32x32.png);
michael@0 26 margin-bottom:5px;">
michael@0 27 </html:div>
michael@0 28 <html:div style="width:64px; height:1px; background-position:0 0;
michael@0 29 background-image: url(square-top-bottom-32x32.png);
michael@0 30 margin-bottom:5px;">
michael@0 31 </html:div>
michael@0 32 </foreignObject>
michael@0 33 </svg>

mercurial