Merge branch 'issue970' into common-html
This commit is contained in:
commit
19c464508d
|
@ -814,6 +814,17 @@
|
||||||
|
|
||||||
MML.munderover.Augment({
|
MML.munderover.Augment({
|
||||||
toCommonHTML: function (span) {
|
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});
|
span = this.CHTMLdefaultSpan(span,{childSpans:true, className:"", noBBox:true});
|
||||||
var obox = this.CHTMLbboxFor(this.over),
|
var obox = this.CHTMLbboxFor(this.over),
|
||||||
ubox = this.CHTMLbboxFor(this.under),
|
ubox = this.CHTMLbboxFor(this.under),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user