[Bug 9859] 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





--- Comment #2 from Simon Pieters <simonp@opera.com>  2010-06-07 03:40:26 ---
"A start tag whose tag name is "svg", if the current node is an annotation-xml
element in the MathML namespace."

The HTML5 parser only allows <svg> or MathML in <annotation-xml>. Not HTML.
<span> will be in MathML namespace.

We could change the parser to allow HTML there (like it allows HTML in MathML
<mi>), but then it would break MathML in <annotation-xml>. The MathML spec has
an example with MathML in <annotation-xml>.

Maybe we need a special tag that enables HTML in <annotation-xml>? <div>? It
means MathML can't have a future element called <div>.

"A start tag whose tag name is "svg" or "div" if the current node is an
annotation-xml element in the MathML namespace."

However... The XHTML version doesn't use <annotation-xml> at all. Why does the
HTML version? Shouldn't it use <mn> or <mtext> instead?

-- 
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 Monday, 7 June 2010 03:40:29 UTC