Index: third_party/WebKit/LayoutTests/css3/flexbox/repaint-on-margin-change-expected.html |
diff --git a/third_party/WebKit/LayoutTests/css3/flexbox/repaint-on-margin-change.html b/third_party/WebKit/LayoutTests/css3/flexbox/repaint-on-margin-change-expected.html |
similarity index 51% |
copy from third_party/WebKit/LayoutTests/css3/flexbox/repaint-on-margin-change.html |
copy to third_party/WebKit/LayoutTests/css3/flexbox/repaint-on-margin-change-expected.html |
index 887a09d1fcb87dfc22dbd8b7d83a6dea3e41272d..a951ac9744b2a29b731687b2d1dc57546d3052e5 100644 |
--- a/third_party/WebKit/LayoutTests/css3/flexbox/repaint-on-margin-change.html |
+++ b/third_party/WebKit/LayoutTests/css3/flexbox/repaint-on-margin-change-expected.html |
@@ -2,14 +2,6 @@ |
<html> |
<head> |
<title>Test for repaint on margin change</title> |
- <script src="../../fast/repaint/resources/text-based-repaint.js" type="text/javascript"></script> |
- <script> |
- function repaintTest() |
- { |
- if (window.testRunner) |
- document.getElementById('child-to-grow').style.marginLeft = '40px'; |
- } |
- </script> |
<style> |
.child { |
height: 20px; |
@@ -17,12 +9,12 @@ |
} |
</style> |
</head> |
-<body onload="runRepaintTest()"> |
+<body> |
<div style="display: flex; flex-direction: column; height: 100%"> |
<div style="flex: 1"></div> |
<div class='nested-row-flexbox'> |
<div class="child"></div> |
- <div class="child" id="child-to-grow"></div> |
+ <div class="child" id="child-to-grow" style="margin-left: 40px"></div> |
</div> |
</div> |
</body> |