commit 252fda676253f6a921fa669bc82bc655ef1d8c1b
parent 2cbe3ebb92e4a41aa4dcf2b59afc835409643e43
Author: Davide P. Cervone <dpvc@union.edu>
Date: Sat, 6 Dec 2014 10:24:03 -0500
Merge branch 'common-html' into CHTML-preview
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),