summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/scrollingcoordinator/plugin-with-wheel-handler.html
blob: 1e6c91657f0f105a49ed0ef7c1a09e49070462c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<script src="../resources/js-test.js"></script>

<script>
description('This test ensures that a plugin which wants to receive wheel ' +
            'events is included in the non-fast scrollable region.');
window.jsTestIsAsync = true;

onload = function() {
    if (window.internals) {
        shouldBe('internals.nonFastScrollableRects(document).length', '1');
    } else {
        debug('This test requires access to window.internals.nonFastScrollableRects.');
    }

    finishJSTest();
}
</script>

<embed id="plugin" type="application/x-webkit-test-webplugin"></embed>