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
equation numbering and width: fit-content/max-content/min-content #428
The problem is more general and not specific to Firefox. Basically, the CSS layout algorithm used in browsers relies on min/max intrinsic widths. Some widths are modified by MathJax when it typesets the equations. Since there is no communication with the browser layout rendering, the final rendering may be wrong.
This issue prevents MathJax's line breaking algorithm to work correctly in this example:
Under certain circumstances (mostly when there is an equation tag), MathJax will make its displayed equations inside a
One solution would be to set
Fred's line-breaking issue is more complicated, since MathJax tries to find out the width of the containing element in order to know where to do its line breaking. For something like a
I get a processing error with the following code:
but only when it is merged in the develop branch. HTMLCSS.Em is called with min = stack.bbox.w undefined. Perhaps it's related to issue #364, where the bbox setup is modified.