no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / layout / reftests / xul / object-fit-contain-svg-004-ref.html
blob7699a15db1a53f6c1efe185c8b3e609b201eb0f6
1 <!DOCTYPE html>
2 <!--
3 Any copyright is dedicated to the Public Domain.
4 http://creativecommons.org/publicdomain/zero/1.0/
5 -->
6 <html>
7 <head>
8 <meta charset="utf-8">
9 <title>CSS Reftest Reference</title>
10 <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
11 <style type="text/css">
12 .objectOuter {
13 border: 1px dashed gray;
14 padding: 1px;
15 float: left;
17 .objectOuter > * {
18 background-image: url("colors-8x16-noSize.svg");
19 background-size: contain;
20 background-repeat: no-repeat;
22 .bigWide {
23 width: 48px;
24 height: 32px;
26 .bigTall {
27 width: 32px;
28 height: 48px;
30 .small {
31 width: 8px;
32 height: 8px;
35 br { clear: both; }
37 .tr { background-position: top right }
38 .bl { background-position: bottom left }
39 .tl { background-position: top 25% left 25% }
40 .br { background-position: bottom 1px right 2px }
42 .tc { background-position: top 3px center }
43 .cr { background-position: center right 25% }
44 .default { background-position: 50% 50% }
45 </style>
46 </head>
47 <body>
48 <!-- big/wide: -->
49 <div class="objectOuter"><div class="bigWide tr"></div></div>
50 <div class="objectOuter"><div class="bigWide bl"></div></div>
51 <div class="objectOuter"><div class="bigWide tl"></div></div>
52 <div class="objectOuter"><div class="bigWide br"></div></div>
53 <div class="objectOuter"><div class="bigWide tc"></div></div>
54 <div class="objectOuter"><div class="bigWide cr"></div></div>
55 <div class="objectOuter"><div class="bigWide default"></div></div>
56 <br>
57 <!-- big/tall: -->
58 <div class="objectOuter"><div class="bigTall tr"></div></div>
59 <div class="objectOuter"><div class="bigTall bl"></div></div>
60 <div class="objectOuter"><div class="bigTall tl"></div></div>
61 <div class="objectOuter"><div class="bigTall br"></div></div>
62 <div class="objectOuter"><div class="bigTall tc"></div></div>
63 <div class="objectOuter"><div class="bigTall cr"></div></div>
64 <div class="objectOuter"><div class="bigTall default"></div></div>
65 <br>
66 <!-- small: -->
67 <div class="objectOuter"><div class="small tr"></div></div>
68 <div class="objectOuter"><div class="small bl"></div></div>
69 <div class="objectOuter"><div class="small tl"></div></div>
70 <div class="objectOuter"><div class="small br"></div></div>
71 <div class="objectOuter"><div class="small tc"></div></div>
72 <div class="objectOuter"><div class="small cr"></div></div>
73 <div class="objectOuter"><div class="small default"></div></div>
74 <br>
75 </body>
76 </html>