mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
style: Add a more sensible scrollbar size API to nsITheme, and use it to replace ScrollbarNonDisappearing.
There's no reason we should need an scrollbar box to query the size of a scrollbar. I plan to use this in the following patch to make the size of a resizer not vary depending on whether the container has scrollbars or not, which is what ultimately causes the reftest failure. Differential Revision: https://phabricator.services.mozilla.com/D103302
This commit is contained in:
parent
96c08d78cf
commit
4d8f55a7cb
1 changed files with 0 additions and 4 deletions
|
@ -1834,10 +1834,6 @@ pub enum Appearance {
|
|||
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
|
||||
MozMacVibrantTitlebarLight,
|
||||
|
||||
/// A non-disappearing scrollbar.
|
||||
#[css(skip)]
|
||||
ScrollbarNonDisappearing,
|
||||
|
||||
/// A themed focus outline (for outline:auto).
|
||||
///
|
||||
/// This isn't exposed to CSS at all, just here for convenience.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue