Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <html> | |
|
leviw_travelin_and_unemployed
2014/08/07 18:39:16
Nit: your tests don't actually need html or head t
svillar
2014/08/08 09:01:25
I'll remove them.
| |
| 3 <head> | |
| 4 <script> | |
| 5 if (window.testRunner) | |
| 6 internals.toggleOverwriteModeEnabled(document); | |
| 7 | |
| 8 function run() { | |
| 9 var element = (document.getElementById("editableContent")).firstChild; | |
| 10 getSelection().collapse(element, element.length); | |
| 11 } | |
| 12 </script> | |
| 13 </head> | |
| 14 <body style = "font: 30px;" onload="run();""> | |
| 15 <!-- We want to test block cursor appearance at the end of lines that aren't the end of the editable element. --> | |
| 16 <div id="editableContent" contenteditable="true">ABC<br>ABC</div> | |
| 17 </body> | |
| 18 </html> | |
| OLD | NEW |