Merge branch 'issue993' into develop. Issue #993.

This commit is contained in:
Davide P. Cervone 2015-01-14 11:19:04 -05:00
commit b87f15fed5

View File

@ -961,8 +961,9 @@
var mtable = ((this.data[0]||[]).data[0]||{});
if (mtable.nMMLhasLabels) {
if (mtable.nMMLforceWidth || !mtable.nMMLlaMatch) {
tag.setAttribute("style","width:100%")
tag.setAttribute("style","width:100%") // mrow node
parent.style.width = parent.parentNode.style.width="100%";
if (annotate) tag.parentNode.setAttribute("style","width:100%"); // semantics node
};
if (mtable.nMMLlaMatch) {
if (parent.parentNode.parentNode.nodeName.toLowerCase() === "div") {