4 <link rel=
"stylesheet" href=
"resources/flexbox.css">
5 <script src=
"../../fast/repaint/resources/text-based-repaint.js"></script>
27 <div id=
"flex-item-1" class=
"flex-item"></div>
28 <div class=
"flex-item"></div>
29 <div class=
"flex-item"></div>
32 function repaintTest() {
33 var div
= document
.getElementById("flex-item-1");
34 div
.classList
.add("width");
36 window
.onload = function() {
37 if (!window
.testRunner
) {
38 document
.body
.appendChild(document
.createTextNode(
39 "Tests to make sure that when changing the size of one flex item changes the "
40 + "location of another flex item, we properly repaint. The repaint rect should "
41 + "include the three flex items."));
43 window
.enablePixelTesting
= true;