Bug 85735 (mathvariant)

Summary: Add support for @mathvariant attribute
Product: WebKit Reporter: Frédéric Wang (:fredw) <fred.wang>
Component: MathMLAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: fred.wang, mrobinson
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://www.w3.org/TR/MathML/chapter3.html#presm.commatt
Bug Depends on: 108778    
Bug Blocks: 3251, 84019    

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.