Index: LayoutTests/css3/flexbox/repaint-rtl-column.html |
diff --git a/LayoutTests/css3/flexbox/repaint-rtl-column.html b/LayoutTests/css3/flexbox/repaint-rtl-column.html |
index b8cdde6b58536052fe9c2a7a2af5d23abb2f26e3..b123fb0d6d35bb24818ff65239cee998aeb125f8 100644 |
--- a/LayoutTests/css3/flexbox/repaint-rtl-column.html |
+++ b/LayoutTests/css3/flexbox/repaint-rtl-column.html |
@@ -33,17 +33,25 @@ function setFlex(value) |
window.onload = function() { |
if (window.testRunner) { |
- testRunner.dumpAsTextWithPixelResults(); |
+ testRunner.dumpAsText(); |
document.body.offsetTop; |
- testRunner.display(); |
+ window.internals.startTrackingRepaints(document); |
testRunner.waitUntilDone(); |
} |
setTimeout(function() { |
setFlex(4.6); |
setTimeout(function() { |
setFlex(5); |
- if (window.testRunner) |
+ if (window.testRunner) { |
+ document.body.offsetTop; |
+ var repaintRects = window.internals.repaintRectsAsText(document); |
+ window.internals.stopTrackingRepaints(document); |
+ var pre = document.createElement('pre'); |
+ document.body.appendChild(pre); |
+ pre.textContent += repaintRects; |
+ |
testRunner.notifyDone(); |
+ } |
}) |
}) |
}; |