W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > June 2010

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

From: <bugzilla@jessica.w3.org>
Date: Sat, 05 Jun 2010 05:39:52 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-9859-2486@http.www.w3.org/Bugs/Public/>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 5 June 2010 05:39:54 GMT