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

First functional tests for scrollbar-gutter #24554

wants to merge 1 commit into
base: master
Choose a base branch

First functional tests for scrollbar-gutter #24554

wants to merge 1 commit into from


Copy link

@felipeerias felipeerias commented Jul 10, 2020

Tests for the values auto, stable and always of the scrollbar-gutter property, using classic scrollbars.


The basic test works by comparing the size of the container and contained elements, which should be the same unless a scrollbar gutter is being shown.

It uses scrollbar-width and ::-webkit-scrollbar to ensure that the scrollbars are of the "classic" kind. Testing scrollbar-gutter with overlay scrollbars will probably require browser-specific tests, since there isn't a cross-platform way to ensure the presence of overlay scrollbars.

Tests for the values "auto", "stable" and "always" of the
scrollbar-gutter property with custom classic scrollbars.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants