Skip to content

Commit

Permalink
style: Fix appearance-cssom-001.html
Browse files Browse the repository at this point in the history
* 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
    w3c/csswg-drafts#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
  • Loading branch information
emilio authored and Loirooriol committed Nov 3, 2023
1 parent 8985148 commit 5dbb8cc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions components/style/values/specified/box.rs
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 5dbb8cc

Please sign in to comment.