Skip to content

Commit

Permalink
style: Add -webkit-appearance:meter and make that the default for <me…
Browse files Browse the repository at this point in the history
…ter> 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
  • Loading branch information
Mats Palmgren authored and emilio committed Nov 10, 2018
1 parent 667457a commit c194f42
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/style/values/specified/box.rs
Expand Up @@ -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")]
Expand Down

0 comments on commit c194f42

Please sign in to comment.