<!DOCTYPE HTML> | |
<html> | |
<head> | |
<style> | |
div { | |
margin: 5px; | |
width: 130px; | |
height: 130px; | |
background: url('resources/ducky.png') no-repeat 0 0 /100% 100%, green; | |
} | |
</style> | |
<!-- This file should contain a duck with multiply blending. --> | |
<script src="resources/repaint.js" type="text/javascript"></script> | |
<script> | |
function repaintTest() { | |
document.getElementById('blender').style.webkitBackgroundBlendMode = 'multiply, normal'; | |
} | |
</script> | |
<body onload="runRepaintTest()"> | |
<div id="blender"></div> | |
</body> |