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

42 lines
No EOL
1.1 KiB
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
tall- -contain- -width.html
-->
<title>CSS Backgrounds and Borders Test: background-size: contain; for omitted-width-nonpercent-height-extreme-viewbox.svg</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">
<link href="http://www.w3.org/TR/SVG/coords.html#ViewBoxAttribute" rel="help">
<meta content="svg" name="flags">
<style type="text/css">
div
{
background-image: url("support/omitted-width-nonpercent-height-extreme-viewbox.svg");
background-repeat: no-repeat;
background-size: contain;
border: black solid 1px;
height: 768px;
width: 256px;
}
</style>
</head>
<body>
<div></div>
</body></html>