[Webkit-unassigned] [Bug 47768] New: XMLSerializer serializes BR as <BR> not <BR/>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Oct 16 07:30:48 PDT 2010


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

           Summary: XMLSerializer serializes BR as <BR> not <BR/>
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: XML
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dsr at w3.org


Created an attachment (id=70953)
 --> (https://bugs.webkit.org/attachment.cgi?id=70953&action=review)
Reproduce XML serialization error for HTML br element

My browser is Chromium    6.0.472.62 (Developer Build 59676) Ubuntu 10.04, WebKit    534.3 V8 2.2.24.23.

I am using XMLSerializer.serializeToString to serialize an HTML element and its content to XML. Unfortunately serializing content including a BR element then results in malformed XML. This is a nuisance when serializing markup to a server for download by other browsers, e.g. as part of a browser-based document editor.

Other browsers e.g. Firefox get this right.

Try viewing the attached HTML document in webkit, Opera and Firefox to see what I mean.

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