blob: e0c26d5fe16fbee3fbcef7f575c4900117715390 [file] [log] [blame]
<!doctype html>
<html>
<head>
<title>CSS Backgrounds Test: background-origin:content-box & background-size</title>
<link rel="author" title="finscn" href="mailto:finscn@gmail.com" >
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-background-origin" >
<meta name="flags" content="">
<link rel="match" href="../reference/origin-content-box_with_size-ref.html">
<meta charset="utf-8">
<style type="text/css">
div {
border : 16px solid rgba(60,150,255,0.4);
width : 450px;
height : 224px;
padding : 16px;
margin-top : 8px;
background-image : url("support/yellow-orange-blue-160x160.png");
background-origin : content-box;
background-size : 50%;
}
.no-repeat {
background-repeat : no-repeat;
}
.repeat {
background-repeat : repeat;
}
</style>
</head>
<body>
<div class="no-repeat"></div>
<div class="repeat"></div>
</body>
</html>