Skip to content

Line breaking inside shrink-wrap elements doesn't work well #1478

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

Closed
dpvc opened this issue May 17, 2016 · 4 comments
Closed

Line breaking inside shrink-wrap elements doesn't work well #1478

dpvc opened this issue May 17, 2016 · 4 comments
Labels
Accepted Issue has been reproduced by MathJax team Fixed Test Available v2.7

Comments

@dpvc
Copy link
Member

dpvc commented May 17, 2016

For elements that shrink-wrap their contents (like table cells or inline-block elements), the container width is measured as 0, and so line breaking can't be properly done.

Find a way to get the proper container width in that case (while still handling floating elements and other things that affect the width).

See issue #571, and also #1466.

@dpvc dpvc added the Accepted Issue has been reproduced by MathJax team label May 17, 2016
dpvc added a commit to dpvc/MathJax that referenced this issue May 17, 2016
…ry to handle the problem with full-width equations being too wide when the ex-size isn't measured accurately enough. Issue mathjax#1478.
dpvc added a commit to dpvc/MathJax that referenced this issue May 17, 2016
…L-CSS, and add the CSS from handle-floats into the standard HTML-CSS. Remove the content of the handle-floats extension. Issue mathjax#1478.
dpvc added a commit to dpvc/MathJax that referenced this issue May 17, 2016
@dpvc
Copy link
Member Author

dpvc commented May 17, 2016

The issue1478 branch of my fork of MathJax includes changes that gets the proper container width for math inside shrink-wrapped elements. It also makes all three output jax use the same mechanism for determining the container width.

@dpvc dpvc added this to the MathJax v2.x.x milestone May 17, 2016
dpvc added a commit to dpvc/MathJax that referenced this issue Jun 8, 2016
dpvc added a commit that referenced this issue Jun 8, 2016
Properly determine container widths.  Resolves issue #1478.
@dpvc
Copy link
Member Author

dpvc commented Jun 8, 2016

==> Merged.

@dpvc dpvc added Merged Merged into develop branch and removed Ready for Review labels Jun 8, 2016
@dpvc dpvc closed this as completed Jun 8, 2016
dpvc added a commit to dpvc/MathJax that referenced this issue Jun 20, 2016
dpvc added a commit that referenced this issue Jul 8, 2016
Fix problem with Safari inserting line breaks before in-line math. #1478
@dpvc
Copy link
Member Author

dpvc commented Jul 8, 2016

==> Merged

dpvc added a commit to mathjax/MathJax-test that referenced this issue Aug 18, 2016
@dpvc
Copy link
Member Author

dpvc commented Aug 18, 2016

==> In testsuite

MathMLToDisplay/issue1478.html

@dpvc dpvc added v2.7 Fixed and removed Merged Merged into develop branch labels Jan 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted Issue has been reproduced by MathJax team Fixed Test Available v2.7
Projects
None yet
Development

No branches or pull requests

1 participant