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

Unified Diff: LayoutTests/fast/repaint/obscured-background-no-repaint.html

Issue 196353013: Convert some repaint tests to not call display() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More expectations, remove do-not-repaint tricky test Created 6 years, 9 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
« no previous file with comments | « LayoutTests/fast/repaint/body-background-image.html ('k') | LayoutTests/media/audio-repaint.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/repaint/obscured-background-no-repaint.html
diff --git a/LayoutTests/fast/repaint/obscured-background-no-repaint.html b/LayoutTests/fast/repaint/obscured-background-no-repaint.html
index 3c42078c10c8c5a5440f488ab65c0f95f46dbf54..6d700b55189b73ccc09d7f86ce4ae0d2f0c01e1a 100644
--- a/LayoutTests/fast/repaint/obscured-background-no-repaint.html
+++ b/LayoutTests/fast/repaint/obscured-background-no-repaint.html
@@ -2,6 +2,7 @@
<head>
<script>jsTestIsAsync = true;</script>
<script src="../../resources/js-test.js"></script>
+<script src="../../resources/run-after-display.js"></script>
<style type="text/css">
#test1 div {
height: 100px;
@@ -50,12 +51,10 @@
{
document.body.offsetTop;
window.internals.startTrackingRepaints(document);
- testRunner.display();
- setTimeout(logRepaints, 200);
+ runAfterDisplay(logRepaints);
}
- function logRepaints()
- {
+ function logRepaints() {
repaintRects = window.internals.repaintRectsAsText(document);
window.internals.stopTrackingRepaints(document);
« no previous file with comments | « LayoutTests/fast/repaint/body-background-image.html ('k') | LayoutTests/media/audio-repaint.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698