layout/reftests/image-element/bug-463204-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 <!--
     2      Any copyright is dedicated to the Public Domain.
     3      http://creativecommons.org/licenses/publicdomain/
     4 -->
     5 <html>
     6   <head>
     7     <style>
     8       span {
     9         background-image: -moz-element(#g);
    10         display: inline-block;
    11         margin-left: 1px;
    12       }
    13       #repeat {
    14         width: 38px;
    15         height: 38px;
    16         background-repeat: repeat;
    17       }
    18       #norepeat {
    19         width: 19px;
    20         height: 19px;
    21         background-repeat: no-repeat;
    22         background-position: center center;
    23       }
    24     </style>
    25   </head>
    26   <body>
    27     <span id="repeat"></span><br/>
    28     <span id="norepeat"></span>
    29     <div style="overflow:hidden; height:0px">
    30       <div id="g" style="width:17px; height:17px; border:1px solid red;
    31                          background: orange;"></div>
    32     </div>
    33   </body>
    34 </html>

mercurial