blob: f46598e2311b4fa8d4850493ff3e98a156c20f54 [file] [log] [blame]
<html>
<head>
<style>
#box {
position: absolute;
left: 100px;
top: 100px;
height: 100px;
width: 100px;
background-color: red;
-webkit-mask-image: -webkit-cross-fade(url(resources/stripes-100.png), url(resources/green-100.png), 25%);
}
#boxStatic {
position: absolute;
left: 100px;
top: 200px;
height: 100px;
width: 100px;
background-color: red;
-webkit-mask-image: -webkit-cross-fade(url(resources/stripes-100.png), url(resources/green-100.png), 25%);
}
</style>
</head>
<body>
<img id="box" src="resources/green-100.png"/>
<img id="boxStatic" src="resources/stripes-100.png"/>
<div id="result">
PASS - "webkitMaskImage" property for "box" and "boxStatic" elements at 2.25s are close enough to each other
</div>
</body>
</html>