From ab2b4dab394156eab1619c154648a364a99787b9 Mon Sep 17 00:00:00 2001 From: Masayuki Nakano Date: Thu, 22 Mar 2012 09:59:12 +0900 Subject: [PATCH] Bug 672175 part.18 Make basic tests for MouseScrollHandler r=roc+jimm --- widget/tests/Makefile.in | 2 + widget/tests/test_mouse_scroll.xul | 28 + widget/tests/window_mouse_scroll_win.html | 1908 +++++++++++++++++++++ 3 files changed, 1938 insertions(+) create mode 100644 widget/tests/test_mouse_scroll.xul create mode 100644 widget/tests/window_mouse_scroll_win.html diff --git a/widget/tests/Makefile.in b/widget/tests/Makefile.in index 4e2d6cd2594..9f48565dca5 100644 --- a/widget/tests/Makefile.in +++ b/widget/tests/Makefile.in @@ -122,6 +122,8 @@ _CHROME_FILES += taskbar_previews.xul \ test_chrome_context_menus_win.xul \ test_plugin_input_event.html \ chrome_context_menus_win.xul \ + test_mouse_scroll.xul \ + window_mouse_scroll_win.html \ $(NULL) _TEST_FILES += test_bug565392.html \ diff --git a/widget/tests/test_mouse_scroll.xul b/widget/tests/test_mouse_scroll.xul new file mode 100644 index 00000000000..570b304ea96 --- /dev/null +++ b/widget/tests/test_mouse_scroll.xul @@ -0,0 +1,28 @@ + + + + + + + diff --git a/widget/tests/window_mouse_scroll_win.html b/widget/tests/window_mouse_scroll_win.html new file mode 100644 index 00000000000..7c63d87c66c --- /dev/null +++ b/widget/tests/window_mouse_scroll_win.html @@ -0,0 +1,1908 @@ + + + Test for mouse scroll handling on Windows + + + + + + +
+

1st <p>.

+

2nd <p>.

+
+ + + +