Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!--
Any copyright is dedicated to the Public Domain.
-->
<!DOCTYPE html>
<html>
<head>
<title>wide background-size: auto 32px; for nonpercent-width-omitted-height-viewbox.svg</title>
<link rel="author" title="Jeff Walden" href="http://whereswalden.com/" />
<meta name="flags" content="svg" />
<style type="text/css">
div
{
width: 768px; height: 256px;
}
#outer
{
border: 1px solid black;
}
#inner
{
background-image: url(nonpercent-width-omitted-height-viewbox.svg);
background-repeat: no-repeat;
background-size: auto 32px;
}
</style>
</head>
<body>
<div id="outer"><div id="inner"></div></div>
</body>
</html>