From 2973a0228bb3f49b00bd91fa9aa19b5dbaa84e87 Mon Sep 17 00:00:00 2001 From: Neil Deakin Date: Fri, 1 Jul 2011 20:52:30 -0400 Subject: [PATCH] Bug 655004, cancel mouse scroll event and key events for grid datepicker and trees, prevents scroll events from bubbling up in tests, r=neil --- .../content/tests/widgets/test_datepicker.xul | 18 ++++++- toolkit/content/tests/widgets/tree_shared.js | 22 ++++++++- toolkit/content/widgets/datetimepicker.xml | 7 +-- toolkit/content/widgets/tree.xml | 48 ++++++++++++------- 4 files changed, 72 insertions(+), 23 deletions(-) diff --git a/toolkit/content/tests/widgets/test_datepicker.xul b/toolkit/content/tests/widgets/test_datepicker.xul index 3f52f9ad022b..8bdfa5b2ac8b 100644 --- a/toolkit/content/tests/widgets/test_datepicker.xul +++ b/toolkit/content/tests/widgets/test_datepicker.xul @@ -15,7 +15,10 @@ onpopuphidden="testtag_finish()"> - + + + @@ -36,6 +39,9 @@