diff --git a/components/style/properties/longhands/outline.mako.rs b/components/style/properties/longhands/outline.mako.rs index 5c3dd15cbb6..e5cd09fbe82 100644 --- a/components/style/properties/longhands/outline.mako.rs +++ b/components/style/properties/longhands/outline.mako.rs @@ -51,6 +51,7 @@ ${helpers.predefined_type( engines="gecko", boxed=True, animation_value_type="BorderCornerRadius", + gecko_pref="layout.css.moz-outline-radius.enabled", spec="Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/-moz-outline-radius)", )} % endfor diff --git a/components/style/properties/shorthands/outline.mako.rs b/components/style/properties/shorthands/outline.mako.rs index 75b5fcb717b..db397498919 100644 --- a/components/style/properties/shorthands/outline.mako.rs +++ b/components/style/properties/shorthands/outline.mako.rs @@ -83,6 +83,7 @@ <%helpers:shorthand name="-moz-outline-radius" engines="gecko" + gecko_pref="layout.css.moz-outline-radius.enabled" sub_properties="${' '.join( '-moz-outline-radius-%s' % corner for corner in ['topleft', 'topright', 'bottomright', 'bottomleft']