| <!DOCTYPE html> <!-- webkit-test-runner [ useFlexibleViewport=true internal:AsyncOverflowScrollingEnabled=true ] --> |
| <meta name="viewport" content="initial-scale=1.0"> |
| z-index: 0; /* stacking context ancestor is the root */ |
| testRunner.waitUntilDone(); |
| function getUnstableScrollScript(x, y, scrollX, scrollY) |
| uiController.scrollUpdatesDisabled = true; |
| uiController.immediateScrollElementAtContentPointToOffset(${x}, ${y}, ${scrollX}, ${scrollY}); |
| uiController.doAfterPresentationUpdate(function() { |
| uiController.uiScriptComplete(); |
| if (!testRunner.runUIScript) |
| testRunner.runUIScript(getUnstableScrollScript(50, 50, 0, 250), () => { |
| window.addEventListener('load', doTest, false); |
| <div class="scroll-content"> |