Files
Michael Hynson 19ded9cd7e Bug 2056749 - Add -moz-scrollbar-inset-{block, inline} for improved scrollbar boundaries for rounded chrome corners. r=emilio,tabbrowser-reviewers,firefox-style-system-reviewers,layout-reviewers,sthompson
- Adds `-moz-scrollbar-inset-block` and `-moz-scrollbar-inset-inline`, chrome-only
  `<non-negative-length>{1,2}` longhands. Each names the scrollbar's axis it
  applies to. The two values are the axis' logical start and end
  and flip with the writing mode.
- ScrollContainerFrame::ScrollbarInsets() serves as the one place to extract the inset from for
    both nsScrollbarFrame and GetBorderRadii
- Applies inset to nsScrollbarFrame::Reflow similar to stepper buttons
- ScrollContainerFrame::GetBorderRadii no longer squares a corner off when the
  inset already holds the scrollbar clear of the curve.
- Forward the <browser> embedder's inset to a root scrollbar for the content viewport
- Add reftests for css-scrollbars
- This commit does NOT implement the css property anywhere

Differential Revision: https://phabricator.services.mozilla.com/D313900
2026-09-02 16:03:53 +00:00
..