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 bottom green transformed square doesn't split out of the purple square.
</p>
29 <div class=
"overflowHidden" style=
"height: 200px">
30 <div class=
"overflowHidden">
31 <div class=
"transformed"></div>
33 <div class=
"overflowHidden">
34 <div class=
"transformed"></div>
38 if (!window
.eventSender
)
39 alert("To manually test, hover over the purple divs. The overflow should be properly clipped.");
41 document
.body
.offsetTop
; // Force layout. The mouse is not tracked before first layout.
42 var transformed
= document
.getElementsByClassName("transformed");
43 eventSender
.mouseMoveTo(transformed
[0].offsetLeft
+ 10, transformed
[0].offsetTop
+ 10);
44 eventSender
.mouseMoveTo(transformed
[1].offsetLeft
+ 10, transformed
[1].offsetTop
+ 10);
45 document
.body
.offsetTop
; // Update layout for hovered state.