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


Copy link

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.

@wpt-pr-bot wpt-pr-bot requested review from dbaron, frivoal and rachelandrew Jul 10, 2020
@felipeerias felipeerias force-pushed the felipeerias:first_tests branch from 0c74b40 to 2bea078 Jul 20, 2020
Tests for the values "auto", "stable" and "always" of the
scrollbar-gutter property with custom classic scrollbars.

@felipeerias felipeerias force-pushed the felipeerias:first_tests branch from 2bea078 to cbac25e Jul 20, 2020
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
You can’t perform that action at this time.