Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-backgrounds/background-size/vector/background-size-vector-021.html - WPT Dashboard Interop Dashboard
<!--
Any copyright is dedicated to the Public Domain.
-->
<!DOCTYPE html>
<html>
<head>
<!--
The original and initial filename of this test was
tall- -auto- -nonpercent-width-omitted-height-viewbox.html
-->
<title>CSS Backgrounds and Borders Test: background-size: auto; for nonpercent-width-omitted-height-viewbox.svg</title>
<link rel="match" href="reference/background-size-vector-021-ref.html">
<meta name="flags" content="svg">
<style type="text/css">
div
{
background-image: url("support/nonpercent-width-omitted-height-viewbox.svg");
background-repeat: no-repeat;
background-size: auto;
border: black solid 8px;
height: 384px;
width: 128px;
}
</style>
</head>
<body>
<div></div>
</body>
</html>