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

Unified Diff: LayoutTests/compositing/iframes/resources/fixed-position-transformed-subframe.html

Issue 191693002: Delay scrollContents until the next paint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix nit 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
Index: LayoutTests/compositing/iframes/resources/fixed-position-transformed-subframe.html
diff --git a/LayoutTests/compositing/iframes/resources/fixed-position-transformed-subframe.html b/LayoutTests/compositing/iframes/resources/fixed-position-transformed-subframe.html
index 8ee97a3a56a8bb2a36d2c1a4a92f967909bd8227..71a5ce730f0b6b9c371ca640d20b6b7a1e17b6e8 100644
--- a/LayoutTests/compositing/iframes/resources/fixed-position-transformed-subframe.html
+++ b/LayoutTests/compositing/iframes/resources/fixed-position-transformed-subframe.html
@@ -40,13 +40,15 @@
if (window.testRunner)
testRunner.waitUntilDone();
- runAfterDisplay(function() {
- // Any scroll should keep the fixed-position element where it is.
- // If it stutters or disappears incorrectly, then the red background will be revealed.
- window.scrollTo(0, 150);
- if (window.testRunner)
+ // Any scroll should keep the fixed-position element where it is.
+ // If it stutters or disappears incorrectly, then the red background will be revealed.
+ window.scrollTo(0, 150);
+
+ if (window.testRunner) {
+ runAfterDisplay(function() {
testRunner.notifyDone();
- });
+ });
+ }
}
window.addEventListener('load', doTest, false);

Powered by Google App Engine
This is Rietveld 408576698