From c3f4606576723d70dbad0554982fdc272376887b Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Tue, 25 Aug 2015 16:55:33 -0400 Subject: [PATCH] Fix problem with dahsed rowlines in mtable caused by changing to px for rules (and using top border for horizontal lines) --- unpacked/jax/output/HTML-CSS/autoload/mtable.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/unpacked/jax/output/HTML-CSS/autoload/mtable.js b/unpacked/jax/output/HTML-CSS/autoload/mtable.js index 3e6759fae..6def5d490 100644 --- a/unpacked/jax/output/HTML-CSS/autoload/mtable.js +++ b/unpacked/jax/output/HTML-CSS/autoload/mtable.js @@ -405,11 +405,8 @@ MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () { line = HTMLCSS.createRule(stack,1.25/HTMLCSS.em,0,fW); HTMLCSS.addBox(stack,line); line.bbox = {h:1.25/HTMLCSS.em, d:0, w:fW, rw:fW, lw:0}; HTMLCSS.placeBox(line,0,y - D[i] - (dy-D[i]-H[i+1])/2,true); - if (RLINES[i] === "dashed" || hasRelativeWidth) { - line.style.borderTop = line.style.height+" "+RLINES[i]; line.style.height = 0; - line.style.width = line.style.borderLeftWidth; line.style.borderLeft = ""; - if (hasRelativeWidth) {line.style.width = "100%"} - } + if (RLINES[i] === "dashed") line.style.borderTopStyle = "dashed"; + if (hasRelativeWidth) line.style.width = "100%" } y -= dy; }