Revert "Make sure that focusin/focusout bubbles in non-IE browsers." This was causing problems with the focusin event, see: #7340.
This reverts commit 88068f82c1
.
Conflicts:
src/event.js
test/unit/event.js
This commit is contained in:
parent
dc2e7317a9
commit
328a86f9a0
2 changed files with 5 additions and 30 deletions
|
@ -1953,26 +1953,6 @@ test("window resize", function() {
|
|||
ok( !jQuery._data(window, "__events__"), "Make sure all the events are gone." );
|
||||
});
|
||||
|
||||
test("focusin bubbles", function() {
|
||||
//create an input and focusin on it
|
||||
var input = jQuery("<input/>"), order = 0;
|
||||
|
||||
input.prependTo("body");
|
||||
|
||||
jQuery("body").bind("focusin.focusinBubblesTest",function(){
|
||||
equals(1,order++,"focusin on the body second")
|
||||
});
|
||||
|
||||
input.bind("focusin.focusinBubblesTest",function(){
|
||||
equals(0,order++,"focusin on the element first")
|
||||
});
|
||||
|
||||
input[0].focus();
|
||||
input.remove();
|
||||
|
||||
jQuery("body").unbind("focusin.focusinBubblesTest");
|
||||
});
|
||||
|
||||
/*
|
||||
test("jQuery(function($) {})", function() {
|
||||
stop();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue