blob: e05119d8e9d36848b4b765c0eabfff827eff704e [file] [log] [blame]
<!DOCTYPE html>
<!--
| Test case for the background shorthand property with ordered repeat,
| position, image and color.
-->
<html>
<head>
<style>
div {
width: 500px;
height: 400px;
}
</style>
<script>
if (window.testRunner) {
window.testRunner.waitUntilDone();
}
var image = new Image();
var image_name = 'cobalt.png';
image.onload = function() {
var cobalt = document.getElementById('image');
cobalt.style.background = 'no-repeat center url(' + image_name + ') #ff6363';
if (window.testRunner) {
window.testRunner.notifyDone();
}
}
image.src = image_name;
</script>
</head>
<body>
<div id='image'></div>
</body>
</html>