From 35c061179aff8a630853822a3e05213ce1b19ace Mon Sep 17 00:00:00 2001 From: Mats Palmgren Date: Fri, 9 Nov 2018 04:25:56 +0100 Subject: [PATCH] style: Add -webkit-appearance:progress-bar and make that the default for for compatibility with other UAs. Keep our old 'progressbar' as an alias for now, but unship 'progresschunk' by restricting it to UA/chrome sheets only. Unship 'progresschunk-vertical' by removing it since it's not used internally for anything. Bug: 1501506 Reviewed-by: jwatt --- components/style/values/specified/box.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/style/values/specified/box.rs b/components/style/values/specified/box.rs index 3c634df1ab6..da7b5d98eee 100644 --- a/components/style/values/specified/box.rs +++ b/components/style/values/specified/box.rs @@ -1047,13 +1047,13 @@ pub enum Appearance { /// For HTML's NumberInput, /// A horizontal progress bar. - Progressbar, + #[parse(aliases = "progressbar")] + ProgressBar, /// The progress bar's progress indicator + #[parse(condition = "in_ua_or_chrome_sheet")] Progresschunk, /// A vertical progress bar. ProgressbarVertical, - /// A vertical progress chunk. - ProgresschunkVertical, /// A checkbox element. Checkbox, /// A radio element within a radio group.