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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/invalidate-after-composited-scroll.html

Issue 2203123004: Don't adjust for scrolling of the ancestor, rather than un-adjusting for it later. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: none Created 4 years, 4 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 | « no previous file | third_party/WebKit/Source/core/dom/IntersectionObservation.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/paint/invalidation/invalidate-after-composited-scroll.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/invalidate-after-composited-scroll.html b/third_party/WebKit/LayoutTests/paint/invalidation/invalidate-after-composited-scroll.html
index d097a6e23fb07a492ac6fdce4f923826d945dc9d..e307a643ff19b1238203e27607a65f8a1a528c88 100644
--- a/third_party/WebKit/LayoutTests/paint/invalidation/invalidate-after-composited-scroll.html
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/invalidate-after-composited-scroll.html
@@ -11,10 +11,12 @@
Tests that invalidation of a div after scrolling invalidates just the div and scrollbars, and no other area.
<script>
function repaintTest() {
- scroller.scrollTop = 2350;
- target.style.background = "papayawhip";
- finishRepaintTest();
+ setTimeout(function() {
+ scroller.scrollTop = 2350;
+ target.style.background = "papayawhip";
+ finishRepaintTest();
+ }, 3000);
Xianzhu 2016/08/03 16:55:55 Is the timeout intended?
chrishtr 2016/08/03 17:00:36 Sorry that was sloppy, fixed.
}
window.testIsAsync = true;
onload = runRepaintTest;
-</script>
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/IntersectionObservation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698