[Webkit-unassigned] [Bug 62636] New: WebKit HTML editing generates invalid HTML

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 14 08:07:52 PDT 2011


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

           Summary: WebKit HTML editing generates invalid HTML
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dev-bugzilla at equinux.de


Summary:
When editing text in an editable text element (contenteditable="true"), WebKit may generate HTML which is not valid (according to validator.w3.org) because block-level elements (DIVs) appear inside inline elements (FONT, B, SPAN).


Steps to Reproduce:
1. Open the file 1.html in a WebView.
2. Open the file 2.rtf in TextEdit.
3. Copy the entire contents of 2.rtf.
4. Select the contents of the text element in the WebView.
5. Paste the (styled) text from the clipboard.
6. Dump the resulting HTML.


Expected Results:
Resulting HTML should not contain block-level elements inside inline elements.


Actual Results:
HTML output in 3.html.


Regression:

Notes:

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