Skip to content

Commit

Permalink
Bug 1695565 - Fix appearance-cssom-001.html. r=boris
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 committed Feb 28, 2023
1 parent 96ac201 commit 42a58b0
Show file tree
Hide file tree
Showing 3 changed files with 210 additions and 232 deletions.
3 changes: 0 additions & 3 deletions servo/components/style/values/specified/box.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1726,7 +1726,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 @@ -1737,10 +1736,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
40 changes: 0 additions & 40 deletions testing/web-platform/meta/css/css-ui/appearance-cssom-001.html.ini

This file was deleted.

0 comments on commit 42a58b0

Please sign in to comment.