# mglyph elements too small #763

Closed
opened this issue Mar 11, 2014 · 7 comments

Projects
None yet
2 participants
Member

Member

### dpvc commented Mar 11, 2014

 These examples used unit-less values for the width and height. My recollection is that the original MathML3 draft said that that meant these values were in pixels, and that is how MathJax interprets these (there is explicit code to do that). I could be wrong, but that is how it looks. The usual meaning for unit-less values is as a multiple of the default size, and that seems to be the current interpretation of the spec. I will need to change the code to accommodate that.
Member Author

### pkra commented Mar 11, 2014

 Do you want me to ask for clarification on the MathWG mailing list? This might all be correct, I suppose.

Member Author

### pkra commented Mar 12, 2014

 Hm... on re-running the tests today, they work on Chrome suddenly. (But the problem persists on FF). Very weird.
Member Author

### pkra commented Mar 12, 2014

 As per David Carlisle: unitless values are interpreted as a factor of the default size
Member

### dpvc commented Mar 12, 2014

 Yes, I mentioned that in my message above. This is clear in the spec now, but my recollection is that the usual behavior was overridden in an earlier draft (the one in place when I added the glyph support).

### dpvc pushed a commit to dpvc/MathJax that referenced this issue Mar 19, 2014

 Fix unitless width and height in HTML-CSS mglyph, and fix aspect rati… 
…o when only one is specified in SVG output. Resolves issue mathjax#763.
 a12a0e5 

### dpvc pushed a commit that referenced this issue Mar 20, 2014

 Merge remote-tracking branch 'dpvc/issue763' into develop. Issue #763. 
 283cff4 

Member

### dpvc commented Mar 20, 2014

 =>Merged.

### dpvc pushed a commit to mathjax/MathJax-test that referenced this issue Apr 20, 2014

 Add test for issue mathjax/MathJax#763. 
 6d4dbe6 
Member

### dpvc commented Apr 20, 2014

 => In Test Suite MathMLToDisplay/Presentation/TokenElements/mglyph/issue763.html

### dpvc pushed a commit to dpvc/MathJax that referenced this issue Apr 21, 2014

 Merge branch 'issue763' into develop. Issue mathjax#763. 
 6d6cb37