Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / scrollingcoordinator / plugin-with-wheel-handler.html
blob1e6c91657f0f105a49ed0ef7c1a09e49070462c2
1 <!DOCTYPE html>
2 <script src="../resources/js-test.js"></script>
4 <script>
5 description('This test ensures that a plugin which wants to receive wheel ' +
6 'events is included in the non-fast scrollable region.');
7 window.jsTestIsAsync = true;
9 onload = function() {
10 if (window.internals) {
11 shouldBe('internals.nonFastScrollableRects(document).length', '1');
12 } else {
13 debug('This test requires access to window.internals.nonFastScrollableRects.');
16 finishJSTest();
18 </script>
20 <embed id="plugin" type="application/x-webkit-test-webplugin"></embed>