W3C home > Mailing lists > Public > www-validator-cvs@w3.org > June 2014

[Bug 26084] New: Validator reports "Empty heading" warning when only heading content is a script element

From: <bugzilla@jessica.w3.org>
Date: Fri, 13 Jun 2014 14:04:17 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-26084-169@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26084

            Bug ID: 26084
           Summary: Validator reports "Empty heading" warning when only
                    heading content is a script element
           Product: Validator
           Version: HEAD
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5
          Assignee: mike+validator@w3.org
          Reporter: porter.scobey@smu.ca
        QA Contact: www-validator-cvs@w3.org

Line 11, Column 8: Empty heading.

 <h3><script type="text/javascript" src="scripts/buy3.js"></script></h3>

The above line of markup causes the warning on the first line. The warning goes
away if I simply insert an x as follows:

 <h3><script type="text/javascript" src="scripts/buy3.js"></script>x</h3>

It would seem that script output should be acceptable as heading content, so
this scenario should not generate a warning.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 13 June 2014 14:04:23 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:57 UTC