repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
editing
/
pasteboard
/
preserve-line-break-at-end-of-pasted-content-expected.txt
blob
7f6da34f71937a24d258390bf408e5d3a92f0334
1
This tests for a bug where newlines would not be preserved during copy/paste. Below you should see two paragraphs containing "Hello World!" and an empty third paragraph with the caret in it.
2
3
Before copy and paste:
4
| "<#selection-anchor>Hello World!"
5
| <div>
6
| id="div"
7
| <#selection-focus>
8
| <br>
9
10
After copy and paste:
11
| "Hello World!"
12
| <div>
13
| id="div"
14
| "Hello World!"
15
| <br>
16
| <div>
17
| <#selection-caret>
18
| <br>