Skip to content

Commit d9d5725

Browse files
mr-cheffyemilio
authored andcommitted
Bug 1507381 - Stop exposing moz-window-dragging to content r=firefox-style-system-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D258712
1 parent d9160bb commit d9d5725

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

layout/style/test/property_database.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9842,14 +9842,6 @@ var gCSSProperties = {
98429842
other_values: ["non-scaling-stroke"],
98439843
invalid_values: ["none non-scaling-stroke"],
98449844
},
9845-
"-moz-window-dragging": {
9846-
domProp: "MozWindowDragging",
9847-
inherited: false,
9848-
type: CSS_TYPE_LONGHAND,
9849-
initial_values: ["default"],
9850-
other_values: ["drag", "no-drag"],
9851-
invalid_values: ["none"],
9852-
},
98539845
"accent-color": {
98549846
domProp: "accentColor",
98559847
inherited: true,

layout/style/test/test_non_content_accessible_properties.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"-moz-window-transform",
1212
"-moz-default-appearance",
1313
"-moz-user-focus",
14+
"-moz-window-dragging",
1415
];
1516

1617
const UA_ONLY_PROPERTIES = [

servo/components/style/properties/longhands/ui.mako.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ ${helpers.predefined_type(
3939
affects="",
4040
)}
4141
42-
// TODO(emilio): This probably should be hidden from content.
4342
${helpers.single_keyword(
4443
"-moz-window-dragging",
4544
"default drag no-drag",
4645
engines="gecko",
4746
gecko_ffi_name="mWindowDragging",
4847
gecko_enum_prefix="StyleWindowDragging",
4948
animation_type="discrete",
49+
enabled_in="chrome",
5050
spec="None (Nonstandard Firefox-only property)",
5151
affects="paint",
5252
)}

0 commit comments

Comments
 (0)