mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
parent
e06f428f6e
commit
472f70a9df
@ -840,6 +840,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);
|
||||||
|
Loading…
Reference in New Issue
Block a user