Skip to content

Commit

Permalink
style: Add -webkit-appearance:progress-bar and make that the default …
Browse files Browse the repository at this point in the history
…for <progress> 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
  • Loading branch information
Mats Palmgren authored and emilio committed Nov 10, 2018
1 parent c194f42 commit 35c0611
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/style/values/specified/box.rs
Expand Up @@ -1047,13 +1047,13 @@ pub enum Appearance {
/// For HTML's <input type=number>
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.
Expand Down

0 comments on commit 35c0611

Please sign in to comment.