Wed, 31 Dec 2014 06:55:50 +0100
Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2
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 #test2 {
29 background-image: -moz-image-rect(url(transparent-16x16-in-blue-32x32.png), 0, 32, 16, 0);
30 }
31 </style>
32 </head>
33 <body>
34 <div class="wrapper"><div id="test2"></div></div>
35 </body>
36 </html>