mirror of
https://github.com/servo/servo.git
synced 2025-07-16 03:43:38 +01:00
style: Add -webkit-appearance:meter and make that the default for <meter> 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
This commit is contained in:
parent
667457a16c
commit
c194f42596
1 changed files with 3 additions and 1 deletions
|
@ -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")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue