blob: 44d8ccdb8f5aabfcd0c5167a337dcb2a5c3345a6 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>Tests painting of a layer with a transform into shared backing</title>
<style>
.clipping {
position: absolute;
top: 20px;
left: 20px;
overflow: hidden;
height: 300px;
width: 300px;
margin: 10px;
border: 1px solid black;
}
.sharing {
position: relative;
top: 50px;
left: 50px;
width: 180px;
height: 180px;
background-color: green;
}
.transformed {
transform: rotate(45deg);
}
.trigger {
transform: translateZ(0);
width: 50px;
height: 50px;
background-color: silver;
}
</style>
</head>
<body>
<div class="composited trigger"></div>
<div class="clipping">
<div class="sharing transformed box">
</div>
</div>
</body>
</html>