wpt / css / css-backgrounds / background-size / vector / background-size-vector-026.html

Status: FAIL | Duration: 9ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-backgrounds/background-size/vector/background-size-vector-026.html

<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->

<!DOCTYPE html>

<html>

 <head>

  <!--
  The original and initial filename of this test was
  tall- -auto- -omitted-width-nonpercent-height.html
  -->

  <title>CSS Backgrounds and Borders Test: background-size: auto; for omitted-width-nonpercent-height.svg</title>

  <link rel="author" title="Jeff Walden" href="http://whereswalden.com/">
  <link rel="help" href="http://www.w3.org/TR/css3-background/#the-background-size">
  <link rel="help" href="http://www.w3.org/TR/SVG/coords.html#IntrinsicSizing">
  <link rel="help" href="http://www.w3.org/TR/SVG/coords.html#PreserveAspectRatioAttribute">
  <link rel="match" href="reference/ref-t-lime128x16-aqua128x16.html">

  <meta name="flags" content="svg">

  <style type="text/css">
  div
  {
  background-image: url("support/omitted-width-nonpercent-height.svg");
  background-repeat: no-repeat;
  background-size: auto;
  border: black solid 8px;
  height: 384px;
  width: 128px;
  }
  </style>

 </head>

 <body>

  <div></div>

 </body>
</html>

/css/css-backgrounds/background-size/vector/reference/ref-t-lime128x16-aqua128x16.html

<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->

<!DOCTYPE html>

<html>

 <head>

  <!--
  The original and initial filename of this reference file was
  ref-tall-lime256x16-aqua256x16.html
  -->

  <title>CSS Reftest Reference</title>

  <link rel="author" title="Jeff Walden" href="http://whereswalden.com/">

  <style type="text/css">
  div#outer
  {
  border: black solid 8px;
  height: 384px;
  width: 128px;
  }

  div#inner
  {
  height: 32px;
  width: 128px;
  }

  div#inner > div
  {
  height: 16px;
  width: 128px;
  }

  div#top {background-color: lime;}

  div#bottom {background-color: aqua;}
  </style>

 </head>

 <body>

  <div id="outer">
      <div id="inner">
          <div id="top"></div>
          <div id="bottom"></div>
      </div>
  </div>

 </body>
</html>