Skip to content

Conversation

@dpvc
Copy link
Member

@dpvc dpvc commented Nov 24, 2023

This PR changes how CHTML handles the longdiv enclosure so that it doesn't need to use clipping paths. Apparently Chrome for Android and iOS only implements clip-path in very recent versions, and so older versions show a full oval rather than use the right half used for the division symbol. The solution is to break the half-oval into two parts: the upper and lower halves, and handle each separately. Each half uses a rounded corner of 100% radius (rather than the 50% radius that was used for the complete oval), with two of the border edges set to none.

@dpvc dpvc added this to the v4.0 milestone Nov 24, 2023
@dpvc dpvc requested a review from zorkow November 24, 2023 22:16
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.

lgtm.

@dpvc dpvc merged commit e853348 into develop Dec 20, 2023
@dpvc dpvc deleted the chtml-longdiv branch December 20, 2023 22:04
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