blob: 1f5dc607c0d7afa5d443b8bb119cf484dc9a8799 [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>
| class="Apple-style-span"
| face="'courier new', monospace"
| <div>
| style="font-family: arial;"
| "
"
| <span>
| class="Apple-style-span"
| style="font-family: 'courier new', monospace;"
| "hello"
| "
"
| <div>
| style="font-family: arial; "
| <span>
| class="Apple-style-span"
| style="font-family: 'courier new', monospace;"
| " WebKit"
| "
"
After inserting " world":
| "
"
| <font>
| class="Apple-style-span"
| face="'courier new', monospace"
| <div>
| style="font-family: arial;"
| "
"
| <span>
| class="Apple-style-span"
| style="font-family: 'courier new', monospace;"
| "hello"
| "
"
| <div>
| style="font-family: arial; "
| <span>
| class="Apple-style-span"
| style="font-family: 'courier new', monospace;"
| " WebKit"
| "
"
After deleting line break before " WebKit":
| "
"
| <font>
| class="Apple-style-span"
| face="'courier new', monospace"
| <div>
| style="font-family: arial;"
| "
"
| <span>
| class="Apple-style-span"
| style="font-family: 'courier new', monospace;"
| "hello"
| "
"
| <div>
| style="font-family: arial; "
| <span>
| class="Apple-style-span"
| style="font-family: 'courier new', monospace;"
| " WebKit"
| "
"