Skip to content
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

Test empty munder, mover and munderover #19662

Closed
wants to merge 2 commits into from

Conversation

rwlbuis
Copy link
Contributor

@rwlbuis rwlbuis commented Oct 13, 2019

Loosely based on WebKit test EmptyMunderOverCrash.xhtml.

Loosely based on WebKit test EmptyMunderOverCrash.xhtml.

assert_approx_equals(getBox("over").width, 0, epsilon, "width of empty mover");
assert_approx_equals(getBox("over").height, 0, epsilon, "height of empty mover");
}, "Empty mover");
Copy link
Contributor

Choose a reason for hiding this comment

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

It seems you can generate these tests with a loop

["over", "under", "underover"].forEach

Probably do the same for sub/sup/subsup/mmultiscripts.

And we should more generally do tests for how to handle invalid markup #15

@rwlbuis rwlbuis closed this Oct 14, 2019
@rwlbuis rwlbuis deleted the emptyunderover branch October 14, 2019 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants