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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/iframe-rounding.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/paint/invalidation/iframe-rounding.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/iframe-rounding.html b/third_party/WebKit/LayoutTests/paint/invalidation/iframe-rounding.html
index 5337f402b42d52438cd3b9038f26904ffe909d7e..1731d519c971fd9a339aef2b6400c29f78868e40 100644
--- a/third_party/WebKit/LayoutTests/paint/invalidation/iframe-rounding.html
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/iframe-rounding.html
@@ -8,7 +8,7 @@ because iframes are painted in rounded-int coordinates.
<iframe id='iframe' srcdoc="<div id='target' style='position: relative; background: lightblue; width: 100px; height: 100px; left: 0.5px'></div>"></iframe>
</div>
<script>
-onload = runRepaintTest;
+onload = runRepaintAndPixelTest;
function repaintTest() {
iframe.contentDocument.querySelector('#target').style.background = 'lightgray';
}

Powered by Google App Engine
This is Rietveld 408576698