Remove accent property from the operator dictionary and change its default to true
Categories
(Core :: MathML, task)
Tracking
()
People
(Reporter: fredw, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Keywords: site-compat)
Attachments
(1 file)
1.79 KB,
text/html
|
Details |
This was removed from MathML Core: https://github.com/mathml-refresh/mathml/issues/151#issuecomment-596040584 and the default value changed to "true".
The rationale is that when operators that are used as overscript, they are likely to be accents. In other situations, the accent property is irrelevant, so it does not hurt to make all operators accent by default.
See the attached testcase showing two operators that currently have different default accent properties. Font-size is not scaled down for accent overscripts.
Accent property is specified in the operator dictionary:
https://searchfox.org/mozilla-central/source/layout/mathml/mathfont.properties
and is set/used in the MathML code:
https://searchfox.org/mozilla-central/search?q=ACCENT&case=true&path=layout%2Fmathml
It would be good to deprecate/remove the accent property from the operator dictionary, to prepare for a compact form for the operator dictionary currently being developed:
https://mathml-refresh.github.io/mathml-core/#operator-dictionary-compact
(this would replace this mathfont.properties text file loaded dynamically as a huge hash table)
Updated•4 years ago
|
Description
•