Bug 85735 (mathvariant)
| Summary: | Add support for @mathvariant attribute | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Frédéric Wang (:fredw) <fred.wang> |
| Component: | MathML | Assignee: | 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 | ||
Frédéric Wang (:fredw)
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Frédéric Wang (:fredw)
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.