Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(447)

Unified Diff: third_party/WebKit/LayoutTests/css3/flexbox/repaint-on-margin-change-expected.html

Issue 1994373002: Convert some repaint tests into ref tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698