[Webkit-unassigned] [Bug 57821] New: while pasting content in contentEditable div whose white-space set as pre-wrap, unnecessary new lines are added.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 5 01:50:17 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=57821

           Summary: while pasting content in contentEditable div whose
                    white-space set as pre-wrap, unnecessary new lines are
                    added.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: tgvrs_santhosh at yahoo.com


Created an attachment (id=88189)
 --> (https://bugs.webkit.org/attachment.cgi?id=88189&action=review)
paste Test Page.

while pasting content in contentEditable div whose white-space set as pre-wrap,
unnecessary new lines are added.

Reproducible: Always

Steps to Reproduce:
1.load the attachment in IE.
2.copy the content of green box.
3. now, load the attachment in FF4.
4. paste the content in red box(white-space:pre-wrap is set), you see
additional line after function.
5. paste the content again in green box, it is fine

Actual Results:  
additional new lines are inserted while pasting

Expected Results:  
the pasted content should be same as that of copied content.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list