mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 02:14:43 +00:00
Bug 1871745 - Hide -moz-user-focus from content. r=smaug
-moz-user-focus: none didn't do anything useful for non-XUL until bug 1868552. It seems nonetheless some sites specify it, which can cause compat issues. Let's hide this property from content, to avoid breaking those sites. Differential Revision: https://phabricator.services.mozilla.com/D197253
This commit is contained in:
parent
64ae07c26f
commit
61474d6767
@ -44,9 +44,6 @@ const testcases = [
|
||||
{
|
||||
property: "-moz-text-size-adjust"
|
||||
},
|
||||
{
|
||||
property: "-moz-user-focus"
|
||||
},
|
||||
{
|
||||
property: "-moz-user-input"
|
||||
},
|
||||
|
@ -103,6 +103,7 @@ const char* gInaccessibleProperties[] = {
|
||||
"-moz-min-font-size-ratio", // parsed by UA sheets only
|
||||
"-moz-box-collapse", // chrome-only internal properties
|
||||
"-moz-subtree-hidden-only-visually", // chrome-only internal properties
|
||||
"-moz-user-focus", // chrome-only internal properties
|
||||
"-moz-window-input-region-margin", // chrome-only internal properties
|
||||
"-moz-window-opacity", // chrome-only internal properties
|
||||
"-moz-window-transform", // chrome-only internal properties
|
||||
|
@ -3905,14 +3905,6 @@ var gCSSProperties = {
|
||||
other_values: ["preserve-3d"],
|
||||
invalid_values: [],
|
||||
},
|
||||
"-moz-user-focus": {
|
||||
domProp: "MozUserFocus",
|
||||
inherited: true,
|
||||
type: CSS_TYPE_LONGHAND,
|
||||
initial_values: ["normal"],
|
||||
other_values: ["none", "ignore"],
|
||||
invalid_values: [],
|
||||
},
|
||||
"-moz-user-input": {
|
||||
domProp: "MozUserInput",
|
||||
inherited: true,
|
||||
|
@ -23,6 +23,7 @@ const NON_CONTENT_ACCESSIBLE_PROPERTIES = [
|
||||
"-moz-inert",
|
||||
"-moz-control-character-visibility",
|
||||
"-moz-context-properties",
|
||||
"-moz-user-focus",
|
||||
];
|
||||
|
||||
function testInWin(win) {
|
||||
|
@ -74,6 +74,7 @@ ${helpers.single_keyword(
|
||||
gecko_enum_prefix="StyleUserFocus",
|
||||
animation_value_type="discrete",
|
||||
spec="Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/-moz-user-focus)",
|
||||
enabled_in="chrome",
|
||||
affects="",
|
||||
)}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user