blob: 5c4f6a6a3297319cf9bbc46176a53e32ce23da02 [file] [log] [blame]
This test ensures WebKit does not skip paragraphs when determining the insertion position for paste.
You should see "hello world<caret> WebKit" below.
Initial markup:
| "
"
| <font>
| face="'courier new', monospace"
| <div>
| style="font-family: arial;"
| "
"
| <span>
| style="font-family: 'courier new', monospace;"
| "hello"
| "
"
| <div>
| style="font-family: arial; "
| <span>
| style="font-family: 'courier new', monospace;"
| " WebKit"
| "
"
After inserting " world":
| "
"
| <font>
| face="'courier new', monospace"
| <div>
| style="font-family: arial;"
| "
"
| <span>
| style="font-family: 'courier new', monospace;"
| "hello"
| "
"
| <div>
| style="font-family: arial; "
| <span>
| style="font-family: 'courier new', monospace;"
| " WebKit"
| "
"
After deleting line break before " WebKit":
| "
"
| <font>
| face="'courier new', monospace"
| <div>
| style="font-family: arial;"
| "
"
| <span>
| style="font-family: 'courier new', monospace;"
| "hello"
| "
"
| <div>
| style="font-family: arial; "
| <span>
| style="font-family: 'courier new', monospace;"
| " WebKit"
| "
"