gecko-dev/layout/reftests/css-scrollbars
Xidorn Quan 12de3945a4 Bug 1514498 - Hide rather than collapse scrollbar thumb when scrollbar is disabled. r=NeilDeakin
Collapsing thumb causes frame of scrollbar to cache an incorrect pref
size, which makes it not able to appear in certain cases.

This patch changes it to use "visibility: hidden" instead so that the
thumb is hidden but still contributes to the width of scrollbar.

An alternative would be also change the code in nsScrollbarFrame to set
something other than collapsed attribute instead, but I'm not sure
whether doing that is any better than just adding a rule. We need the
rule anyway regardless of what we set on the element.

Differential Revision: https://phabricator.services.mozilla.com/D15244

--HG--
extra : moz-landing-system : lando
2019-01-10 14:15:30 +00:00
..
reftest.list Bug 1514498 - Hide rather than collapse scrollbar thumb when scrollbar is disabled. r=NeilDeakin 2019-01-10 14:15:30 +00:00
scrollbar-thin-overflow-change-ref.html Bug 1514498 - Hide rather than collapse scrollbar thumb when scrollbar is disabled. r=NeilDeakin 2019-01-10 14:15:30 +00:00
scrollbar-thin-overflow-change.html Bug 1514498 - Hide rather than collapse scrollbar thumb when scrollbar is disabled. r=NeilDeakin 2019-01-10 14:15:30 +00:00
viewport-scrollbar-color-change-ref.html
viewport-scrollbar-color-change.html