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

Unified Diff: third_party/WebKit/LayoutTests/css3/flexbox/repaint-on-layout-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-layout-expected.html
diff --git a/third_party/WebKit/LayoutTests/css3/flexbox/repaint-on-layout.html b/third_party/WebKit/LayoutTests/css3/flexbox/repaint-on-layout-expected.html
similarity index 54%
copy from third_party/WebKit/LayoutTests/css3/flexbox/repaint-on-layout.html
copy to third_party/WebKit/LayoutTests/css3/flexbox/repaint-on-layout-expected.html
index 821b646a9cf1da3728051f95ab4b431da4f6a04f..94cd01bfc4ac05c3cd9ed96a5687b0f6d4c43408 100644
--- a/third_party/WebKit/LayoutTests/css3/flexbox/repaint-on-layout.html
+++ b/third_party/WebKit/LayoutTests/css3/flexbox/repaint-on-layout-expected.html
@@ -2,14 +2,6 @@
<html>
<head>
<title>Test for repaint on layout of flexbox</title>
- <script src="../../fast/repaint/resources/text-based-repaint.js" type="text/javascript"></script>
- <script>
- function repaintTest()
- {
- if (window.testRunner)
- document.getElementById('badge').style.display = "none";
- }
- </script>
<style>
html {
height: 100%
@@ -32,26 +24,14 @@
float: right;
line-height: 0;
}
-
- #badge {
- background-color: red;
- display: inline-block;
- height: 20px;
- width: 80px;
- }
-
- .item:hover #badge {
- display: none;
- }
</style>
</head>
-<body onload="runRepaintTest()">
+<body>
<nav class="nav-bar">
<div class="nav-right"></div>
</nav>
<div class="item">
<div class="state">
- <div id="badge"></div>
</div>
</div>
</body>

Powered by Google App Engine
This is Rietveld 408576698