rniwa@webkit.org | 867bd37 | 2014-01-07 05:40:47 +0000 | [diff] [blame] | 1 | <!DOCTYPE html> |
2 | <html> | ||||
3 | <head> | ||||
4 | <style> | ||||
5 | #editor { | ||||
6 | width: 160px; | ||||
7 | height: 100px; | ||||
8 | font-family: Ahem; | ||||
9 | font-size: 50px; | ||||
10 | border: 1px solid black; | ||||
11 | } | ||||
12 | </style> | ||||
13 | </head> | ||||
14 | <body> | ||||
15 | <p>This tests inserting a character after the collapsed space at the end of a line.<br> | ||||
16 | There should be a space between the last two boxes below, and there should be two boxes on the first line and exactly one box on the second line.</p> | ||||
17 | <div id="editor" contenteditable>a b c</div> | ||||
18 | </body> | ||||
19 | </html> |