<!DOCTYPE html>
<html>
<head>
<style>
#theDiv {
width: 100px;
height: 100px;
-webkit-mask-image: url(resources/circle.png);
-webkit-mask-repeat: round;
/* the mask-size is at least twice as big as the div */
-webkit-mask-size: 201px 201px;
background-color: green;
}
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
</head>
<body>
<p>This test PASSES if it doesn't CRASH.</p>
<div id="theDiv" />
</body>
</html>