[Bug 9859] New: add document-conformance constraints for documents that contain SVG or MathML content that in turn contains HTML content

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

           Summary: add document-conformance constraints for documents
                    that contain SVG or MathML content that in turn
                    contains HTML content
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: mike@w3.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html@w3.org


I note that the 'The "in foreign content" insertion mode' subsection of the
"Tree construction" section defines as a parse error any instance of 'A start
tag whose tag name is one of: "b", "big", "blockquote", "body", "br",
"center",', etc., when the parser is in the "in foreign content" insertion
mode.

http://dev.w3.org/html5/spec/tokenization.html#parsing-main-inforeign

That's all great, but the author view of the spec doesn't provide any
corresponding requirements on documents/authors when they are creating
documents that contain SVG and MathML content.

So I think it would be helpful if the spec could state something like,
'Documents [meaning serialized documents, not parsed DOM representations] must
not have SVG or MathML content that contains any of the following elements:
"b", "big", "blockquote", "body", "br", "center",' etc.

I realize that a parsed document in memory is not going to contain such
instances. I mean for this suggestion to apply to guidance for authors on how
to produce conformant documents.

-- 
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 Saturday, 5 June 2010 05:39:53 UTC