git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3eb56b0
)
testrunner: resetting the scroll position after focusing a field
author
Ariel Flesler
<aflesler@gmail.com>
Mon, 14 Sep 2009 23:28:21 +0000
(23:28 +0000)
committer
Ariel Flesler
<aflesler@gmail.com>
Mon, 14 Sep 2009 23:28:21 +0000
(23:28 +0000)
test/unit/event.js
patch
|
blob
|
history
diff --git
a/test/unit/event.js
b/test/unit/event.js
index
d10b3d3
..
c641487
100644
(file)
--- a/
test/unit/event.js
+++ b/
test/unit/event.js
@@
-765,6
+765,7
@@
test("live with focus/blur", function(){
child.focus();
equals(counter, 1, "Test live() with focus event");
+ window.scrollTo(0,0);
child.blur();
equals(counter, 2, "Test live() with blur event");