Skip to content

Conversation

@dpvc
Copy link
Member

@dpvc dpvc commented Jun 11, 2021

This PR changes the overflow property used for the extenders in stretchy characters so that they clip only in the direction of the stretching. This avoid accidentally clipping thin horizontal and vertical lines, for example.

It also adds the index to the insertRule() call in the HTMLadaptor so that it works in IE (which seems to require it), and wraps the call in try/catch so that rules that are only valid in modern browsers won't cause problems in IE (or other older browsers).

Resolves issue mathjax/MathJax#2701.

@dpvc dpvc added this to the 3.2 milestone Jun 11, 2021
@dpvc dpvc requested a review from zorkow June 11, 2021 18:32
Copy link
Member

@zorkow zorkow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with a handful of browsers and worked fine everywhere except overline vanishes on IE 11 at 85% zoom. Otherwise fine on IE as well

I don't think that is a deal breaker, so I approve.

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