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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 22 14:26:44 PDT 2012


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


Peter Ryan <peterx14 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |peterx14 at gmail.com




--- Comment #4 from Peter Ryan <peterx14 at gmail.com>  2012-09-22 14:27:12 PST ---
My browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.10 (KHTML, like Gecko) Ubuntu/12.04 Chromium/23.0.1262.0 Chrome/23.0.1262.0 Safari/537.10

Example 1: HTML served as text/html
http://clickindustrial.com/test/public/20120908/test01.html

Example 2: XHTML served as text/html
http://clickindustrial.com/test/public/20120908/test02.html

Example 3: XHTML served as application/xhtml+xml
http://clickindustrial.com/test/public/20120908/test02.xhtml

Only example 3 outputs well-formed XML, which isn't what I'd expect an XMLSerializer to do!

This is also inconsistent with Firefox and Opera:
http://clickindustrial.com/test/public/20120908/test01.png

^ the above screenshots are based on Example 1 above.

If a page is marked-up as HTML or is XHTML but served as text/html, there appears to be no way in WebKit to serialize it as XML, short of creating a new XML DOM, walking to HTML DOM and re-creating elements in the XML DOM.

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