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 contenteditabl
e, | 6 <div>When the caret is scrolled out and resides at the end of the contenteditabl
e, |
7 on pressing "Ctrl+Return" it must be scrolled to the bottom of the vie
w, | 7 on pressing "Ctrl+Return" it must be scrolled to the bottom of the vie
w, |
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="height:1000px;"> | 9 <div style="height:1000px;"> |
10 <div style="overflow:visible; height:100px;" contenteditable="true" id="input"
></div> | 10 <div style="overflow:visible; height:100px;" contenteditable="true" id="input"
></div> |
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(true); | 16 performJumpAtTheEdgeTest(true); |
17 | 17 |
18 </script> | 18 </script> |
19 </body> | 19 </body> |
OLD | NEW |