ISSUE-37 (html-svg-mathml): Integration of SVG and MathML into text/html [HTML 5 spec]

ISSUE-37 (html-svg-mathml): Integration of SVG and MathML into text/html [HTML 5 spec]

Raised by: James Graham
On product: HTML 5 spec

The defacto language of the existing web is text/html and, as a consequence, many existing backend systems are not suitable for producing XHTML in a reasonably error-proof manner. However the text/html platform is limited in its ability to support some types of content that are of considerable interest to authors and have deployed support in XML-aware UAs. In particular the ability to include inline vector graphics via SVG and inline mathematics via MathML is missing from the text/html platform. Typical use cases for supporting these technologies inside text/html include (taken from [1]):

* Converting a typical LaTeX paper to text/html such that everything that wouldn’t get bitmapped in a pdfLaTeX workflow does not get bitmapped.

 * Writing a similar document into text/html in a text editor copying and pasting the SVG figures from Inkscape XML output.

 * Making Flash-like visually “high-impact” sites using the openly specified Web platform but without the Draconianness of XML in such a way that the whole thing uses retained-mode graphics and lives in one DOM for easy scripting (i.e. no need for scripts to deal with object or iframe sub-DOMs).

 * Publishing the kind of content that is published on using a legacy PHP content management system that is not XML-ready.

Reference [1] also details technical requirements that arise if text/html is to address this set of use cases. Sub issues that require consideration include the syntax constraints imposed on the non-HTML subtrees (whether they must match the HTML or XML syntax where html-in-text/html and XML have different rules), error handling, case folding and probably various other things. Consideration of compatibility with existing UAs, in particular deployed IE, which already has some special handling for XML-syntax-in-text/html [2], is also required.

Relevant emails / References


Received on Monday, 10 March 2008 14:44:30 UTC