Commit 5e0da8c0 authored by Ariel Flesler's avatar Ariel Flesler

testrunner: resetting the scroll position after focusing a field

parent 3eb56b09
...@@ -765,6 +765,7 @@ test("live with focus/blur", function(){ ...@@ -765,6 +765,7 @@ test("live with focus/blur", function(){
child.focus(); child.focus();
equals(counter, 1, "Test live() with focus event"); equals(counter, 1, "Test live() with focus event");
window.scrollTo(0,0);
child.blur(); child.blur();
equals(counter, 2, "Test live() with blur event"); equals(counter, 2, "Test live() with blur event");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment