OLD | NEW |
1 <head> | 1 <head> |
| 2 <script src="../../resources/ahem.js"></script> |
2 <style type="text/css"> | 3 <style type="text/css"> |
3 .ahem { font: 20px Ahem; } | 4 .ahem { font: 20px Ahem; } |
4 </style> | 5 </style> |
5 <script> | 6 <script> |
6 if (window.testRunner) | 7 if (window.testRunner) |
7 testRunner.dumpAsText(); | 8 testRunner.dumpAsText(); |
8 | 9 |
9 function runTest() { | 10 function runTest() { |
10 runFrameCursorMoveTest(); | 11 runFrameCursorMoveTest(); |
11 runDivCursorMoveTest(); | 12 runDivCursorMoveTest(); |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 </script> | 82 </script> |
82 </head> | 83 </head> |
83 <body onload="runTest()"> | 84 <body onload="runTest()"> |
84 <div>Page up/down (option+page up/down on Mac) should move the move cursor and s
croll the content | 85 <div>Page up/down (option+page up/down on Mac) should move the move cursor and s
croll the content |
85 in contenteditable elements. This sample covers cursor position move test of a)
iframe element containing | 86 in contenteditable elements. This sample covers cursor position move test of a)
iframe element containing |
86 contenteditable body, and b) content editable div element.</div> | 87 contenteditable body, and b) content editable div element.</div> |
87 <iframe src="../resources/contenteditable-iframe-fixed-size-src.html"></iframe> | 88 <iframe src="../resources/contenteditable-iframe-fixed-size-src.html"></iframe> |
88 <div id="editable" contenteditable="true" class="ahem" style="height:150px; over
flow:auto;"></div> | 89 <div id="editable" contenteditable="true" class="ahem" style="height:150px; over
flow:auto;"></div> |
89 <div id="results"></div> | 90 <div id="results"></div> |
90 </body> | 91 </body> |
OLD | NEW |