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

Closed
opened this Issue May 11, 2012 · 9 comments

Projects
None yet
3 participants
Contributor

### fred-wang commented May 11, 2012

 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.
Contributor

### fred-wang commented Jul 1, 2012

 Configuration/HTML-CSS/scale-1.html

### dpvc pushed a commit to dpvc/MathJax that referenced this issue Aug 15, 2012

 Properly handle the scale configuration parameter. (Resolves issue #244… 
….)
 888140d 
Member

### dpvc commented Aug 15, 2012

 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).
Contributor

### fred-wang commented Aug 16, 2012

 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
Member

### dpvc commented Aug 16, 2012

 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.
Contributor

### fred-wang commented Aug 16, 2012

 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.
Contributor

### fred-wang commented Aug 16, 2012

 => Ready for release

Member

### pkra commented Mar 8, 2013

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

### dpvc commented Mar 8, 2013

 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.
Member

### pkra commented Mar 8, 2013

 Ok. Since these are reveal.js slides, the user probably doesn't know this :) I'll post a reply on the user group.
to join this conversation on GitHub. Already have an account? Sign in to comment