wpt / css / css-backgrounds / background-size / vector / tall--auto-32px--percent-width-nonpercent-height.html

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

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

  <title>CSS Backgrounds and Borders Test: background-size: auto 32px; for percent-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-tall-lime256x16-aqua256x16.html">

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

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

 </head>

 <body>

  <div></div>

 </body>
</html>

/css/css-backgrounds/background-size/vector/reference/ref-tall-lime256x16-aqua256x16.html

<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<!DOCTYPE html>
<html>
<head>
  <title>tall reference, 256x16 lime, 256x16 aqua</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;
}
#inner
{
  width: 256px; height: 32px;
}
#inner > div { width: 256px; height: 16px; }
#top { background-color: lime; }
#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>