gecko-dev/servo
Emilio Cobos Álvarez bb17d77850 Bug 1918802 - Simplify scrollbar track drawing. r=mstange,mac-reviewers
This was caught by Markus. When you hover over an overlay scrollbar on
macOS, you'd hit this the PaintScrollbar() code-path (or rather, you
won't bail out from the if (overlay && !hovered)), but macOS draws the
track in PaintScrollbarTrack().

Android doesn't hit this because android scrollbars can't ever be
hovered (they have pointer-events: none). This is a better fix than
D222172, which didn't paint the background for the non-overlay
scrollbars...

This doesn't change behavior since scrollbar and the track have the same
size (as cocoa scrollbars can never have buttons). Removing
nsSliderFrame is a refactor for another day if ever.

Differential Revision: https://phabricator.services.mozilla.com/D222194
2024-09-17 15:59:43 +00:00
..
components Bug 1918802 - Simplify scrollbar track drawing. r=mstange,mac-reviewers 2024-09-17 15:59:43 +00:00
ports/geckolib Bug 1916589 - Move forced-colors computation to nsPresContext. r=nchevobbe 2024-09-17 10:17:56 +00:00
tests/unit Bug 1884879 - [css-syntax] Implement recent syntax spec change to avoid parsing custom properties that look like selectors. r=firefox-style-system-reviewers,zrhoffman,supply-chain-reviewers,glandium 2024-04-30 23:49:44 +00:00
moz.build
rustfmt.toml