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

Unified Diff: LayoutTests/compositing/overflow/build-paint-order-list-where-opt-in-decisions-can-affect-each-other.html

Issue 14741004: NOT FOR REVIEW - Update comp-scrolling state at a well defined point in the pipeline. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added annotations describing how this patch will be split. Created 7 years, 8 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/build-paint-order-list-where-opt-in-decisions-can-affect-each-other.html
diff --git a/LayoutTests/compositing/overflow/build-paint-order-list-where-opt-in-decisions-can-affect-each-other.html b/LayoutTests/compositing/overflow/build-paint-order-list-where-opt-in-decisions-can-affect-each-other.html
index 0742db2f4f1fd1e48e59eb335edaac71bff10aad..6c7f23307bf0603ec4ef81aa3f63683b42bb62df 100644
--- a/LayoutTests/compositing/overflow/build-paint-order-list-where-opt-in-decisions-can-affect-each-other.html
+++ b/LayoutTests/compositing/overflow/build-paint-order-list-where-opt-in-decisions-can-affect-each-other.html
@@ -114,13 +114,16 @@
parentscrollinglayer.style.webkitTransform = 'translateZ(0px)';
document.body.offsetTop;
- window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(false);
+ // PATCH 1 (and below)
+ window.internals.setNeedsCompositedScrolling(parentscrollinglayer,
+ window.internals.FORCE_COMPOSITED_SCROLLING_OFF);
parentscrollinglayer.style.webkitTransform = '';
var oldStackingOrder = getStackingOrder();
var oldPaintOrder = getPaintOrder(childscrollinglayer);
- window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(true);
+ window.internals.setNeedsCompositedScrolling(parentscrollinglayer,
+ window.internals.FORCE_COMPOSITED_SCROLLING_ON);
parentscrollinglayer.style.webkitTransform = 'translateZ(0px)';
var newStackingOrder = getStackingOrder();

Powered by Google App Engine
This is Rietveld 408576698