layout/reftests/backgrounds/background-size-contain.html

branch
TOR_BUG_9701
changeset 11
deefc01c0e14
equal deleted inserted replaced
-1:000000000000 0:635ffac98f7d
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>background-size: contain;</title>
5 <style type="text/css">
6 #outer
7 {
8 border: 10px solid black;
9 width: 64px;
10 height: 128px;
11 }
12 #inner
13 {
14 width: 64px;
15 height: 128px;
16 background-image: url(aqua-32x32.png);
17 background-repeat: no-repeat;
18 background-size: contain;
19 }
20 </style>
21 </head>
22 <body>
23 <div id="outer"><div id="inner"></div></div>
24 </body>
25 </html>

mercurial