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

Unified Diff: LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-after-sibling-z-index-change.html

Issue 26110004: Defer the real work in updateCompositingLayers until it's really needed. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: patch for landing Created 7 years, 2 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/overflow/automatically-opt-into-composited-scrolling-after-sibling-z-index-change.html
diff --git a/LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-after-sibling-z-index-change.html b/LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-after-sibling-z-index-change.html
index 4c033eeb1bc098ed33a51e5ff86dbdd0589909cd..bee7789e3cd16b47768e1bf27407c2bf4b39cc86 100644
--- a/LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-after-sibling-z-index-change.html
+++ b/LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-after-sibling-z-index-change.html
@@ -52,6 +52,7 @@
var container = document.getElementById('container');
predecessor.style.zIndex = '5';
+ window.internals.forceCompositingUpdate(document);
var pass = true;
if (!didOptIn(container)) {
@@ -60,6 +61,7 @@
}
predecessor.style.zIndex = '';
+ window.internals.forceCompositingUpdate(document);
if (didOptIn(container)) {
pass = false;

Powered by Google App Engine
This is Rietveld 408576698