wpt / css / css-backgrounds / background-size / vector / zero-ratio-no-dimensions-contain.html

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

/css/css-backgrounds/background-size/vector/zero-ratio-no-dimensions-contain.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
  zero-ratio-no-dimensions-contain.html
  -->

  <title>CSS Backgrounds and Borders Test: zero ratio, no dimensions, contain</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-tall-empty.html">

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

  <style type="text/css">
  div
  {
  background-image: url("support/intrinsic-ratio-no-dimensions.svg");
  background-repeat: no-repeat;
  background-size: contain;
  border: black solid 1px;
  height: 768px;
  width: 256px;
  }
  </style>

 </head>

 <body>

  <div></div>

 </body>
</html>

/css/css-backgrounds/background-size/vector/reference/ref-tall-empty.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-empty.html
  -->

  <title>CSS Reftest Reference</title>

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

  <style type="text/css">
div
{
  width: 256px; height: 768px;
}
#outer
{
  border: 1px solid black;
}
  </style>
</head>
<body>
<div id="outer"></div>
</body>
</html>