[Bug 5836] New: Syntax section allows <ins><p></ins>

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

           Summary: Syntax section allows <ins><p></ins>
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Spec bugs
        AssignedTo: dave.null@w3.org
        ReportedBy: simonp@opera.com
         QAContact: public-html-bugzilla@w3.org
                CC: ian@hixie.ch, mike@w3.org, public-html@w3.org


The syntax section says:

"A p element's end tag may be omitted ... if there is no more content in the
parent element."

Which allows for:

<ins><p></ins>
<del><p></del>
<math><mi><p></mi></math>
<!--<svg><foreignobject><p></foreignobject></svg>-->

...all of which I think result in parse errors.

It should say something like "... if there is no more content in the parent
element and the parent element is not ins, del, or in the MathML <!--or SVG-->
namespace."

(Add <a> to that list when we allow blocks in <a>.)


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Sunday, 6 July 2008 19:37:29 UTC