OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <head> | 2 <head> |
3 <script type="text/javascript" src="resources/reveal-utilities.js"></script> | 3 <script type="text/javascript" src="resources/reveal-utilities.js"></script> |
4 </head> | 4 </head> |
5 <body> | 5 <body> |
6 <div>When the caret is scrolled out and resides at the end of the textarea, | 6 <div>When the caret is scrolled out and resides at the end of the textarea, |
7 on pressing "Return" it must be scrolled to the bottom of the view, | 7 on pressing "Return" it must be scrolled to the bottom of the view, |
8 not to the center to avoid undesirable content view jumping.</div> | 8 not to the center to avoid undesirable content view jumping.</div> |
9 <div style="overflow:auto;height:1000px;"> | 9 <div style="overflow:auto;height:1000px;"> |
10 <textarea rows="50" cols="20" id="input"></textarea> | 10 <textarea rows="50" cols="20" id="input"></textarea> |
11 </div> | 11 </div> |
12 <script> | 12 <script> |
13 if (window.layoutTestController) | 13 if (window.layoutTestController) |
14 layoutTestController.dumpAsText(); | 14 layoutTestController.dumpAsText(); |
15 | 15 |
16 performJumpAtTheEdgeTest(false); | 16 performJumpAtTheEdgeTest(false); |
17 | 17 |
18 </script> | 18 </script> |
19 </body> | 19 </body> |
OLD | NEW |