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

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/reflection-redraw-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/reflection-redraw-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/reflection-redraw.html b/third_party/WebKit/LayoutTests/fast/repaint/reflection-redraw-expected.html
similarity index 79%
copy from third_party/WebKit/LayoutTests/fast/repaint/reflection-redraw.html
copy to third_party/WebKit/LayoutTests/fast/repaint/reflection-redraw-expected.html
index 8ade6507f0c50ad76ecdd16571f8496c7fa3914f..bcab5a2881a243fc8a405015f7aab45f8c20996c 100644
--- a/third_party/WebKit/LayoutTests/fast/repaint/reflection-redraw.html
+++ b/third_party/WebKit/LayoutTests/fast/repaint/reflection-redraw-expected.html
@@ -24,19 +24,12 @@
background-color: gray;
-webkit-box-reflect: left 5px;
}
-
- </style>
- <script src="resources/text-based-repaint.js" type="text/javascript" charset="utf-8"></script>
- <script type="text/javascript" charset="utf-8">
- function repaintTest()
- {
- var paras = document.getElementsByTagName('p');
- for (var i = 0; i < paras.length; ++i)
- paras[i].style.color = 'green';
+ p {
+ color: green;
}
- </script>
+ </style>
</head>
-<body onload="runRepaintTest()">
+<body>
<div id="container">
<div class="box reflect-top" style="left: 275px; -webkit-box-reflect: above 10px;">
<p>The color of this text in the reflection should be green</p>

Powered by Google App Engine
This is Rietveld 408576698