W3C home > Mailing lists > Public > www-validator-cvs@w3.org > January 2015

[Bug 27921] New: Full documents without root <html> validate

From: <bugzilla@jessica.w3.org>
Date: Thu, 29 Jan 2015 00:14:31 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-27921-169@http.www.w3.org/Bugs/Public/>

            Bug ID: 27921
           Summary: Full documents without root <html> validate
           Product: Validator
           Version: HEAD
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5
          Assignee: mike+validator@w3.org
          Reporter: hello@jwilde.me
        QA Contact: www-validator-cvs@w3.org

The following document passes HTML5 strict in the validator, even when the
"full document" checkbox is checked for direct input mode:

  <!DOCTYPE html>
    <p>Hello world</p>

Per my reading of <http://www.w3.org/TR/html5/syntax.html#writing>, this should
at least throw a warning, if not fail validation entirely, due to the lack of
an enclosing html element:

> Documents must consist of the following parts, in the given order:
>   ...
>   5. The root element, in the form of an html element.


You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 29 January 2015 00:14:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:03:25 UTC