Giter VIP home page Giter VIP logo

Comments (17)

dpvc avatar dpvc commented on June 19, 2024

I am not able to reproduce your result in Firefox on Mac OS. On the other hand, if I disable one of the CSS rules, I do get your result, so I'm wondering if that rule isn't triggering properly for you.

Can you open the developer console and inspect one of the parentheses, and see if you see the highlighted rule below:

mjv3

(the one for mix-symmetric > mjx-c)? If I disable this rule, I see the same result that you see.

from mathjax-src.

Debenben avatar Debenben commented on June 19, 2024

I think the rule is there:

screenshot from 2018-05-24 14-03-32

If I disable the rule, it does not change anything.

from mathjax-src.

dpvc avatar dpvc commented on June 19, 2024

Thanks for checking. If you change middle to top in this rule, what happens? If you change it to 1em what happens?

from mathjax-src.

Debenben avatar Debenben commented on June 19, 2024

vertical-align: top

screenshot from 2018-05-24 15-30-35

vertical-align: 1em

screenshot from 2018-05-24 15-31-17

vertical-align: bottom

screenshot from 2018-05-24 15-32-16

from mathjax-src.

dpvc avatar dpvc commented on June 19, 2024

OK, that is helpful. Can you try this? Select the mjx-symmetric element surrounding one of the parentheses, and add display: inline-block to the rule for that element:

mj3-align1

Then select all the mjx-mstyle elements (one at a time) and add display: inline-block as element properties:

mj3-align2

You'll have to do it individually, since there is no CSS rule for mjx-mstyle currently that would let you do it for all at once.

See if doing that resolves the issue (fingers crossed).

from mathjax-src.

Debenben avatar Debenben commented on June 19, 2024

I think that is the issue. I was able to apply it to the first bracket:

screenshot from 2018-05-24 15-56-27

Maybe I am just too stupid to apply it to the others, but it seemed like the display: inline-block got inherited from the first one, so it was already shown in the console with the green marking and I couldn't add it again.

from mathjax-src.

dpvc avatar dpvc commented on June 19, 2024

OK, I've pushed a modified version for testing that includes the display: inline-block settings. Put your example into that and see if it works properly.

from mathjax-src.

Debenben avatar Debenben commented on June 19, 2024

No, that doesn't work. It ist the same as the unmodified version.

screenshot from 2018-05-24 16-48-00

For the screenshot I uploaded earlier, I might have added some display: inline-block property falsely to some other element as well.

from mathjax-src.

dpvc avatar dpvc commented on June 19, 2024

OK thanks. I'll have to think of something else. What flavor of linux are you using, and what version of Firefox?

from mathjax-src.

Debenben avatar Debenben commented on June 19, 2024

debian stretch with firefox version 52.8.0

from mathjax-src.

zorkow avatar zorkow commented on June 19, 2024

I can reproduce that issue on Firefox/Linux v58.2.0 and v61.0b7 (aurora channel).

from mathjax-src.

zorkow avatar zorkow commented on June 19, 2024

I tried MacOS, Firefox v61.0beta and could not reproduce the problem.

However, on ChromeOS, Firefox v60.0.1 I can see the same issue. So it is probably a Linux problem.

from mathjax-src.

zorkow avatar zorkow commented on June 19, 2024

With Firefox/Chrome/Edge/IE11 on Windows, I can reproduce the same issue. So the expected behaviour seems to be a MacOS, Blink/Linux anomaly. Could it be a font related issue?

from mathjax-src.

davidlowryduda avatar davidlowryduda commented on June 19, 2024

Do you mean that you could not reproduce the same issue on Windows?

from mathjax-src.

dpvc avatar dpvc commented on June 19, 2024

I am also able to reproduce on windows. So it looks like Mac OS is the outlier. I will have to rethink how this is being handled. Rats!

from mathjax-src.

dpvc avatar dpvc commented on June 19, 2024

I've made a PR (#125) that includes a fix for this.

from mathjax-src.

dpvc avatar dpvc commented on June 19, 2024

This has been merged into the master branch.

from mathjax-src.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.