16 transform: rotate(
0deg) translate3d(
0,
0,
0);
17 -webkit-transition: -webkit-transform linear
0s;
22 transform: rotate(
45deg) translate3d(
0,
0,
0);
27 <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>
28 <p> This passes if the green transformed square doesn't split out of the purple square.
</p>
30 <div id=
"transformed"></div>
33 if (!window
.eventSender
)
34 alert("To manually test, hover over the green div. The overflow should be properly clipped.");
36 document
.body
.offsetTop
; // Force layout. The mouse is not tracked before first layout.
37 var transformed
= document
.getElementById("transformed");
38 transformed
.parentNode
.setAttribute("id", "overflowHidden");
39 eventSender
.mouseMoveTo(transformed
.offsetLeft
+ 10, transformed
.offsetTop
+ 10);
40 document
.body
.offsetTop
; // Update layout for hovered state.