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

[Bug 10157] New: Whitespace between <head> and <body> should be ignored

From: <bugzilla@jessica.w3.org>
Date: Tue, 13 Jul 2010 21:15:05 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-10157-2486@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10157

           Summary: Whitespace between <head> and <body> should be ignored
           Product: HTML WG
           Version: unspecified
          Platform: PC
               URL: http://webblaze.org/abarth/tests/whitenodes/
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P1
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: w3c@adambarth.com
         QAContact: public-html-bugzilla@w3.org
                CC: hsivonen@iki.fi, mike@w3.org, public-html@w3.org,
                    eric@webkit.org


Consider the following document:

<html>
<head></head>
<body>
</body>
</html>

The tree builder algorithm will insert a text node containing whitespace
between the head element and the body element.  As far as I can tell, IE,
Firefox, Chrome, Safari, and Opera do not insert this text node:

http://webblaze.org/abarth/tests/whitenodes/

This page displays true when the whitespace nodes before and after the head
element are not inserted into the DOM.

Is there a reason everyone should change their behavior here?

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 13 July 2010 21:15:07 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:30:52 UTC