blob: 460f0e21539bfec4219937ac0d80bf7d2558db5e [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
div {
width: 100px;
height: 100px;
}
.overflowHidden {
overflow: hidden;
background: purple;
}
.transformed {
-webkit-transform: rotate(45deg) translate3d(0, 0, 0);
background: green;
}
</style>
</head>
<body>
<p> Test for bug <a href="https://bugs.webkit.org/show_bug.cgi?id=83954">83954</a>: REGRESSION(110072): Clipping is not applied on layers that are animated using platform code</p>
<p> This passes if the bottom green transformed square doesn't split out of the purple square.</p>
<div class="overflowHidden" style="height: 200px">
<div class="overflowHidden">
<div style="background: green"></div>
</div>
<div class="overflowHidden">
<div class="transformed"></div>
</div>
</div>
</body>
</html>