diff --git a/components/style/properties/longhands/box.mako.rs b/components/style/properties/longhands/box.mako.rs index 815dcab313e..01c718fad41 100644 --- a/components/style/properties/longhands/box.mako.rs +++ b/components/style/properties/longhands/box.mako.rs @@ -453,7 +453,6 @@ ${helpers.predefined_type( "ScrollSnapAlign", "computed::ScrollSnapAlign::none()", engines="gecko", - gecko_pref="layout.css.scroll-snap-v1.enabled", spec="https://drafts.csswg.org/css-scroll-snap-1/#scroll-snap-align", animation_value_type="discrete", )} diff --git a/components/style/properties/longhands/margin.mako.rs b/components/style/properties/longhands/margin.mako.rs index 4ad056f05b2..80c765faab7 100644 --- a/components/style/properties/longhands/margin.mako.rs +++ b/components/style/properties/longhands/margin.mako.rs @@ -34,7 +34,6 @@ "Length", "computed::Length::zero()", engines="gecko", - gecko_pref="layout.css.scroll-snap-v1.enabled", logical=side[1], logical_group="scroll-margin", spec="https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-%s" % side[0], diff --git a/components/style/properties/longhands/padding.mako.rs b/components/style/properties/longhands/padding.mako.rs index 3089c0acb92..79668df7bbf 100644 --- a/components/style/properties/longhands/padding.mako.rs +++ b/components/style/properties/longhands/padding.mako.rs @@ -33,7 +33,6 @@ "NonNegativeLengthPercentageOrAuto", "computed::NonNegativeLengthPercentageOrAuto::auto()", engines="gecko", - gecko_pref="layout.css.scroll-snap-v1.enabled", logical=side[1], logical_group="scroll-padding", spec="https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-%s" % side[0], diff --git a/components/style/properties/shorthands/margin.mako.rs b/components/style/properties/shorthands/margin.mako.rs index 5d5f2101563..128fc5fb303 100644 --- a/components/style/properties/shorthands/margin.mako.rs +++ b/components/style/properties/shorthands/margin.mako.rs @@ -38,7 +38,6 @@ ${helpers.four_sides_shorthand( "specified::Length::parse", engines="gecko", spec="https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin", - gecko_pref="layout.css.scroll-snap-v1.enabled", )} ${helpers.two_properties_shorthand( @@ -48,7 +47,6 @@ ${helpers.two_properties_shorthand( "specified::Length::parse", engines="gecko", spec="https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-block", - gecko_pref="layout.css.scroll-snap-v1.enabled", )} ${helpers.two_properties_shorthand( @@ -58,5 +56,4 @@ ${helpers.two_properties_shorthand( "specified::Length::parse", engines="gecko", spec="https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-inline", - gecko_pref="layout.css.scroll-snap-v1.enabled", )} diff --git a/components/style/properties/shorthands/padding.mako.rs b/components/style/properties/shorthands/padding.mako.rs index 02db51a88d6..4d2ea361e15 100644 --- a/components/style/properties/shorthands/padding.mako.rs +++ b/components/style/properties/shorthands/padding.mako.rs @@ -36,7 +36,6 @@ ${helpers.four_sides_shorthand( "scroll-padding-%s", "specified::NonNegativeLengthPercentageOrAuto::parse", engines="gecko", - gecko_pref="layout.css.scroll-snap-v1.enabled", spec="https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding" )} @@ -46,7 +45,6 @@ ${helpers.two_properties_shorthand( "scroll-padding-block-end", "specified::NonNegativeLengthPercentageOrAuto::parse", engines="gecko", - gecko_pref="layout.css.scroll-snap-v1.enabled", spec="https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-block" )} @@ -56,7 +54,6 @@ ${helpers.two_properties_shorthand( "scroll-padding-inline-end", "specified::NonNegativeLengthPercentageOrAuto::parse", engines="gecko", - gecko_pref="layout.css.scroll-snap-v1.enabled", spec="https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-inline" )}