W3C home > Mailing lists > Public > www-math@w3.org > April 2010

mathcolor/mathbackground on <math/> and <semantics/> elements?

From: Frédéric WANG <fred.wang@free.fr>
Date: Wed, 21 Apr 2010 12:27:44 +0200
Message-ID: <4BCED320.4030909@free.fr>
To: "www-math@w3.org" <www-math@w3.org>
Hello,

The spec says that mathcolor/mathbackground are accepted on all MathML 
presentation elements:
http://www.w3.org/TR/MathML3/chapter2.html#interf.toplevel.atts

<math/> and <semantics/> are not listed among MathML presentation 
elements, so I think mathcolor/mathbackground should not be allowed on 
them, and this is confirmed by the RelaxNG schema.
http://www.w3.org/TR/MathML3/chapter3.html#presm.summary

However, the two sentences below could be interpreted as saying that 
<math/> accepts mathcolor/mathbackground attributes:

"The math element accepts any of the attributes that can be set on 
Section 3.3.4 Style Change <mstyle>"
"mstyle elements accept the attributes listed in Section 3.1.10 
Mathematics style attributes common to presentation elements. "

and this one for <semantics/>:

"semantics should be considered part of both presentation MathML and 
content MathML"
-- 
Frédéric Wang.
www.maths-informatique-jeux.com <http://www.maths-informatique-jeux.com>
www.maths-informatique-jeux.com/international 
<http://www.maths-informatique-jeux.com/international>
Received on Wednesday, 21 April 2010 10:28:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 21 April 2010 10:28:23 GMT