testrunner: resetting the scroll position after focusing a field

This commit is contained in:
Ariel Flesler 2009-09-14 23:28:21 +00:00
parent 3eb56b09b8
commit 5e0da8c036

View file

@ -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");