W3C home > Mailing lists > Public > www-math@w3.org > January 2012

Re: Unitless width and height in mglyph

From: Bruce Miller <bruce.miller@nist.gov>
Date: Tue, 24 Jan 2012 03:34:19 -0500
To: Frédéric WANG <fred.wang@free.fr>
Cc: "www-math@w3.org" <www-math@w3.org>
Message-id: <4F1E6D0B.4060100@nist.gov>
On 01/07/2012 06:56 AM, Frédéric WANG wrote:
> Hi,
>
> If I read chapter 2 correctly, unitless width/height on mglyph should be
> interpreted as multiple of the original image size:

> "The default value, or how it is obtained, is listed in the table of attributes
> for each element. (See also Section 2.1.5.4 Default values of attributes.) A
> number without a unit is intepreted as a multiple of the default value."
>
> However, in these pages from the MathML test suite, the size attributes are used
> as if they were "px". I guess units are missing.

Yes indeed, that is the case: the test cases are incorrect.
Additionally, the valign should also have been given in px.
We will be correcting the test cases for these.
Thanks for noticing and reporting.

bruce miller
Received on Tuesday, 24 January 2012 08:35:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 24 January 2012 08:35:26 GMT