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

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