commit 19c464508d46a18ca6873311d57f1d00e11e3501
parent cd3a550252bf68eaac3d4b3b61c4319f070ccfcd
Author: Davide P. Cervone <dpvc@union.edu>
Date: Sat, 6 Dec 2014 10:23:21 -0500
Merge branch 'issue970' into common-html
Diffstat:
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/unpacked/jax/output/CommonHTML/jax.js b/unpacked/jax/output/CommonHTML/jax.js
@@ -814,6 +814,17 @@
MML.munderover.Augment({
toCommonHTML: function (span) {
+ var values = this.getValues("displaystyle","accent","accentunder","align");
+ if (!values.displaystyle && this.data[this.base] != null &&
+ this.data[this.base].CoreMO().Get("movablelimits")) {
+ span = MML.msubsup.prototype.toCommonHTML.call(this,span);
+ //
+ // Change class to msubsup for CSS rules.
+ // ### FIXME: should this be handled via adding another class instead?
+ //
+ span.className = span.className.replace(/munderover/,"msubsup");
+ return span;
+ }
span = this.CHTMLdefaultSpan(span,{childSpans:true, className:"", noBBox:true});
var obox = this.CHTMLbboxFor(this.over),
ubox = this.CHTMLbboxFor(this.under),