layout/reftests/backgrounds/background-size-zoom-no-repeat-ref.html

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 <!DOCTYPE html>
     2 <html>
     3 <head>
     4   <title>background-size + zoom</title>
     5   <style type="text/css">
     6 html
     7 {
     8   margin: 0;
     9   padding: 10px;
    10 }
    11 body
    12 {
    13   margin: 0;
    14   padding: 0;
    15 }
    16 #outer
    17 {
    18   border: 2px solid black;
    19   width: 128px;
    20   height: 256px;
    21 }
    22 #inner
    23 {
    24   width: 32px;
    25   height: 32px;
    26   background-image: url(aqua-32x32.png);
    27   background-repeat: no-repeat;
    28 }
    29   </style>
    30 </head>
    31 <body>
    32 <div id="outer"><div id="inner"></div></div>
    33 </body>
    34 </html>

mercurial