mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
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:
parent
c194f42596
commit
35c061179a
1 changed files with 3 additions and 3 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue