[Webkit-unassigned] [Bug 133845] Implement an internal -webkit-math-display property or similar

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 10 10:09:24 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=133845





--- Comment #11 from Frédéric Wang (:fredw) <fred.wang at free.fr>  2014-09-10 10:09:25 PST ---
Yes, displaystyle on the <math> element was added in MathML3. More generally by

http://www.w3.org/TR/MathML3/chapter2.html#interf.toplevel.atts

"The math element accepts any of the attributes that can be set on Section 3.3.4 Style Change <mstyle>, including the common attributes specified in Section 2.1.6 Attributes Shared by all MathML Elements"

Note that the rule for displaystyle are a bit more complex, since it is related to scriptlevel and movablelimits (that are not implemented in WebKit yet and to be handled in followup bugs):

http://www.w3.org/TR/MathML3/chapter3.html#presm.scriptlevel

For now, the only visible effect if you want to write tests is to consider the size of large operators (using an OpenType MATH font) like in the testcase, where square glyphs are used for N-ARY SUMMATION U+2211.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list