[Bug 9361] New: script element should be allowed essentially anywhere

http://www.w3.org/Bugs/Public/show_bug.cgi?id=9361

           Summary: script element should be allowed essentially anywhere
           Product: HTML WG
           Version: unspecified
          Platform: PC
               URL: http://dev.w3.org/html5/spec/Overview.html#script
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec bugs
        AssignedTo: dave.null@w3.org
        ReportedBy: mjs@apple.com
         QAContact: public-html-bugzilla@w3.org
                CC: ian@hixie.ch, mike@w3.org, public-html@w3.org


The script element is allowed most places; wherever metadata content or
phrasing content is expected. However, it is disallowed in some highly
structured elements that only allow specific children. 

In the wild, it appears there are at least cases of script being used inside
<ul>:

http://www.w3.org/html/wg/wiki/index.php?title=HTML5_Authoring_Conformance_Study

It would be useful to allow <script> inside at least <ul>, <ol>, <dl>, <table>
and other table structure elements, <video>, <audio> etc. The only place where
it should probably be disallowed is in elements that parse their contents as
raw text (<title>, <script>, <style>, etc).


-- 
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 Sunday, 28 March 2010 21:29:53 UTC