Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't clip delimiters that stretch farther than they are they suppose…
…d to. (This is handled by letting them extend beyond their bounding box, but that means they can overlap the rows above or below. Idealy, this should alter the heights of the rows, but that could require restretching rows when equalrows is set, and could lead to looping to try to get the table to stablize. Resolves issue mathjax#701 for now.
  • Loading branch information
dpvc committed Feb 17, 2014
1 parent 2927bbf commit c855a35
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions unpacked/jax/output/HTML-CSS/autoload/mtable.js
Expand Up @@ -280,6 +280,8 @@ MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () {
mo = cell.CoreMO();
var symmetric = mo.symmetric; mo.symmetric = false;
A[i][j].bbox = cell.HTMLstretchV(C[j],H[i],D[i]).bbox; A[i][j].HH = null;
if (A[i][j].bbox.h > H[i]) {A[i][j].bbox.H = A[i][j].bbox.h; A[i][j].bbox.h = H[i]}
if (A[i][j].bbox.d > D[i]) {A[i][j].bbox.D = A[i][j].bbox.d; A[i][j].bbox.d = D[i]}
mo.symmetric = symmetric;
}
align = cell.rowalign||this.data[i].rowalign||RALIGN[i];
Expand Down

0 comments on commit c855a35

Please sign in to comment.