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

[6.x] Do not resize to zero #858

Merged
merged 1 commit into from
Jan 25, 2021
Merged

[6.x] Do not resize to zero #858

merged 1 commit into from
Jan 25, 2021

Conversation

driesvints
Copy link
Member

At the moment fitContent will be able to resize to zero and thus making assertions basically useless. There was a PR that fixed this #730 but #815 seemed to have re-introduced it.

Fixes #856

@browner12
Copy link
Contributor

thanks for stepping in on this!

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.

fitToContent() breaks screenshots if document height/width is 0
3 participants