Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!--
Any copyright is dedicated to the Public Domain.
-->
<!DOCTYPE html>
<html>
<head>
<!--
The original and initial filename of this test was
tall- -contain- -omitted-width-percent-height.html
-->
<title>CSS Backgrounds and Borders Test: background-size: contain; for omitted-width-percent-height.svg</title>
<link rel="author" title="Jeff Walden" href="http://whereswalden.com/">
<link rel="match" href="reference/ref-tall-lime256x384-aqua256x384.html">
<meta name="flags" content="svg">
<style type="text/css">
div
{
background-image: url("support/omitted-width-percent-height.svg");
background-repeat: no-repeat;
background-size: contain;
border: black solid 1px;
height: 768px;
width: 256px;
}
</style>
</head>
<body>
<div></div>
</body>
</html>