Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / repaint / resize-repaint.html
blobfc5890cd68033f8ec5cf997b9a413a1f9f577de2
1 <!DOCTYPE html>
3 <html>
4 <head>
5 <style>
6 #resizing {
7 width: 400px;
8 border: 1px solid black;
9 transform: translateZ(0);
12 #resizing > div {
13 height: 50px;
14 margin: 1px;
15 background-color: silver;
17 </style>
18 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
19 <script>
20 function repaintTest()
22 var resizingDiv = document.getElementById('resizing');
24 for (var i = 0; i < 2; ++i) {
25 var newDiv = document.createElement('div');
26 resizingDiv.appendChild(newDiv);
30 window.onload = runRepaintTest;
31 </script>
32 </head>
33 <body>
35 <div id="resizing">
36 <div></div>
37 <div></div>
38 </div>
40 </body>
41 </html>