Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: third_party/WebKit/LayoutTests/scrollingcoordinator/plugin-with-wheel-handler.html

Issue 2651793012: [RootLayerScrolls] Annotate non-fast-scroll regions to correct layer (Closed)
Patch Set: Get rid of nonFastScrollableRects plumbing. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../resources/js-test.js"></script> 2 <script src="../resources/js-test.js"></script>
3 <script src="../resources/run-after-layout-and-paint.js"></script>
3 4
4 <script> 5 <script>
5 description('This test ensures that a plugin which wants to receive wheel ' + 6 description('This test ensures that a plugin which wants to receive wheel ' +
6 'events is included in the non-fast scrollable region.'); 7 'events is included in the non-fast scrollable region.');
7 window.jsTestIsAsync = true; 8 window.jsTestIsAsync = true;
8 9
9 onload = function() { 10 onload = function() {
11 runAfterLayoutAndPaint(function() {
10 if (window.internals) { 12 if (window.internals) {
11 shouldBe('internals.nonFastScrollableRects(document).length', '1'); 13 shouldBe('internals.nonFastScrollableRects(document).length', '1');
12 } else { 14 } else {
13 debug('This test requires access to window.internals.nonFastScrollableRe cts.'); 15 debug('This test requires access to window.internals.nonFastScrollableRe cts.');
14 } 16 }
15 17
16 finishJSTest(); 18 finishJSTest();
19 });
17 } 20 }
18 </script> 21 </script>
19 22
20 <embed id="plugin" type="application/x-webkit-test-webplugin"></embed> 23 <embed id="plugin" type="application/x-webkit-test-webplugin"></embed>
24 <div style="height:2000px"></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698