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

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
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..d752da8a66588ea2342568a0cd167b51f07714eb
--- /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 window.eventHistory.length is 2
+PASS window.eventHistory[0] is "plugin.mousedown"
+PASS window.eventHistory[1] is "plugin.mouseup"
+PASS window.scrollY is not 0
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698