Bug 1405087: Nix -moz-user-input: disabled. r=bz

It does nothing, and there's only one use of it anyway.

See the intent to unship for research on out of the tree usage:

  https://groups.google.com/d/msg/mozilla.dev.platform/E6tfP__wkwg/YVW6nPX9CQAJ

MozReview-Commit-ID: 5XnsewYdvgQ
This commit is contained in:
Emilio Cobos Álvarez 2018-02-10 19:47:04 +01:00
Родитель d856f9f390
Коммит 82778d6954
5 изменённых файлов: 2 добавлений и 5 удалений

Просмотреть файл

@ -1679,7 +1679,7 @@ interface nsIDOMWindowUtils : nsISupports {
/**
* In certain cases the event handling of nodes, form controls in practice,
* may be disabled. Such cases are for example the existence of disabled
* attribute or -moz-user-input: none/disabled.
* attribute or -moz-user-input: none.
*/
boolean isNodeDisabledForEvents(in nsIDOMNode aNode);

Просмотреть файл

@ -2136,7 +2136,6 @@ const KTableEntry nsCSSProps::kUserFocusKTable[] = {
const KTableEntry nsCSSProps::kUserInputKTable[] = {
{ eCSSKeyword_none, StyleUserInput::None },
{ eCSSKeyword_enabled, StyleUserInput::Enabled },
{ eCSSKeyword_disabled, StyleUserInput::Disabled },
{ eCSSKeyword_auto, StyleUserInput::Auto },
{ eCSSKeyword_UNKNOWN, -1 }
};

Просмотреть файл

@ -206,7 +206,6 @@ enum class StyleUserSelect : uint8_t {
enum class StyleUserInput : uint8_t {
None,
Enabled,
Disabled,
Auto,
};

Просмотреть файл

@ -436,7 +436,6 @@ optgroup:disabled,
select:disabled:disabled /* Need the pseudo-class twice to have the specificity
be at least the same as select[size][multiple] above */
{
-moz-user-input: disabled;
color: GrayText;
background-color: ThreeDLightShadow;
cursor: inherit;

Просмотреть файл

@ -2632,7 +2632,7 @@ var gCSSProperties = {
inherited: true,
type: CSS_TYPE_LONGHAND,
initial_values: [ "auto" ],
other_values: [ "none", "enabled", "disabled" ],
other_values: [ "none", "enabled" ],
invalid_values: []
},
"-moz-user-modify": {