Chromium Code Reviews| 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 "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="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.testRunner) | 13 if (window.testRunner) |
| 14 testRunner.dumpAsText(); | 14 testRunner.dumpAsText(); |
| 15 | 15 |
| 16 performJumpAtTheEdgeTest(true); | 16 performJumpAtTheEdgeTest(false); |
|
yosin_UTC9
2016/05/09 03:52:51
Could you change |performJumpAtTheEdgeTest()| to t
chongz
2016/05/09 21:21:01
Done.
| |
| 17 | 17 |
| 18 </script> | 18 </script> |
| 19 </body> | 19 </body> |
| OLD | NEW |