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

mercurial