Skip to content

Fix problem with Safari inserting line breaks before in-line math. #1478 #1530

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

Merged
merged 1 commit into from
Jul 8, 2016

Conversation

dpvc
Copy link
Member

@dpvc dpvc commented Jun 20, 2016

Fix problem with Safari inserting line breaks before in-line math due to new width-detection scheme. The display:table-cell that was used caused Safari to leave a line break after the table-cell is removed. The solution is to enclose it in an element with display:table. This still allows the detection of the correct with compared to floating material, while still being able to work inside shrink-wrap element. #1478.

@pkra pkra added this to the MathJax v2.x.x milestone Jun 21, 2016
@dpvc dpvc changed the title Fix problem with Safari inserting line breaks before in-line math Fix problem with Safari inserting line breaks before in-line math. #1478 Jul 5, 2016
@zorkow
Copy link
Member

zorkow commented Jul 8, 2016

lgtm.

@dpvc dpvc merged commit 4f87ff1 into mathjax:develop Jul 8, 2016
@dpvc dpvc deleted the issue1478 branch August 5, 2016 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants