servo/tests/wpt/css-tests/css-backgrounds-3_dev/html4/zero-width-ratio-contain.htm

41 lines
No EOL
986 B
HTML

<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
--><html><head>
<!--
The original and initial filename of this test was
zero-width-ratio-contain.html
-->
<title>CSS Backgrounds and Borders Test: zero width ratio, contain</title>
<link href="http://whereswalden.com/" rel="author" title="Jeff Walden">
<link href="http://www.w3.org/TR/css3-background/#the-background-size" rel="help">
<link href="http://www.w3.org/TR/SVG/coords.html#IntrinsicSizing" rel="help">
<link href="http://www.w3.org/TR/SVG/coords.html#PreserveAspectRatioAttribute" rel="help">
<meta content="svg" name="flags">
<style type="text/css">
div
{
background-image: url("support/intrinsic-ratio-zero-width.svg");
background-repeat: no-repeat;
background-size: contain;
border: black solid 1px;
height: 768px;
width: 256px;
}
</style>
</head>
<body>
<div></div>
</body></html>