diff --git a/servo/components/style/properties/longhand/position.mako.rs b/servo/components/style/properties/longhand/position.mako.rs index 3692ddb0ac06..8d04c8eba8b0 100644 --- a/servo/components/style/properties/longhand/position.mako.rs +++ b/servo/components/style/properties/longhand/position.mako.rs @@ -257,7 +257,6 @@ ${helpers.predefined_type("object-position", "computed::NonNegativeLengthOrPercentage::zero()", spec="https://drafts.csswg.org/css-grid/#propdef-grid-%s-gap" % kind, animation_value_type="NonNegativeLengthOrPercentage", - gecko_pref="layout.css.grid.enabled", products="gecko")} % for range in ["start", "end"]: @@ -267,7 +266,6 @@ ${helpers.predefined_type("object-position", animation_value_type="discrete", spec="https://drafts.csswg.org/css-grid/#propdef-grid-%s-%s" % (kind, range), products="gecko", - gecko_pref="layout.css.grid.enabled", boxed=True)} % endfor @@ -279,7 +277,6 @@ ${helpers.predefined_type("object-position", animation_value_type="discrete", spec="https://drafts.csswg.org/css-grid/#propdef-grid-auto-%ss" % kind, products="gecko", - gecko_pref="layout.css.grid.enabled", boxed=True)} ${helpers.predefined_type("grid-template-%ss" % kind, @@ -288,7 +285,6 @@ ${helpers.predefined_type("object-position", products="gecko", spec="https://drafts.csswg.org/css-grid/#propdef-grid-template-%ss" % kind, boxed=True, - gecko_pref="layout.css.grid.enabled", animation_value_type="discrete")} % endfor @@ -298,7 +294,6 @@ ${helpers.predefined_type("grid-auto-flow", initial_value="computed::GridAutoFlow::row()", products="gecko", animation_value_type="discrete", - gecko_pref="layout.css.grid.enabled", spec="https://drafts.csswg.org/css-grid/#propdef-grid-auto-flow")} ${helpers.predefined_type("grid-template-areas", @@ -306,6 +301,5 @@ ${helpers.predefined_type("grid-template-areas", initial_value="computed::GridTemplateAreas::none()", products="gecko", animation_value_type="discrete", - gecko_pref="layout.css.grid.enabled", boxed=True, spec="https://drafts.csswg.org/css-grid/#propdef-grid-template-areas")} diff --git a/servo/components/style/properties/shorthand/position.mako.rs b/servo/components/style/properties/shorthand/position.mako.rs index 36f2db782367..0ee37c1a9df5 100644 --- a/servo/components/style/properties/shorthand/position.mako.rs +++ b/servo/components/style/properties/shorthand/position.mako.rs @@ -103,7 +103,6 @@ <%helpers:shorthand name="grid-gap" sub_properties="grid-row-gap grid-column-gap" - gecko_pref="layout.css.grid.enabled" spec="https://drafts.csswg.org/css-grid/#propdef-grid-gap" products="gecko"> use properties::longhands::{grid_row_gap, grid_column_gap}; @@ -135,7 +134,6 @@ % for kind in ["row", "column"]: <%helpers:shorthand name="grid-${kind}" sub_properties="grid-${kind}-start grid-${kind}-end" - gecko_pref="layout.css.grid.enabled" spec="https://drafts.csswg.org/css-grid/#propdef-grid-${kind}" products="gecko"> use values::specified::GridLine; @@ -175,7 +173,6 @@ % endfor <%helpers:shorthand name="grid-area" - gecko_pref="layout.css.grid.enabled" sub_properties="grid-row-start grid-row-end grid-column-start grid-column-end" spec="https://drafts.csswg.org/css-grid/#propdef-grid-area" products="gecko"> @@ -241,7 +238,6 @@ <%helpers:shorthand name="grid-template" - gecko_pref="layout.css.grid.enabled" sub_properties="grid-template-rows grid-template-columns grid-template-areas" spec="https://drafts.csswg.org/css-grid/#propdef-grid-template" products="gecko"> @@ -463,7 +459,6 @@ <%helpers:shorthand name="grid" - gecko_pref="layout.css.grid.enabled" sub_properties="grid-template-rows grid-template-columns grid-template-areas grid-auto-rows grid-auto-columns grid-auto-flow" spec="https://drafts.csswg.org/css-grid/#propdef-grid"