diff --git a/test/delegatetest.html b/test/delegatetest.html index 169e60f7a..2483063ae 100644 --- a/test/delegatetest.html +++ b/test/delegatetest.html @@ -183,16 +183,6 @@ DOCUMENT - -

Mouseleave Tests

- -
-

Count mouse leave event

-
-

mouse over here should not trigger the counter.

-
-

0

-
@@ -280,10 +270,6 @@ jQuery("#boundSubmit").blink(); }); - var n = 0; - $("div.out").live("mouseleave", function() { - $("p:last", this).text(++n); - }); diff --git a/test/hovertest.html b/test/hovertest.html new file mode 100644 index 000000000..2c7267408 --- /dev/null +++ b/test/hovertest.html @@ -0,0 +1,144 @@ + + +Hover tests + + + + +

Hover (mouse{over,out,enter,leave}) Tests

+

Be sure to try moving the mouse out of the browser via the left side on each test.

+
+ +
+
+ + .hover() in/out: 0 / 0 +
+
+ Mouse over here should NOT trigger the counter. +
+
+ +
+
+ + Live enter/leave: 0 / 0 +
+
+ Mouse over here should NOT trigger the counter. +
+
+ +
+
+ + Delegated enter/leave: 0 / 0 +
+
+ Mouse over here should NOT trigger the counter. +
+
+ +
+
+ + Bind over/out: 0 / 0 +
+
+ Mouse over here SHOULD trigger the counter. +
+
+
+
+ + Delegated over/out: 0 / 0 +
+
+ Mouse over here SHOULD trigger the counter. +
+
+ +
+ + + +