diff --git a/components/style/properties/longhand/pointing.mako.rs b/components/style/properties/longhand/pointing.mako.rs index a00b2b8207d..7068a951b0e 100644 --- a/components/style/properties/longhand/pointing.mako.rs +++ b/components/style/properties/longhand/pointing.mako.rs @@ -54,3 +54,15 @@ // is nonstandard, slated for CSS4-UI. // TODO(pcwalton): SVG-only values. ${helpers.single_keyword("pointer-events", "auto none")} + +${helpers.single_keyword("-moz-user-input", "none enabled disabled", products="gecko", + gecko_ffi_name="mUserInput", gecko_constant_prefix="NS_STYLE_USER_INPUT")} + +${helpers.single_keyword("-moz-user-modify", "read-only read-write write-only", products="gecko", + gecko_ffi_name="mUserModify", gecko_constant_prefix="NS_STYLE_USER_MODIFY")} + +${helpers.single_keyword("-moz-user-focus", + "ignore normal select-after select-before select-menu select-same select-all none", + products="gecko", + gecko_ffi_name="mUserFocus", + gecko_constant_prefix="NS_STYLE_USER_FOCUS")} diff --git a/components/style/properties/longhand/ui.mako.rs b/components/style/properties/longhand/ui.mako.rs index cb86d43bc2b..6e2fdb345fc 100644 --- a/components/style/properties/longhand/ui.mako.rs +++ b/components/style/properties/longhand/ui.mako.rs @@ -11,3 +11,6 @@ ${helpers.single_keyword("ime-mode", "normal auto active disabled inactive", products="gecko", gecko_ffi_name="mIMEMode")} + +${helpers.single_keyword("-moz-user-select", "auto text none all", products="gecko", + gecko_ffi_name="mUserSelect", gecko_constant_prefix="NS_STYLE_USER_SELECT")}