Don't clip delimiters that stretch farther than they are they supposed 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 #701 for now.
This commit is contained in:
parent
2927bbfc34
commit
c855a35eff
|
@ -280,6 +280,8 @@ MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () {
|
||||||
mo = cell.CoreMO();
|
mo = cell.CoreMO();
|
||||||
var symmetric = mo.symmetric; mo.symmetric = false;
|
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;
|
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;
|
mo.symmetric = symmetric;
|
||||||
}
|
}
|
||||||
align = cell.rowalign||this.data[i].rowalign||RALIGN[i];
|
align = cell.rowalign||this.data[i].rowalign||RALIGN[i];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user