From c194f42596c55e92066bc76c02093808c262ceca 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:meter and make that the default for for compatibility with other UAs. Keep our old value 'meterbar' as an alias for now, but unship 'meterchunk' by restricting it to UA/chrome sheets only. Bug: 1501483 Reviewed-by: jwatt --- components/style/values/specified/box.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/style/values/specified/box.rs b/components/style/values/specified/box.rs index ffa59a4d50e..3c634df1ab6 100644 --- a/components/style/values/specified/box.rs +++ b/components/style/values/specified/box.rs @@ -1036,8 +1036,10 @@ pub enum Appearance { #[parse(condition = "in_ua_or_chrome_sheet")] Menuimage, /// A horizontal meter bar. - Meterbar, + #[parse(aliases = "meterbar")] + Meter, /// The meter bar's meter indicator. + #[parse(condition = "in_ua_or_chrome_sheet")] Meterchunk, /// The "arrowed" part of the dropdown button that open up a dropdown list. #[parse(condition = "in_ua_or_chrome_sheet")]