UNCONFIRMED 81272
Inconsistent paste behavior with newline terminated content
https://bugs.webkit.org/show_bug.cgi?id=81272
Summary Inconsistent paste behavior with newline terminated content
Jason San Jose
Reported 2012-03-15 15:00:28 PDT
Created attachment 132129 [details] TextArea test cases Steps to reproduce: 1. Open attached webkit-newline.html 2. Select the full line 4 and copy (via triple click or setting cursor at line 4, char 0 and select shift+down to ensure copied contents includes the newline termination) 3. Paste twice. Once over the selection to (a) paste over the selection and (b) reposition the cursor and the second time to paste the same contents at the new cursor location. 4. Observe the empty line between each "line 4" 5. Repeat steps 1-2 6. Instead of pasting over the selection, arrow down to the line below line 4 7. Paste once 8. Observe no empty space between each "line 4" Expected behavior: Consistent behavior for each scenario. Observations: It appears that in step #3, the first paste perhaps places the insertion point after the newline that terminates the 1st pasted content, resulting in an extra empty line. In step #6, when arrowing down, it may be that the insertion point is somehow before the newline, resulting in no extra empty line. In both above observations, the cursor position appears to be the same.
Attachments
TextArea test cases (1.25 KB, text/html)
2012-03-15 15:00 PDT, Jason San Jose
no flags
Jason San Jose
Comment 1 2012-03-15 15:01:11 PDT
Note You need to log in before you can comment on or make changes to this bug.