style: Add -webkit-appearance:progress-bar and make that the default 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
This commit is contained in:
Mats Palmgren 2018-11-09 04:25:56 +01:00 committed by Emilio Cobos Álvarez
parent c194f42596
commit 35c061179a
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -1047,13 +1047,13 @@ pub enum Appearance {
/// For HTML's <input type=number> /// For HTML's <input type=number>
NumberInput, NumberInput,
/// A horizontal progress bar. /// A horizontal progress bar.
Progressbar, #[parse(aliases = "progressbar")]
ProgressBar,
/// The progress bar's progress indicator /// The progress bar's progress indicator
#[parse(condition = "in_ua_or_chrome_sheet")]
Progresschunk, Progresschunk,
/// A vertical progress bar. /// A vertical progress bar.
ProgressbarVertical, ProgressbarVertical,
/// A vertical progress chunk.
ProgresschunkVertical,
/// A checkbox element. /// A checkbox element.
Checkbox, Checkbox,
/// A radio element within a radio group. /// A radio element within a radio group.