From d06675ae89806b92880a09b7a438c8b849bc148b Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Tue, 24 Jun 2014 16:40:52 -0400 Subject: [PATCH] Mark SVG spans as MathJax ones properly. --- unpacked/jax/output/SVG/jax.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unpacked/jax/output/SVG/jax.js b/unpacked/jax/output/SVG/jax.js index 31dfabe40..be2c38999 100644 --- a/unpacked/jax/output/SVG/jax.js +++ b/unpacked/jax/output/SVG/jax.js @@ -2059,9 +2059,9 @@ if (svg.H > svg.h || svg.D > svg.d) { var frame = HTML.Element( "span",{style: {display:"inline-block", "white-space":"nowrap", padding:"1px 0px"}, isMathJax:true},[[ - "span",{style: {display:"inline-block", position:"relative", isMathJax:true, + "span",{style: {display:"inline-block", position:"relative", width:SVG.Ex(svg.w), height:SVG.Ex(svg.h+svg.d), - "vertical-align":SVG.Ex(-svg.d)}}]]); + "vertical-align":SVG.Ex(-svg.d)}, isMathJax:true}]]); frame.firstChild.appendChild(svg.element); svg.element = frame; style.verticalAlign = style.margin = ""; style.position = "absolute"; style.bottom = SVG.Ex(svg.d-svg.D); style.left = 0;