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