<!DOCTYPE html> <!-- webkit-test-runner [ MockScrollbarsEnabled=false AsyncOverflowScrollingEnabled=true ] -->
<html>
<head>
    <style>
        .scroller {
            height: 200px;
            width: 2096px; /* Wider than the 2048 tiling threshold */
            border: 1px solid black;
            overflow-x: scroll;
        }

        .content {
            width: 200%;
        }
    </style>
    <script>
        if (window.testRunner)
            testRunner.waitUntilDone();

        if (window.internals)
            internals.setUsesOverlayScrollbars(true);

        window.addEventListener('load', () => {
            setTimeout(() => {
                testRunner.notifyDone();
            }, 0);
        }, false);
    </script>
</head>
<body>
    <div class="scroller">
        <div class="content">Scrolled content</div>
    </div>
</body>
</html>
