This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 23000 - Rules for omitting <body> don't match the parser
Summary: Rules for omitting <body> don't match the parser
Status: RESOLVED DUPLICATE of bug 22999
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-18 20:27 UTC by contributor
Modified: 2013-10-30 23:33 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2013-08-18 20:27:28 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/syntax.html
Multipage: http://www.whatwg.org/C#optional-tags
Complete: http://www.whatwg.org/c#optional-tags
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/

Comment:
Rules for omitting <body> don't match the parser

Posted from: 90.230.218.37
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.49 Safari/537.36 OPR/16.0.1196.45 (Edition Next)
Comment 1 Simon Pieters 2013-08-18 20:31:33 UTC
[[
A body element's start tag may be omitted if the element is empty, or if the first thing inside the body element is not a space character or a comment, except if the first thing inside the body element is a script or style element.
]]

parser:

A start tag whose tag name is one of: "base", "basefont", "bgsound", "link", "meta", "noframes", "script", "style", "title"

link and meta can be conforming in body, but I think we might as well list all elements.
Comment 2 Ian 'Hixie' Hickson 2013-08-22 20:25:15 UTC
See also bug 22999 and bug 23001.
Comment 3 Ian 'Hixie' Hickson 2013-10-30 23:33:18 UTC

*** This bug has been marked as a duplicate of bug 22999 ***