blob: f7a706a0dccedb7ed081c2423e4f90a693cbafd4 [file] [log] [blame]
<html>
<head>
<style>
.container {
display: inline-block;
border: 1px solid black;
margin: 20px;
}
.scaled {
-webkit-transform: scale(1.0001);
-webkit-transform-origin: top left;
}
.box {
width: 100px;
height: 100px;
background-color: black;
margin: 10px;
}
.mask3 {
-webkit-mask-box-image: url(resources/dot.png) 3 stretch stretch;
}
.mask6 {
-webkit-mask-box-image: url(resources/dot.png) 6 stretch stretch;
}
</style>
</head>
<body>
<!-- Other than the scale, left and right sides should look the same. -->
<div class="container">
<div class="mask3 box"></div>
<div class="mask6 box"></div>
</div>
<div class="scaled container">
<div class="mask3 box"></div>
<div class="mask6 box"></div>
</div>
</body>
</html>