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>

The spec says that mathcolor/mathbackground are accepted on all MathML 
presentation elements:

<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.

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>
Received on Wednesday, 21 April 2010 10:28:23 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:27:42 UTC