layout/reftests/svg/as-image/background-scale-with-viewbox-1.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 reftest-zoom="2.0">
     3 <head>
     4   <style>
     5     div {
     6       background-color: yellow;
     7       background-image: url("white-rect-with-viewbox.svg");
     8       width: 6px;
     9       height: 30px;
    10     }
    11     body {
    12       background-color: black;
    13       margin:  0px;
    14       padding: 0px;
    15       border:  0px;
    16     }
    17   </style>
    18 </head>
    19 <body>
    20   <div></div>
    21 </body>
    22 </html>

mercurial