From 5e0da8c0365b729f63fbd6d27223776551cb8f46 Mon Sep 17 00:00:00 2001 From: Ariel Flesler Date: Mon, 14 Sep 2009 23:28:21 +0000 Subject: [PATCH] testrunner: resetting the scroll position after focusing a field --- test/unit/event.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/unit/event.js b/test/unit/event.js index d10b3d3..c641487 100644 --- 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"); -- 1.7.10.4