[Webkit-unassigned] [Bug 51620] New: white-space:pre does not work on contenteditable elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 26 09:56:17 PST 2010


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

           Summary: white-space:pre does not work on contenteditable
                    elements
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: thakis at chromium.org
                CC: rniwa at webkit.org


Created an attachment (id=77460)
 --> (https://bugs.webkit.org/attachment.cgi?id=77460&action=review)
repro case

white-space:pre should not add any line breaks. This works fine with normal elements, but breaks when an element becomes contenteditable. See the attached repo case.

Expected: Both elements in the repo case look the same.
Actual: The contents of the contenteditable div get wrapped.

Works fine in Ff3.6 and Ff4 beta.

-- 
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