W3C home > Mailing lists > Public > www-math@w3.org > August 2016

[MathML4] thin, medium and thick values for mfrac@linethickness

From: Frédéric Wang <fwang@igalia.com>
Date: Mon, 1 Aug 2016 18:02:13 +0200
To: "www-math@w3.org" <www-math@w3.org>
Message-ID: <2dd96e64-cd45-9e8b-e293-6cbd863e5e1e@igalia.com>
Hi,

The mfrac elements has values "thin", "medium" and "thick" which are
"left up to the rendering agent". This is prone to inconsistencies
between implementations. During Igalia's MathML refactoring, we aligned
WebKit on Gecko's behavior. This is essentially what is suggested in the
MathML in HTML5 implementation note and that should probably be included
in an official MathML recommendation too:

* The default linethickness "medium" is given by the
FractionRuleThickness constant of the MATH table of the font used for
the MathML rendering (see
https://lists.w3.org/Archives/Public/www-math/2016Jul/0025.html for
discussion about how to determine that font).

* "thin" is 50% and "thick" is 200% of the default linethickness (these
values are arbitrary and based on how it has been implemented in Gecko
probably for more than 15 years).

But are these keywords really used in practice? If not maybe you may be
inclined to deprecate them too.

Frédéric
Received on Monday, 1 August 2016 16:02:58 UTC

This archive was generated by hypermail 2.3.1 : Monday, 1 August 2016 16:02:58 UTC