blob: b70da4fd26a8ccd075d099c6f2b50da269896ff8 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
p {
margin: 0px;
}
#maskedElement {
width: 280px;
height: 210px;
background-color: blue;
-webkit-mask-image:url('resources/dice.png');
-webkit-mask-source-type:luminance;
}
</style>
</head>
<body>
<p><a href="https://bugs.webkit.org/show_bug.cgi?id=129682">Bug 129682</a> - On success, you should see a blue-tinted image of 3 dice.</p>
<p>This test sets the mask-image to a PNG image via a script.</p>
<div id="maskedElement"></div>
</body>
</html>