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

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/control-clip-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/fast/repaint/control-clip-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/control-clip.html b/third_party/WebKit/LayoutTests/fast/repaint/control-clip-expected.html
similarity index 58%
copy from third_party/WebKit/LayoutTests/fast/repaint/control-clip.html
copy to third_party/WebKit/LayoutTests/fast/repaint/control-clip-expected.html
index 3ce4dca689023c930258e00afd1bb39017ec3aa9..74519cc4fba6092d0547d52f09111cfa7e4a212a 100644
--- a/third_party/WebKit/LayoutTests/fast/repaint/control-clip.html
+++ b/third_party/WebKit/LayoutTests/fast/repaint/control-clip-expected.html
@@ -1,20 +1,12 @@
<html>
<head>
<title></title>
- <script src="resources/text-based-repaint.js"></script>
- <script>
- function repaintTest()
- {
- document.getElementById("popup").selectedIndex = 1;
- document.getElementById("button").innerText = "SUCCESS";
- }
- </script>
<style>
select, button { display: block; height: 30px; width: 200px; }
select { -webkit-appearance: none; }
</style>
</head>
-<body onload="runRepaintTest()">
+<body>
<p>
Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=13391">http://bugs.webkit.org/show_bug.cgi?id=13391</a>
REGRESSION (r18819): Incomplete repaint of button text</i>.
@@ -23,9 +15,8 @@
The popup and the button should say &ldquo;SUCCESS&rdquo; with no sign of &ldquo;FAILURE&rdquo;.
</p>
<select id="popup">
- <option>FAILURE</option>
- <option>SUCCESS</option>
+ <option selected>SUCCESS</option>
</select>
- <button id="button">FAILURE</button>
+ <button id="button">SUCCESS</button>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698