mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Simplify some appearance code
I was looking into simplifying our scrollbar styles: * StyleAppearance::Resizer is not used in content, and some of the values were only for <xul:window> which are not supported anymore. * Statusbarpanel and Resizerpanel aren't used. Statusbar is only used once on macOS so we only need to keep it there. Differential Revision: https://phabricator.services.mozilla.com/D178374
This commit is contained in:
parent
7d72d7c385
commit
520f851d8c
1 changed files with 0 additions and 10 deletions
|
@ -1489,13 +1489,6 @@ pub enum Appearance {
|
|||
Range,
|
||||
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
|
||||
RangeThumb,
|
||||
/// The resizer background area in a status bar for the resizer widget in
|
||||
/// the corner of a window.
|
||||
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
|
||||
Resizerpanel,
|
||||
/// The resizer itself.
|
||||
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
|
||||
Resizer,
|
||||
/// The scrollbar slider
|
||||
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
|
||||
ScrollbarHorizontal,
|
||||
|
@ -1546,9 +1539,6 @@ pub enum Appearance {
|
|||
/// A status bar in a main application window.
|
||||
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
|
||||
Statusbar,
|
||||
/// A single pane of a status bar.
|
||||
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
|
||||
Statusbarpanel,
|
||||
/// A single tab in a tab widget.
|
||||
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
|
||||
Tab,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue