Bug 1906944 - Remove Servo legacy_layout preference guards r=emilio

Differential Revision: https://phabricator.services.mozilla.com/D216078
This commit is contained in:
Martin Robinson 2024-07-10 09:12:34 +00:00
parent 29be47891c
commit 560183d420
12 changed files with 0 additions and 20 deletions

View File

@ -139,7 +139,6 @@ ${helpers.single_keyword(
"-servo-overflow-clip-box",
"padding-box content-box",
engines="servo",
servo_pref="layout.legacy_layout",
animation_value_type="none",
enabled_in="ua",
spec="Internal, not web-exposed, \

View File

@ -20,7 +20,6 @@ ${helpers.predefined_type(
"counter-increment",
"CounterIncrement",
engines="gecko servo",
servo_pref="layout.legacy_layout",
initial_value="Default::default()",
animation_value_type="discrete",
spec="https://drafts.csswg.org/css-lists/#propdef-counter-increment",
@ -32,7 +31,6 @@ ${helpers.predefined_type(
"counter-reset",
"CounterReset",
engines="gecko servo",
servo_pref="layout.legacy_layout",
initial_value="Default::default()",
animation_value_type="discrete",
spec="https://drafts.csswg.org/css-lists-3/#propdef-counter-reset",

View File

@ -21,7 +21,6 @@ ${helpers.predefined_type(
"BoxShadow",
None,
engines="gecko servo",
servo_pref="layout.legacy_layout",
vector=True,
simple_vector_bindings=True,
animation_value_type="AnimatedBoxShadowList",

View File

@ -38,7 +38,6 @@ ${helpers.single_keyword(
"direction",
"ltr rtl",
engines="gecko servo",
servo_pref="layout.legacy_layout",
animation_value_type="none",
spec="https://drafts.csswg.org/css-writing-modes/#propdef-direction",
gecko_enum_prefix="StyleDirection",

View File

@ -8,7 +8,6 @@ ${helpers.single_keyword(
"border-collapse",
"separate collapse",
engines="gecko servo",
servo_pref="layout.legacy_layout",
gecko_enum_prefix="StyleBorderCollapse",
animation_value_type="discrete",
spec="https://drafts.csswg.org/css-tables/#propdef-border-collapse",
@ -20,7 +19,6 @@ ${helpers.single_keyword(
"empty-cells",
"show hide",
engines="gecko servo",
servo_pref="layout.legacy_layout",
gecko_enum_prefix="StyleEmptyCells",
animation_value_type="discrete",
spec="https://drafts.csswg.org/css-tables/#propdef-empty-cells",
@ -33,7 +31,6 @@ ${helpers.predefined_type(
"table::CaptionSide",
"computed::table::CaptionSide::Top",
engines="gecko servo",
servo_pref="layout.legacy_layout",
animation_value_type="discrete",
spec="https://drafts.csswg.org/css-tables/#propdef-caption-side",
servo_restyle_damage="rebuild_and_reflow",

View File

@ -22,7 +22,6 @@ ${helpers.predefined_type(
"TextTransform",
"computed::TextTransform::none()",
engines="gecko servo",
servo_pref="layout.legacy_layout",
animation_value_type="discrete",
spec="https://drafts.csswg.org/css-text/#propdef-text-transform",
servo_restyle_damage="rebuild_and_reflow",
@ -71,7 +70,6 @@ ${helpers.predefined_type(
"OverflowWrap",
"computed::OverflowWrap::Normal",
engines="gecko servo",
servo_pref="layout.legacy_layout",
animation_value_type="discrete",
spec="https://drafts.csswg.org/css-text/#propdef-overflow-wrap",
aliases="word-wrap",
@ -84,7 +82,6 @@ ${helpers.predefined_type(
"WordBreak",
"computed::WordBreak::Normal",
engines="gecko servo",
servo_pref="layout.legacy_layout",
animation_value_type="discrete",
spec="https://drafts.csswg.org/css-text/#propdef-word-break",
servo_restyle_damage="rebuild_and_reflow",
@ -162,7 +159,6 @@ ${helpers.predefined_type(
"SimpleShadow",
None,
engines="gecko servo",
servo_pref="layout.legacy_layout",
vector=True,
vector_animation_type="with_zero",
animation_value_type="AnimatedTextShadowList",

View File

@ -8,7 +8,6 @@ ${helpers.single_keyword(
"list-style-position",
"outside inside",
engines="gecko servo",
servo_pref="layout.legacy_layout",
gecko_enum_prefix="StyleListStylePosition",
animation_value_type="discrete",
spec="https://drafts.csswg.org/css-lists/#propdef-list-style-position",
@ -70,7 +69,6 @@ ${helpers.predefined_type(
"Quotes",
"computed::Quotes::get_initial_value()",
engines="gecko servo",
servo_pref="layout.legacy_layout",
animation_value_type="discrete",
spec="https://drafts.csswg.org/css-content/#propdef-quotes",
servo_restyle_damage="rebuild_and_reflow",

View File

@ -497,7 +497,6 @@ ${helpers.predefined_type(
"AspectRatio",
"computed::AspectRatio::auto()",
engines="gecko servo",
servo_pref="layout.legacy_layout",
animation_value_type="ComputedValue",
spec="https://drafts.csswg.org/css-sizing-4/#aspect-ratio",
servo_restyle_damage="reflow",

View File

@ -8,7 +8,6 @@ ${helpers.single_keyword(
"table-layout",
"auto fixed",
engines="gecko servo",
servo_pref="layout.legacy_layout",
gecko_ffi_name="mLayoutStrategy",
animation_value_type="discrete",
gecko_enum_prefix="StyleTableLayout",

View File

@ -9,7 +9,6 @@ ${helpers.predefined_type(
"TextOverflow",
"computed::TextOverflow::get_initial_value()",
engines="gecko servo",
servo_pref="layout.legacy_layout",
animation_value_type="discrete",
boxed=True,
spec="https://drafts.csswg.org/css-ui/#propdef-text-overflow",
@ -21,7 +20,6 @@ ${helpers.single_keyword(
"unicode-bidi",
"normal embed isolate bidi-override isolate-override plaintext",
engines="gecko servo",
servo_pref="layout.legacy_layout",
gecko_enum_prefix="StyleUnicodeBidi",
animation_value_type="none",
spec="https://drafts.csswg.org/css-writing-modes/#propdef-unicode-bidi",

View File

@ -279,7 +279,6 @@ pub fn parse_border<'i, 't>(
<%helpers:shorthand
name="border-image"
engines="gecko servo"
servo_pref="layout.legacy_layout",
sub_properties="border-image-outset
border-image-repeat border-image-slice border-image-source border-image-width"
extra_prefixes="moz:layout.css.prefixes.border-image webkit"

View File

@ -322,7 +322,6 @@
<%helpers:shorthand name="font-variant"
engines="gecko servo"
servo_pref="layout.legacy_layout",
sub_properties="font-variant-caps
${'font-variant-alternates' if engine == 'gecko' else ''}
${'font-variant-east-asian' if engine == 'gecko' else ''}