blob: 01cbc17e5c6530e7029b644b5efaa64436e4e8e0 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>CSS Background Test: A SVG background should fully cover the positioning area</title>
<link rel="author" title="schenney" href="mailto:schenney@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-backgrounds-3/#the-background-size">
<link rel="match" href="reference/background-size-cover-svg-ref.html">
<style>
div {
height: 400px;
width: 600px;
position: relative;
background-color: red;
background-size: cover;
background-repeat: no-repeat;
background-position: bottom center;
background-image: url("support/rectangle-2560x208.svg");
}
</style>
</head>
<body>
<div></div>
</body>
</html>