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

Unified 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, 11 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/scrollingcoordinator/plugin-with-wheel-handler.html
diff --git a/third_party/WebKit/LayoutTests/scrollingcoordinator/plugin-with-wheel-handler.html b/third_party/WebKit/LayoutTests/scrollingcoordinator/plugin-with-wheel-handler.html
index 1e6c91657f0f105a49ed0ef7c1a09e49070462c2..3f1208ee5236203a5f7e932837cd98acc3e490e8 100644
--- a/third_party/WebKit/LayoutTests/scrollingcoordinator/plugin-with-wheel-handler.html
+++ b/third_party/WebKit/LayoutTests/scrollingcoordinator/plugin-with-wheel-handler.html
@@ -1,5 +1,6 @@
<!DOCTYPE html>
<script src="../resources/js-test.js"></script>
+<script src="../resources/run-after-layout-and-paint.js"></script>
<script>
description('This test ensures that a plugin which wants to receive wheel ' +
@@ -7,6 +8,7 @@ description('This test ensures that a plugin which wants to receive wheel ' +
window.jsTestIsAsync = true;
onload = function() {
+ runAfterLayoutAndPaint(function() {
if (window.internals) {
shouldBe('internals.nonFastScrollableRects(document).length', '1');
} else {
@@ -14,7 +16,9 @@ onload = function() {
}
finishJSTest();
+ });
}
</script>
<embed id="plugin" type="application/x-webkit-test-webplugin"></embed>
+<div style="height:2000px"></div>

Powered by Google App Engine
This is Rietveld 408576698