| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 | 3 |
| 4 <style> | 4 <style> |
| 5 body { overflow: hidden; } |
| 5 .editing { | 6 .editing { |
| 6 border: solid red 50px; | 7 border: solid red 50px; |
| 7 font-size: 24px; | 8 font-size: 24px; |
| 8 line-height: 48px; | 9 line-height: 48px; |
| 9 padding: 24px; | 10 padding: 24px; |
| 10 margin: 64px; | 11 margin: 64px; |
| 11 width: 600px; | 12 width: 600px; |
| 12 } | 13 } |
| 13 </style> | 14 </style> |
| 14 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script
> | 15 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script
> |
| (...skipping 15 matching lines...) Expand all Loading... |
| 30 <div contenteditable id="root" class="editing"> | 31 <div contenteditable id="root" class="editing"> |
| 31 <span id="test">Fourscore and seven years ago our fathers brought forth on this
continent a new nation...</span> | 32 <span id="test">Fourscore and seven years ago our fathers brought forth on this
continent a new nation...</span> |
| 32 </div> | 33 </div> |
| 33 | 34 |
| 34 <script> | 35 <script> |
| 35 runEditingTest(); | 36 runEditingTest(); |
| 36 </script> | 37 </script> |
| 37 | 38 |
| 38 </body> | 39 </body> |
| 39 </html> | 40 </html> |
| OLD | NEW |