# reftest failure Configuration/HTML-CSS/scale-1.html in SVG ouput mode#244

Closed
opened this Issue · 9 comments

### 3 participants

I think I already reported this somewhere, but let's put it in the tracker:

The red rectangle in

http://devel.mathjax.org/testing/testsuite/Configuration/HTML-CSS/scale-1.html?&mathJaxPath=http://devel.mathjax.org/testing/mathjax/dpvc/v2.0-patches/&font=TeX&outputJax=SVG

should be scaled to fit in the grey frame. It does in HTML-CSS mode but not in SVG mode.

Configuration/HTML-CSS/scale-1.html

was assigned
added a commit to dpvc/MathJax that referenced this issue
 dpvc Properly handle the scale configuration parameter. (Resolves issue #244… ….) 888140d
MathJax member

The issue244 branch of my fork of MathJax should resolve the problem (there was a typo in the location where the configuration's scale factor was being used).

I see that it is fixed for Chrome, Opera and IE. As for Firefox, the red rectangle still does not fit exactly in the gray frame (tested on Linux, my local machine and the EC2 machine).

http://devel.mathjax.org/testing/testsuite/Configuration/HTML-CSS/scale-1.html?&mathJaxPath=http://devel.mathjax.org/testing/mathjax/dpvc/issue244/&font=TeX&outputJax=SVG

I guess it is a rounding error (zooming in/out change a bit the situation), so I should make the gray frame a bit thicker again.

http://devel.mathjax.org/testing/mathjax/fred-wang/screenshots/issue244.png

MathJax member

Hmmm. It works fine for me in Firefox 13 on Mac OS X (the original version, in case you have changed it already). Not sure why it isn't for you.

I'm testing with Firefox 14, but I doubt that's the problem. The result seems to depend on zoom level, so I guess also font size etc. I'll just increase a bit the size of the gray rectangle.

closed this
MathJax member

I think we have to re-open this issue. Here's an example that still fails?

MathJax member

He has set the font size for SVG elements explicitly in his CSS, which is preventing the scaling that MathJax attempts to do. I guess we could add font-size: inherit to the MathJax SVG element CSS to override that.

MathJax member

Ok. Since these are reveal.js slides, the user probably doesn't know this :) I'll post a reply on the user group.