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

Unified Diff: LayoutTests/compositing/overflow/resources/automatically-opt-into-composited-scrolling.js

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/resources/automatically-opt-into-composited-scrolling.js
diff --git a/LayoutTests/compositing/overflow/resources/automatically-opt-into-composited-scrolling.js b/LayoutTests/compositing/overflow/resources/automatically-opt-into-composited-scrolling.js
index 312dd31110f5727db7ade650e26c304f590d85e4..90feafedf1eb47c7ce7f23d8958afb3f8f1ff784 100644
--- a/LayoutTests/compositing/overflow/resources/automatically-opt-into-composited-scrolling.js
+++ b/LayoutTests/compositing/overflow/resources/automatically-opt-into-composited-scrolling.js
@@ -157,6 +157,19 @@ function permuteWithFixedOrdering(testPermutation, siblingIndex, containerIndex,
ordering[secondChildIndex].style.zIndex = '0';
}
+ // PATCH 1
+ if (debugMode) {
+ write('permutationIteration: ' + permutationIteration);
+ write('hasPositionedAncestor ' + hasPositionedAncestor);
+ write('ancestor, z-index: ' + ancestor.style.zIndex + ', position: ' + ancestor.style.position + ', display: ' + ancestor.style.display);
+ write('predecessor, z-index: ' + predecessor.style.zIndex + ', position: ' + predecessor.style.position + ', display: ' + predecessor.style.display);
+ write('successor, z-index: ' + successor.style.zIndex + ', position: ' + successor.style.position + ', display: ' + successor.style.display);
+ write('firstChild, z-index: ' + firstChild.style.zIndex + ', position: ' + firstChild.style.position + ', display: ' + firstChild.style.display);
+ write('secondChild, z-index: ' + secondChild.style.zIndex + ', position: ' + secondChild.style.position + ', display: ' + secondChild.style.display);
+ write('container, z-index: ' + container.style.zIndex + ', position: ' + container.style.position + ', display: ' + container.style.display);
+ write('');
+ }
+
testPermutation(permutationIteration, ordering, hasPositionedAncestor, containerIsPositioned);
permutationIteration++;
}

Powered by Google App Engine
This is Rietveld 408576698