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

Unified Diff: LayoutTests/plugins/overlay-scrollbar-mouse-capture-expected.txt

Issue 296003011: Fix event passing to overlay scrollbars when over a plugin (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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
« no previous file with comments | « LayoutTests/plugins/overlay-scrollbar-mouse-capture.html ('k') | Source/core/page/EventHandler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/plugins/overlay-scrollbar-mouse-capture-expected.txt
diff --git a/LayoutTests/plugins/overlay-scrollbar-mouse-capture-expected.txt b/LayoutTests/plugins/overlay-scrollbar-mouse-capture-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18793329a3a4f4da3aac50f08dd16fc90ec40ad4
--- /dev/null
+++ b/LayoutTests/plugins/overlay-scrollbar-mouse-capture-expected.txt
@@ -0,0 +1,14 @@
+
+This tests whether scrolling still works correctly when an overlay scrollbar is over a plugin. The plugin should still receive mouse down/up events when clicking an overlay scrollbar. Scrolling should still work correctly too. However mouse capture should not be started on the plugin as this would interfere with events going to the scrollbar.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS eventHistory.length is 2
+PASS eventHistory[0] is "plugin.mousedown"
+PASS eventHistory[1] is "plugin.mouseup"
+PASS window.scrollY is not 0
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/plugins/overlay-scrollbar-mouse-capture.html ('k') | Source/core/page/EventHandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698