layout/reftests/backgrounds/vector/wide--contain--percent-width-omitted-height.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 <!--
     2      Any copyright is dedicated to the Public Domain.
     3      http://creativecommons.org/publicdomain/zero/1.0/
     4 -->
     5 <!DOCTYPE html>
     6 <html>
     7 <head>
     8   <title>wide background-size: contain; for percent-width-omitted-height.svg</title>
     9   <link rel="author" title="Jeff Walden" href="http://whereswalden.com/" />
    10   <link rel="help" href="http://www.w3.org/TR/css3-background/#the-background-size" />
    11   <link rel="help" href="http://www.w3.org/TR/SVG/coords.html#IntrinsicSizing" />
    12   <link rel="help" href="http://www.w3.org/TR/SVG/coords.html#PreserveAspectRatioAttribute" />
    13   <meta name="flags" content="svg" />
    14   <style type="text/css">
    15 div
    16 {
    17   width: 768px; height: 256px;
    18 }
    19 #outer
    20 {
    21   border: 1px solid black;
    22 }
    23 #inner
    24 {
    25   background-image: url(percent-width-omitted-height.svg);
    26   background-repeat: no-repeat;
    27   background-size: contain;
    28 }
    29   </style>
    30 </head>
    31 <body>
    32 <div id="outer"><div id="inner"></div></div>
    33 </body>
    34 </html>

mercurial