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

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/absolute-display-block-to-none.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/absolute-display-block-to-none.html
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/absolute-display-block-to-none.html b/third_party/WebKit/LayoutTests/fast/repaint/absolute-display-block-to-none.html
index 2d0fac312ab453d1e603e68de9fbccd76407db07..b49288852685fefc1b771dbdd07b0d1d4b8580bc 100644
--- a/third_party/WebKit/LayoutTests/fast/repaint/absolute-display-block-to-none.html
+++ b/third_party/WebKit/LayoutTests/fast/repaint/absolute-display-block-to-none.html
@@ -4,7 +4,7 @@
function repaintTest() {
document.getElementById('absolute').style.display = 'none';
}
-onload = runRepaintTest;
+onload = runRepaintAndPixelTest;
</script>
When an absolute positioned element is set display:none, we should not invalidate the whole body.
<div id="absolute" style="position: absolute; width: 100px; height: 100px; top: 100px; left: 100px; background-color: red"></div>

Powered by Google App Engine
This is Rietveld 408576698