mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Fix appearance-cssom-001.html
* Remove some legacy appearance aliases that other engines don't implement. * Allow to pass with unimplemented <compat-auto> values, since per the spec the idea of these is to get them removed, see https://github.com/w3c/csswg-drafts/issues/8506 for the ones we don't implement. * Also allow the `-moz-` prefix to be implemented, because we can't quite get rid of it (people use it to remove the <input type=number> buttons with -moz-appearance: textfield and so on), and the alternative is to implement a bunch of non-standard ::-webkit- pseudo-elements. Differential Revision: https://phabricator.services.mozilla.com/D171243
This commit is contained in:
parent
9a37424dca
commit
1b40d30f88
1 changed files with 0 additions and 3 deletions
|
@ -1700,7 +1700,6 @@ pub enum Appearance {
|
|||
/// A searchfield.
|
||||
Searchfield,
|
||||
/// A multi-line text field, e.g. HTML <textarea>.
|
||||
#[parse(aliases = "textfield-multiline")]
|
||||
Textarea,
|
||||
/// A checkbox element.
|
||||
Checkbox,
|
||||
|
@ -1711,10 +1710,8 @@ pub enum Appearance {
|
|||
/// List boxes.
|
||||
Listbox,
|
||||
/// A horizontal meter bar.
|
||||
#[parse(aliases = "meterbar")]
|
||||
Meter,
|
||||
/// A horizontal progress bar.
|
||||
#[parse(aliases = "progressbar")]
|
||||
ProgressBar,
|
||||
/// A typical dialog button.
|
||||
Button,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue