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

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/select-option-background-color-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/select-option-background-color-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/select-option-background-color.html b/third_party/WebKit/LayoutTests/fast/repaint/select-option-background-color-expected.html
similarity index 53%
copy from third_party/WebKit/LayoutTests/fast/repaint/select-option-background-color.html
copy to third_party/WebKit/LayoutTests/fast/repaint/select-option-background-color-expected.html
index 5f183e70eb73661e460a92496f3d6b981366c259..5764cebcda0c52ec59c11cf3b0a95e47ab617255 100644
--- a/third_party/WebKit/LayoutTests/fast/repaint/select-option-background-color.html
+++ b/third_party/WebKit/LayoutTests/fast/repaint/select-option-background-color-expected.html
@@ -2,20 +2,11 @@
<title>This is a test for regression against https://bugs.webkit.org/show_bug.cgi?id=49790</title>
</head>
-<body style="margin: 0;" onload="runRepaintTest()">
- <script>
- function repaintTest()
- {
- document.getElementById('option').style.backgroundColor = 'green';
- }
- </script>
-
- <script src="resources/text-based-repaint.js"></script>
-
+<body style="margin: 0;">
<p>This is a test for regression against <a href="https://bugs.webkit.org/show_bug.cgi?id=49790">https://bugs.webkit.org/show_bug.cgi?id=49790</a></p>
<select multiple="multiple">
- <option id="option" value="A">A</option>
+ <option id="option" value="A" style="background-color: green">A</option>
<option id="option" value="B">B</option>
</select>
</body>

Powered by Google App Engine
This is Rietveld 408576698