style: Make appearance: button behave like auto.

As per https://github.com/w3c/csswg-drafts/issues/5174.

Differential Revision: https://phabricator.services.mozilla.com/D89119
This commit is contained in:
Emilio Cobos Álvarez 2020-09-10 08:58:09 +00:00
parent ad0f63769c
commit 768db078ef
6 changed files with 3 additions and 48 deletions

View file

@ -639,25 +639,6 @@ ${helpers.predefined_type(
gecko_ffi_name="mDefaultAppearance",
)}
// A UA-sheet only property that controls the effect of `appearance: button`
// on the element: `-moz-button-appearance: allow` means the element is rendered
// with button appearance, and `-moz-button-appearance: disallow` is treated
// like `appearance: auto`.
//
// https://github.com/w3c/csswg-drafts/issues/5174 proposes to simplify `button`
// to mean `auto` unconditionally, at which point this property can be removed.
${helpers.predefined_type(
"-moz-button-appearance",
"ButtonAppearance",
"computed::ButtonAppearance::Allow",
engines="gecko",
animation_value_type="none",
needs_context=False,
spec="Internal (not web-exposed)",
enabled_in="ua",
gecko_ffi_name="mButtonAppearance",
)}
${helpers.single_keyword(
"-moz-orient",
"inline block horizontal vertical",