зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1405087: Also nix -moz-user-input: enabled. r=bz
It only has one use, has the same effect that "auto", and should have no effect in <a> elements anyway (plus it's not overridden or used in that file at all anyway), so we can remove its only use instead. I can also change that use to "auto" if you want, but bug 760876 doesn't mention -moz-user-input at all, so I think this is quite useless... 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: 8EzQlzu9drE
This commit is contained in:
Родитель
848f3927de
Коммит
deee29c647
|
@ -14,7 +14,6 @@
|
|||
|
||||
a {
|
||||
-moz-user-focus: normal;
|
||||
-moz-user-input: enabled;
|
||||
cursor: pointer;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
@ -1277,4 +1276,4 @@ body #output-container {
|
|||
|
||||
.theme-twisty {
|
||||
cursor: default;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1388,8 +1388,6 @@ exports.CSS_PROPERTIES = {
|
|||
"supports": [],
|
||||
"values": [
|
||||
"auto",
|
||||
"disabled",
|
||||
"enabled",
|
||||
"inherit",
|
||||
"initial",
|
||||
"none",
|
||||
|
|
|
@ -2135,7 +2135,6 @@ const KTableEntry nsCSSProps::kUserFocusKTable[] = {
|
|||
|
||||
const KTableEntry nsCSSProps::kUserInputKTable[] = {
|
||||
{ eCSSKeyword_none, StyleUserInput::None },
|
||||
{ eCSSKeyword_enabled, StyleUserInput::Enabled },
|
||||
{ eCSSKeyword_auto, StyleUserInput::Auto },
|
||||
{ eCSSKeyword_UNKNOWN, -1 }
|
||||
};
|
||||
|
|
|
@ -205,7 +205,6 @@ enum class StyleUserSelect : uint8_t {
|
|||
// user-input
|
||||
enum class StyleUserInput : uint8_t {
|
||||
None,
|
||||
Enabled,
|
||||
Auto,
|
||||
};
|
||||
|
||||
|
|
|
@ -2632,7 +2632,7 @@ var gCSSProperties = {
|
|||
inherited: true,
|
||||
type: CSS_TYPE_LONGHAND,
|
||||
initial_values: [ "auto" ],
|
||||
other_values: [ "none", "enabled" ],
|
||||
other_values: [ "none" ],
|
||||
invalid_values: []
|
||||
},
|
||||
"-moz-user-modify": {
|
||||
|
|
Загрузка…
Ссылка в новой задаче