Vertical alignment of equations in table (Webkit) #253

Open
drfred opened this Issue May 28, 2012 · 4 comments

Comments

Projects
None yet
4 participants

drfred commented May 28, 2012

When an equation is placed in a table cell with vertical-align: top and the height of the equation is different than the height of the other text, it is not aligned with the other text in chrome or safari.

However, the alignment is correct with firefox or opera.

Using html <sup> does the same thing, so I suspect it is a browser issue.

I don't know which is actually the correct behavior.

Here is an example: http://sullivan.mathcs.wilkes.edu/bug.html

A workaround is to put the contents of the cell inside a div.

Owner

dpvc commented Jun 8, 2012

I don't know which is the correct behavior, either, but I suspect it is the Firefox/Opera version. The fact that it fails to work as expected with <sup> suggests that it is a WebKit bug. In any case, I don't think there is anything that MathJax can do about it. I appreciate your providing a work-around in the form of a wrapping <div>.

Contributor

fred-wang commented Jun 30, 2012

@drfred thank you very much. I reported the issue here:

https://bugs.webkit.org/show_bug.cgi?id=90335

and will integrate your test case in our test suite.

Contributor

fred-wang commented Jun 30, 2012

MathMLToDisplay/issue253.html

=> In testsuite

pkra added the Upstream label Jul 13, 2016

Owner

pkra commented Jul 13, 2016

This was fixed in Blink but WebKit still fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment