File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -663,7 +663,16 @@ function elements.underOver:styleChildren ()
663663end
664664
665665function elements .underOver :shape ()
666- if not (self .mode == mathMode .display or self .mode == mathMode .displayCramped ) then
666+ if not (self .mode == mathMode .display or self .mode == mathMode .displayCramped ) and self .base .largeop then
667+ -- FIXME
668+ -- Added the self.base.largeop condition, but it's kind of a workaround:
669+ -- It should rather be the "moveablelimits" propery in MathML, but we do not have that yet.
670+ -- When the base is a moveable limit, the under/over scripts are not placed under/over the base,
671+ -- but ather to the right of it, when display mode is not used.
672+ -- Notable effects:
673+ -- Mozilla MathML test 19 (on "k times" > overbrace > base)
674+ -- Maxwell's Equations in MathML3 Test Suite "complex1" (on the vectors in fractions)
675+ -- For now, go with the "largeop" property, but this is not correct.
667676 self .isUnderOver = true
668677 elements .subscript .shape (self )
669678 return
You can’t perform that action at this time.
0 commit comments