From 86c9b8f60edd32b363ca4f32ab44db0e0a044e1c Mon Sep 17 00:00:00 2001 From: Maksim Lebedev Date: Wed, 17 Jun 2015 01:54:00 -0400 Subject: [PATCH] Bug 1162990 - Add test for check pointerleave event behavior. r=smaug --- layout/base/tests/bug1162990_inner_1.html | 145 +++++++++++++++++++++ layout/base/tests/bug1162990_inner_2.html | 146 ++++++++++++++++++++++ layout/base/tests/mochitest.ini | 4 + layout/base/tests/test_bug1162990.html | 39 ++++++ 4 files changed, 334 insertions(+) create mode 100644 layout/base/tests/bug1162990_inner_1.html create mode 100644 layout/base/tests/bug1162990_inner_2.html create mode 100644 layout/base/tests/test_bug1162990.html diff --git a/layout/base/tests/bug1162990_inner_1.html b/layout/base/tests/bug1162990_inner_1.html new file mode 100644 index 000000000000..4ea5edb5c885 --- /dev/null +++ b/layout/base/tests/bug1162990_inner_1.html @@ -0,0 +1,145 @@ + + + + + + Test for Bug 1162990 + + + + + + + + Mozilla Bug 1162990 Test 1 +

+ +
div id=basket +
div id=target +
div id=child
+
+
+
div id=listener
+
+  
+ + diff --git a/layout/base/tests/bug1162990_inner_2.html b/layout/base/tests/bug1162990_inner_2.html new file mode 100644 index 000000000000..54aa74ca3af8 --- /dev/null +++ b/layout/base/tests/bug1162990_inner_2.html @@ -0,0 +1,146 @@ + + + + + + Test for Bug 1162990 + + + + + + + + Mozilla Bug 1162990 Test 2 +

+ +
div id=basket +
div id=target +
div id=child
+
+
+
div id=listener
+
+  
+ + diff --git a/layout/base/tests/mochitest.ini b/layout/base/tests/mochitest.ini index e9cad5dd377f..474b3cecbdbc 100644 --- a/layout/base/tests/mochitest.ini +++ b/layout/base/tests/mochitest.ini @@ -263,3 +263,7 @@ support-files = bug1093686_inner.html skip-if = buildapp == 'android' || buildapp == 'b2g' || buildapp == 'b2g-debug' || os == 'mac' || toolkit == 'gtk2' || toolkit == 'gtk3' # android and b2g do not have clickable scrollbars, mac does not have scrollbar down and up buttons, gtk may or may not have scrollbar buttons depending on theme [test_bug1153130.html] support-files = bug1153130_inner.html +[test_bug1162990.html] +support-files = + bug1162990_inner_1.html + bug1162990_inner_2.html diff --git a/layout/base/tests/test_bug1162990.html b/layout/base/tests/test_bug1162990.html new file mode 100644 index 000000000000..1b6c5985170a --- /dev/null +++ b/layout/base/tests/test_bug1162990.html @@ -0,0 +1,39 @@ + + + + + + Test for Bug 1162990 + + + + + + + + +