| <link rel="stylesheet" href="resources/flexbox.css"> |
| <div id="flex-item-1" class="flex-item"></div> |
| <div class="flex-item"></div> |
| <div class="flex-item"></div> |
| function resizeFlexItem() { |
| var div = document.getElementById("flex-item-1"); |
| div.classList.add("width"); |
| window.onload = function() { |
| testRunner.waitUntilDone(); |
| document.body.appendChild(document.createTextNode( |
| "Tests to make sure that when changing the size of one flex item changes the " |
| + "location of another flex item, we properly repaint. The repaint rect should " |
| + "include the three flex items.")); |
| setTimeout(resizeFlexItem, 0); |