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

Fix tests broken in browsers that have visible scrollbars #164

Merged
merged 1 commit into from
Jan 16, 2018

Conversation

raytiley
Copy link
Contributor

@raytiley raytiley commented Dec 7, 2017

This fixes the scrollbar calculation in the scroll top tests to work (at least on win browsers). The tests would always pass in OSX due to lack of scroll bars. The working tests highlighted some faulty logic in one of the tests where we were adding the size of a scroll bar to the height, even though there wasn't enough content to make a horizontal scroll bar.

This fixes the scrollbar calculation in the scroll top tests to work (at least on win browsers). The tests would always pass in OSX due to lack of scroll bars. The working tests highlighted some faulty logic in one of the tests where we were adding the size of a scroll bar to the height, even though there wasn't enough content to make a horizontal scroll bar.
@rwjblue rwjblue merged commit 6b6f1cd into master Jan 16, 2018
@rwjblue rwjblue deleted the fix-scroll-top-tests branch January 16, 2018 14:32
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.

2 participants