-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fraction bar too high in tonicdev integration #332
Comments
Very strange. I can't find any styles that are being changed in the frame, but I remember seeing something like this before on android. Probably needs more investigation. |
This seems unrelated to Tonic, it reproduces in a normal plain html file for me:
I can open a new bug "fractions are broken" if you prefer. |
Missing DOCTYPE? |
Is HTML5 a requirement? If it is I'm happy to consider it fixed as missing doctype. |
Not HTML5 necessarily, but we probably don't work great in quirks mode. Any valid doctype should work (though |
Yup, pushing a fix to tonic now. Thanks! |
Sweet. We should add a warning for this though. (jQuery doesn't support quirks mode, for instance.) |
We do have a warning for it! https://github.com/Khan/KaTeX/blob/master/katex.js#L33 |
Yeah the problem here is that that warning doesn't happen on the client if its rendered on the server (which is what was happening here). It'll actually be kind of a common case if you do lots of server rendering of stuff as opposed to relying on it coming in on the client. |
Ahh, gotcha. |
https://tonicdev.com/nicole/katex
My guess is that one of the styles from outside of the katex container is bleeding in.
The text was updated successfully, but these errors were encountered: