www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit c855a35effbc9a67f2dcf02eb7bb3e872a2cf40c
parent 2927bbfc3453a5edd3eeeb94af3d6ad4aee7f5a4
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Mon, 17 Feb 2014 11:15:26 -0500

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.

Diffstat:
Munpacked/jax/output/HTML-CSS/autoload/mtable.js | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/unpacked/jax/output/HTML-CSS/autoload/mtable.js b/unpacked/jax/output/HTML-CSS/autoload/mtable.js @@ -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];