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

Unified Diff: LayoutTests/fast/events/wheelevent-ctrl-expected.txt

Issue 768443002: Honor the wheel event canScroll bit instead of trying to infer it from the ctrl modifier (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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/fast/events/wheelevent-ctrl-expected.txt
diff --git a/LayoutTests/fast/events/wheelevent-ctrl-expected.txt b/LayoutTests/fast/events/wheelevent-ctrl-expected.txt
index 967df05fa9f1ebd05a009d3e860f7a38893bb4f4..d8b1564f1547f87aed855b964c7d029f8c161f82 100644
--- a/LayoutTests/fast/events/wheelevent-ctrl-expected.txt
+++ b/LayoutTests/fast/events/wheelevent-ctrl-expected.txt
@@ -14,24 +14,24 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
Test mousewheel events over scrollable div
-With ctrl modifier set
+With ctrl modifier set and suppressScroll set to be true
PASS wheelEventCount is 1
PASS deltaY is 80
PASS ctrlKey is true
PASS testDiv.scrollTop is 0
-Without ctrl
+Without ctrl and suppressScroll set to be default false
PASS wheelEventCount is 1
PASS deltaY is 80
PASS ctrlKey is false
PASS testDiv.scrollTop is deltaY
Test mousewheel events over the document
-With ctrl modifier set
+With ctrl modifier set and suppressScroll set to be true
PASS wheelEventCount is 1
PASS deltaY is 80
PASS ctrlKey is true
-PASS document.body.scrollTop is 0
-Now without ctrl
+PASS window.scrollY is 0
+Now without ctrl and suppressScroll set to be default false
PASS wheelEventCount is 1
PASS deltaY is 80
PASS ctrlKey is false

Powered by Google App Engine
This is Rietveld 408576698