-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
-webkit-column-count crashes Mathjax in Chrome #45
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
Comments
OK, I have reproduced your results. Not sure what to suggest at the moment, other than not using -webkit-column-count for now. I haven't yet looked into where exactly the crash is occurring. Davide |
Thanks very much for your testcase, I'll integrated it in the testsuite as a "crashtest". |
No, Safari processes the test page properly. Davide |
OK, I've added crashtest Crashtests/webkit-column-count-1.html |
It looks like WebKit has some bugs with multiple column output. Both Safari and Chrome have problems with elements that have For example, the page
incorrectly displays the "x" from the second column in the location it would have been in had it been only one column. Note that the two-column material is in red; the black lettering represents the corresponding single-column output. The red "x" appears next to the back "e", not the red "e" as it should. The situation for Chrome is more complicated. While it properly displays the page listed above, it also has problems with positioned elements within a multi-column format, but I'm not entirely sure of what the trigger is. For example, the following page
causes Chrome 11.0.696.57 on Mac OS X 10.5.8 to crash. Removing any one of the style attributes (the column count, the display value, or any of the position values) allows the page to display. Changing the first In any case, positioned elements are crucial to MathJax's ability to position the symbols correctly, and I don't see any way to work around these browser bugs from within MathJax. The only suggestion I can offer is to not use multi-column styles until the browsers resolve these bugs. Davide |
Is there a bug entry in Webkit Bugzilla? I seem to remember one, but can not find it. |
I never made any bug report, but I thought there was one about it, too. |
OK, I think I found it: It seems that it was fixed one year ago. The test page no longer crashes for me with the latest Chrome version: |
My two test file now also work properly as well, so I'm closing this bug as it is fixed upstream. |
OK i'll remove the "skip-if" tag on the crashtest so that it will run on Chrome. |
Bug was observed using
With any number of columns > 1, the -webkit-column-count styling for divs crashes mathjax when
superscripts or subscripts are used. Removing sub/superscripts solves the problem.
Minimal example exhibiting crash below.
The text was updated successfully, but these errors were encountered: