W3C home > Mailing lists > Public > www-math@w3.org > November 2004

Questions on accent attribute

From: Tokushige Kobayashi <koba@antenna.co.jp>
Date: Sun, 07 Nov 2004 17:51:20 +0900
To: www-math@w3.org
Message-Id: <20041107175120.1db1dda%koba@antenna.co.jp>

Hello,

I am sorry for too many questions, but I can not understand how
the MathML renderer should behave for accent attribute of mover.

There is a description in 3.4.5.1 as follows:
-------------
The default value of accent is false, unless overscript is an mo element .... 
If overscript is an mo element, the value of its accent attribute is used as the 
default value of accent for mover.
------------- 
This sentence says that the value of the child element (mo) influences
the default value of its parent element (mover).

There is also an example as bellow.

<mrow>
  <mover accent="true">
    <mi> x </mi>
    <mo> &Hat; </mo>
  </mover>
  <mtext>
  ..
  </mtext>
  <mover accent="false">
    <mi> x </mi>
    <mo> &Hat; </mo>
  </mover>
</mrow>

As a entry of operator dictionary for &Hat; specifies accent="true", 
the accent of both mo elements will be set as "true". But the rendering
image shows that accent attributes of mo are not effective for
rendering of &Hat.

The description in the spec seems to say that accent attribute
of mover overrides the value of accent attribute of its child (mo).

It seems to be strange that sometimes the attribute of parent
overrides the attribute of its child, but sometimes the attribute
value of child sets the value of its parent.

I hope someone will explain about the spec.

Best regards,


Tokushige Kobayashi
Antenna House, Inc.
E-mail koba@antenna.co.jp
WWW    http://www.antenna.co.jp/
WWW    http://www.antennahouse.com/ (English)
TEL    +81-3-3234-1361(direct call)
FAX    +81-3-3221-9975

Antenna House XSL School
http://www.antenna.co.jp/XML/school/xslday.htm
Received on Sunday, 7 November 2004 08:50:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 February 2010 06:12:56 GMT