Commit 3be4f13d authored by Dave Methvin's avatar Dave Methvin

Event: Unit test for #14741 fix

Fixes #14741
Closes gh-1503
(cherry picked from commit 472f70a9)
parent 64d7c168
...@@ -857,6 +857,20 @@ test("mouseover triggers mouseenter", function() { ...@@ -857,6 +857,20 @@ test("mouseover triggers mouseenter", function() {
elem.remove(); elem.remove();
}); });
test("pointerover triggers pointerenter", function() {
expect(1);
var count = 0,
elem = jQuery("<a />");
elem.on( "pointerenter", function () {
count++;
});
elem.trigger("pointerover");
equal(count, 1, "make sure pointerover triggers a pointerenter" );
elem.remove();
});
test("withinElement implemented with jQuery.contains()", function() { test("withinElement implemented with jQuery.contains()", function() {
expect(1); expect(1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment