Intent to prototype: math-depth property and font-size: math
67 views
Skip to first unread message
Frédéric Wang
unread,
Sep 28, 2020, 7:45:44 AM9/28/20
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Summary: Implements the math-depth and font-size: math properties
which indicate how deep some part of a mathematical formula with
respect to the top-level `<math>` and that a scale has to apply to
font-size. This is used by MathML to implement automatic scaling
in scripts etc, as well as for the scriptlevel attribute. Exposing
the magic to CSS provides more flexibility to users and could help
to get rid of less used MathML scriptminsize and scriptsizemultiplier
attributes (I'll send a follow-up email).
scriptlevel has been implemented for a while as an internal CSS
-moz-math-depth property. I've been renaming this property and
changing the syntax but we need some more tweaks to match the
spec.