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
zero-height-ratio-contain.html
-->
<title>CSS Backgrounds and Borders Test: zero height ratio, contain</title>
<link rel="author" title="Jeff Walden" href="http://whereswalden.com/">
<link rel="match" href="reference/ref-tall-empty.html">
<meta name="flags" content="svg">
<style type="text/css">
div
{
background-image: url("support/intrinsic-ratio-zero-height.svg");
background-repeat: no-repeat;
background-size: contain;
border: black solid 1px;
height: 768px;
width: 256px;
}
</style>
</head>
<body>
<div></div>
</body>
</html>