| OLD | NEW |
| 1 var debugMode = false; | 1 var debugMode = false; |
| 2 | 2 |
| 3 if (window.testRunner) | 3 if (window.testRunner) |
| 4 testRunner.dumpAsText(); | 4 testRunner.dumpAsText(); |
| 5 | 5 |
| 6 function write(str) | 6 function write(str) |
| 7 { | 7 { |
| 8 var pre = document.getElementById('console'); | 8 var pre = document.getElementById('console'); |
| 9 var text = document.createTextNode(str + '\n'); | 9 var text = document.createTextNode(str + '\n'); |
| 10 pre.appendChild(text); | 10 pre.appendChild(text); |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 } | 157 } |
| 158 } | 158 } |
| 159 } | 159 } |
| 160 } | 160 } |
| 161 | 161 |
| 162 function testOptInPermutation(count, ordering, hasPositionedAncestor, containerI
sPositioned) | 162 function testOptInPermutation(count, ordering, hasPositionedAncestor, containerI
sPositioned) |
| 163 { | 163 { |
| 164 if (!window.internals) | 164 if (!window.internals) |
| 165 return; | 165 return; |
| 166 | 166 |
| 167 window.internals.forceCompositingUpdate(document); |
| 168 |
| 167 var container = document.getElementById('container'); | 169 var container = document.getElementById('container'); |
| 168 var containerOptedIn = didOptIn(container); | 170 var containerOptedIn = didOptIn(container); |
| 169 | 171 |
| 170 window.internals.setNeedsCompositedScrolling(container, | 172 window.internals.setNeedsCompositedScrolling(container, |
| 171 window.internals.COMPOSITED_SCROLLING_ALWAYS_OFF); | 173 window.internals.COMPOSITED_SCROLLING_ALWAYS_OFF); |
| 172 | 174 |
| 173 var oldStackingOrder = getStackingOrder(container); | 175 var oldStackingOrder = getStackingOrder(container); |
| 174 | 176 |
| 175 window.internals.setNeedsCompositedScrolling(container, | 177 window.internals.setNeedsCompositedScrolling(container, |
| 176 window.internals.COMPOSITED_SCROLLING_ALWAYS_ON); | 178 window.internals.COMPOSITED_SCROLLING_ALWAYS_ON); |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 | 236 |
| 235 permuteWithFixedOrdering(testPermutation, siblingIndex, containerIndex, firs
tChildIndex, secondChildIndex, 1); | 237 permuteWithFixedOrdering(testPermutation, siblingIndex, containerIndex, firs
tChildIndex, secondChildIndex, 1); |
| 236 permuteWithFixedOrdering(testPermutation, siblingIndex, containerIndex, firs
tChildIndex, secondChildIndex, 2); | 238 permuteWithFixedOrdering(testPermutation, siblingIndex, containerIndex, firs
tChildIndex, secondChildIndex, 2); |
| 237 permuteWithFixedOrdering(testPermutation, siblingIndex, containerIndex, firs
tChildIndex, secondChildIndex, 3); | 239 permuteWithFixedOrdering(testPermutation, siblingIndex, containerIndex, firs
tChildIndex, secondChildIndex, 3); |
| 238 } | 240 } |
| 239 } // function doTest | 241 } // function doTest |
| 240 | 242 |
| 241 function runOptInPermutationSet(permutationSet) { | 243 function runOptInPermutationSet(permutationSet) { |
| 242 runPermutationSet(testOptInPermutation, permutationSet); | 244 runPermutationSet(testOptInPermutation, permutationSet); |
| 243 } | 245 } |
| OLD | NEW |