Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Vertical alignment in chrome on mac #295
I'm seeing a lot of vertical alignment problems using mathjax with Chrome 21.0.1180.82 on a MacBook pro.
The following code gives a page which has two alignment issues, the letters with hats are raised slightly compared to the unhatted letters, also the whole equation is slightly raised compared to the surrounding text.
I don't get the same issue with Safari or Firefox.
I also found many 1px vertical shifts in Chrome in the test suite.
(Issue 158) is one of them, but I can also mention
and probably more.
It turns out that there is some variation in the heights of elements even when they are given explicitly in the CSS for the element. I have seen an element with
referenced this issue
Aug 22, 2012
The issue295 gives much better results in Chrome, especially with all these MathMLToDisplay/Presentation/CSS/* tests in HTML-CSS, which failed by a small vertical shift. Seems to have fixed most of the failures mentioned above too. There are still some small positioning/sizing errors, but these happen with other browsers too.
One problem: the changes break numalign/denumalign in mfrac in HTML-CSS. See