2009-05-28 11:09:05 -07:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
2011-01-13 02:40:12 -08:00
|
|
|
<title>wide background-size: auto; for omitted-width-percent-height.svg</title>
|
2009-05-28 11:09:05 -07:00
|
|
|
<style type="text/css">
|
2011-01-13 02:40:12 -08:00
|
|
|
div
|
|
|
|
{
|
|
|
|
width: 768px; height: 256px;
|
|
|
|
}
|
2009-05-28 11:09:05 -07:00
|
|
|
#outer
|
|
|
|
{
|
|
|
|
border: 1px solid black;
|
|
|
|
}
|
|
|
|
#inner
|
|
|
|
{
|
2011-01-13 02:40:12 -08:00
|
|
|
background-image: url(omitted-width-percent-height.svg);
|
2009-05-28 11:09:05 -07:00
|
|
|
background-repeat: no-repeat;
|
2011-01-13 02:40:12 -08:00
|
|
|
background-size: auto;
|
2009-05-28 11:09:05 -07:00
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="outer"><div id="inner"></div></div>
|
|
|
|
</body>
|
|
|
|
</html>
|