diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-11-25 13:48:30 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-11-25 13:48:30 -0800 |
commit | 84fc7f7892dd056c3df579bf5bd1cf27a20d5cc7 (patch) | |
tree | d578230082eae2b9dbe1d930e9c7f7c76163a756 /tests/test_browser.py | |
parent | 054df391e65ff6e9f2f494176990d6bc2558881f (diff) | |
parent | 7da74b04f9733a801fbd1ff90acc55309121e1b6 (diff) |
Merge pull request #1856 from coolwanglu/sdl
Implement SDL_LowerBlit
Diffstat (limited to 'tests/test_browser.py')
-rw-r--r-- | tests/test_browser.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_browser.py b/tests/test_browser.py index 128820b3..b2cd62f8 100644 --- a/tests/test_browser.py +++ b/tests/test_browser.py @@ -183,7 +183,7 @@ If manually bisecting: //text = text.replace(/>/g, ">"); //text = text.replace('\\n', '<br>', 'g'); element.value += text + "\\n"; - element.scrollTop = 99999; // focus on bottom + element.scrollTop = element.scrollHeight; // focus on bottom }; })(), printErr: function(text) { @@ -274,7 +274,7 @@ If manually bisecting: //text = text.replace(/>/g, ">"); //text = text.replace('\\n', '<br>', 'g'); element.value += text + "\\n"; - element.scrollTop = 99999; // focus on bottom + element.scrollTop = element.scrollHeight; // focus on bottom }; })(), printErr: function(text) { @@ -898,7 +898,7 @@ keydown(100);keyup(100); // trigger the end return function(text) { text = Array.prototype.slice.call(arguments).join(' '); element.value += text + "\\n"; - element.scrollTop = 99999; // focus on bottom + element.scrollTop = element.scrollHeight; // focus on bottom }; })() }; |