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..c9c2bd134d03f100b9b61ca9a4a2d50d621956cc 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,18 @@ function permuteWithFixedOrdering(testPermutation, siblingIndex, containerIndex, |
ordering[secondChildIndex].style.zIndex = '0'; |
} |
+ 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++; |
} |