11 transform: translateZ(
0);
14 background-color: green;
17 This test verifies layout overflow will be recomputed when CSS transform is changed.
18 <div id=
"container" data-expected-scroll-width=
"100" data-expected-scroll-height=
"100">
22 <script src=
"../../resources/check-layout.js"></script>
24 checkLayout("#container");
25 var composited
= document
.getElementById('composited');
26 composited
.style
.webkitTransform
= 'translate3d(100px, 100px, 0)';
27 var container
= document
.getElementById('container');
28 container
.setAttribute("data-expected-scroll-width", 200);
29 container
.setAttribute("data-expected-scroll-height", 200);
30 checkLayout("#container");