layout/reftests/image-rect/background-zoom-4-ref.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.

michael@0 1 <!DOCTYPE html>
michael@0 2 <!--
michael@0 3 Any copyright is dedicated to the Public Domain.
michael@0 4 http://creativecommons.org/licenses/publicdomain/
michael@0 5
michael@0 6 Checks if the full zoom (x1.3) on -moz-image-rect() produces the same
michael@0 7 result as the same full zoom on the CSS sprites produced by hacking
michael@0 8 background-position.
michael@0 9
michael@0 10 This file is identical to background-common-usage-pixel.html except the
michael@0 11 zoom factor.
michael@0 12 -->
michael@0 13 <html reftest-zoom="1.304348">
michael@0 14 <head>
michael@0 15 <title>Testcases: -moz-image-rect() [bug 113577]</title>
michael@0 16 <style>
michael@0 17 div.wrapper {
michael@0 18 width: 32px;
michael@0 19 height: 32px;
michael@0 20 margin: 10px;
michael@0 21 background-color: red;
michael@0 22 }
michael@0 23 div.wrapper div {
michael@0 24 width: 32px;
michael@0 25 height: 32px;
michael@0 26 background: no-repeat;
michael@0 27 }
michael@0 28 #test4 {
michael@0 29 background-color: yellow;
michael@0 30 background-image: -moz-image-rect(url(transparent-16x16-in-blue-32x32.png), 16, 32, 32, 16);
michael@0 31 }
michael@0 32 </style>
michael@0 33 </head>
michael@0 34 <body>
michael@0 35 <div class="wrapper"><div id="test4"></div></div>
michael@0 36 </body>
michael@0 37 </html>

mercurial