[wpt-sync] Sync PR 24553 - First functional tests for scrollbar-gutter
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(Not tracked)
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 24553 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/24553
Details from upstream follow.
Felipe Erias <felipeerias@gmail.com> wrote:
First functional tests for scrollbar-gutter
Tests for the values
auto,stableandalwaysof thescrollbar-gutterproperty, using classic scrollbars.Spec: https://drafts.csswg.org/css-overflow-4/#scrollbar-gutter-property
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-widthand::-webkit-scrollbarto ensure that the scrollbars are of the "classic" kind. Testingscrollbar-gutterwith overlay scrollbars will probably require browser-specific tests, since there isn't a cross-platform way to ensure the presence of overlay scrollbars.
| Assignee | ||
Updated•5 years ago
|
Description
•