W3C home > Mailing lists > Public > public-html@w3.org > July 2011

[Bug 13309] New: HTML and XHTML handle newline differently

From: <bugzilla@jessica.w3.org>
Date: Wed, 20 Jul 2011 12:08:38 +0000
To: public-html@w3.org
Message-ID: <bug-13309-2495@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13309

           Summary: HTML and XHTML handle newline differently
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: peaceable_whale@hotmail.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


text/html and application/xhtml+xml documents currently have 2 different
newline handling rules, causing inconsistent rendering even when the markup is
the same. The rule for text/html ignores character reference of U+000D CARRIAGE
RETURN (Section 8.1.3.1 of HTML 5 spec) while the rule for application/xhtml
document translates both the two-character sequence #xD #xA and any #xD that is
not followed by #xA to a single #xA character. (Section 2.11 of XML spec).

Should HTML 5 follow the handling rule of XML?

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Wednesday, 20 July 2011 12:08:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:36 GMT