[html5] r1419 - /
whatwg at whatwg.org
whatwg at whatwg.org
Tue Apr 8 14:28:48 PDT 2008
Author: ianh
Date: 2008-04-08 14:28:46 -0700 (Tue, 08 Apr 2008)
New Revision: 1419
Modified:
index
source
Log:
[] (0) How to handle MathML errors.
Modified: index
===================================================================
--- index 2008-04-08 17:39:34 UTC (rev 1418)
+++ index 2008-04-08 21:28:46 UTC (rev 1419)
@@ -19306,8 +19306,23 @@
<p>The <code>math</code> element from the <a href="#mathml0">MathML
namespace</a> falls into the <a href="#embedded1">embedded content</a>
- category for the purposes of the content models in this specification.
+ category for the purposes of the content models in this specification.</p>
+ <!-- apparently we get to define error handling, so: -->
+ <p>User agents must handle text other than <a
+ href="#inter-element">inter-element whitespace</a> found in MathML
+ elements whose content models do not allow raw text by pretending for the
+ purposes of MathML content models, layout, and rendering that that text is
+ actually wrapped in an <code title="">mtext</code> element in the <a
+ href="#mathml0">MathML namespace</a>. (Such text is not, however,
+ conforming.)
+
+ <p>User agents must act as if any MathML element whose contents does not
+ match the element's content model was replaced, for the purposes of MathML
+ layout and rendering, by an <code title="">merror</code> element in the <a
+ href="#mathml0">MathML namespace</a> containing some appropiate error
+ message.
+
<h4 id=svg><span class=secno>3.12.16 </span>SVG</h4>
<p>The <code>svg</code> element from the <a href="#svg-namespace">SVG
Modified: source
===================================================================
--- source 2008-04-08 17:39:34 UTC (rev 1418)
+++ source 2008-04-08 21:28:46 UTC (rev 1419)
@@ -16932,7 +16932,22 @@
category for the purposes of the content models in this
specification.</p>
+ <!-- apparently we get to define error handling, so: -->
+ <p>User agents must handle text other than <span>inter-element
+ whitespace</span> found in MathML elements whose content models do
+ not allow raw text by pretending for the purposes of MathML content
+ models, layout, and rendering that that text is actually wrapped in
+ an <code title="">mtext</code> element in the <span>MathML
+ namespace</span>. (Such text is not, however, conforming.)</p>
+
+ <p>User agents must act as if any MathML element whose contents does
+ not match the element's content model was replaced, for the purposes
+ of MathML layout and rendering, by an <code title="">merror</code>
+ element in the <span>MathML namespace</span> containing some
+ appropiate error message.</p>
+
+
<h4>SVG</h4>
<p>The <code>svg</code> element from the <span>SVG namespace</span>
More information about the Commit-Watchers
mailing list