<!DOCTYPE html>
<html lang="en">
<head>
<style>
#back {
width: 1000px;
height: 600px;
background-color: green;
}
#front {
width: 800px;
height: 400px;
background-color: red;
border: 50px solid blue;
padding: 50px;
-webkit-mask-image: url(resources/circle-alpha.svg);
-webkit-mask-size: 121px 93px;
-webkit-mask-repeat: space space;
-webkit-mask-origin: content-box;
-webkit-mask-position: 100px 100px; /* Should be ignored because of repeat: space */
-webkit-mask-clip: content-box;
}
</style>
</head>
<body>
<div id="back">
<div id="front" />
</div>
<script>
document.body.offsetLeft;
</script>
</body>
</html>