wpt / css / css-backgrounds / background-size / vector / background-size-vector-012.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-012.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- -32px-auto- -omitted-width-percent-height.html
  -->

  <title>CSS Backgrounds and Borders Test:  background-size: 16px auto; for omitted-width-percent-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-lime16x192-aqua16x192.html">

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

  <style type="text/css">
  div
  {
  background-image: url("support/omitted-width-percent-height.svg");
  background-repeat: no-repeat;
  background-size: 16px 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-lime16x192-aqua16x192.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-lime32x384-aqua32x384.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: 384px;
  width: 16px;
  }

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

  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>