Bug 118737 - Add support for displaystyle
: Add support for displaystyle
Product: WebKit
Classification: Unclassified
Component: MathML
: 528+ (Nightly build)
: All All
: P2 Normal
Assigned To: Nobody
Depends on: 133845 155542 155638 99620
Blocks: mathml-in-mathjax 124907
  Show dependency treegraph
Reported: 2013-07-16 09:49 PDT by Frédéric Wang (:fredw)
Modified: 2016-03-18 08:29 PDT (History)
3 users (show)

See Also:

testcase (1.00 KB, text/html)
2013-07-16 09:49 PDT, Frédéric Wang (:fredw)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frédéric Wang (:fredw) 2013-07-16 09:49:06 PDT
Created attachment 206790 [details]

<math display="block"> and <math display="inline"> currently display the formula as a block or inline box. However, they should also set the initial value of displaystyle to true and false respectively. The displaystyle value can also be set via an explicit displaystyle attribute and is reset to false by some elements (like mfrac, scripts, roots etc). When displaystyle=true, the operators marked largeop (either via an explicit attribute or as computed from the operator dictionary) should be drawn larger. When displaystyle=false, the operators marked movablelimits (either via an explicit attribute or as computed from the operator dictionary) should have its under/over limits drawn as sub/sup. See the testcase, where a sum symbol is used (largeop and movablelimits per the operator dictionary).

See also bucket 3 of the MathML Acid3 tests:

See chapter 3 of the MathML spec for details: