Bug 85735 (mathvariant) - Add support for @mathvariant attribute
Summary: Add support for @mathvariant attribute
Alias: mathvariant
Product: WebKit
Classification: Unclassified
Component: MathML (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://www.w3.org/TR/MathML/chapter3....
Depends on: 108778
Blocks: 3251 mathml-in-mathjax
  Show dependency treegraph
Reported: 2012-05-06 08:04 PDT by Frédéric Wang (:fredw)
Modified: 2016-07-11 11:53 PDT (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Frédéric Wang (:fredw) 2012-05-06 08:04:03 PDT
I think this element is only partially implemented in Webkit (in Firefox too). 
MathJax relies on this attribute to implement various LaTeX commands. For example the values "script", "double-struck" or "fraktur" are respectively needed for \mathcal, \mathbb and \mathfrak.
Comment 1 Frédéric Wang (:fredw) 2016-07-11 11:53:12 PDT
I think this can be closed. There are some edge cases we do not support yet (e.g. we only apply mathvariant transform on token elements with a single char which corresponds to the cases used in practice) but other follow-bugs can be opened if necessary.