Make the choice of layout runtime setting

Co-authored-by: Samson <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
Martin Robinson 2023-06-28 10:07:08 +02:00
parent f11c6045e3
commit d31cdb682f
No known key found for this signature in database
GPG key ID: D56AA4FA55EFE6F8
262 changed files with 1740 additions and 3700 deletions

View file

@ -5,8 +5,8 @@
<%namespace name="helpers" file="/helpers.mako.rs" />
<%helpers:shorthand name="flex-flow"
engines="gecko servo-2013 servo-2020",
servo_2020_pref="layout.flexbox.enabled",
engines="gecko servo",
servo_pref="layout.flexbox.enabled",
sub_properties="flex-direction flex-wrap"
extra_prefixes="webkit"
derive_serialize="True"
@ -46,8 +46,8 @@
</%helpers:shorthand>
<%helpers:shorthand name="flex"
engines="gecko servo-2013 servo-2020",
servo_2020_pref="layout.flexbox.enabled",
engines="gecko servo",
servo_pref="layout.flexbox.enabled",
sub_properties="flex-grow flex-shrink flex-basis"
extra_prefixes="webkit"
derive_serialize="True"
@ -839,7 +839,7 @@ ${helpers.four_sides_shorthand(
"inset",
"%s",
"specified::LengthPercentageOrAuto::parse",
engines="gecko servo-2013 servo-2020",
engines="gecko servo",
spec="https://drafts.csswg.org/css-logical/#propdef-inset",
allow_quirks="No",
)}
@ -849,7 +849,7 @@ ${helpers.two_properties_shorthand(
"inset-block-start",
"inset-block-end",
"specified::LengthPercentageOrAuto::parse",
engines="gecko servo-2013 servo-2020",
engines="gecko servo",
spec="https://drafts.csswg.org/css-logical/#propdef-inset-block"
)}
@ -858,6 +858,6 @@ ${helpers.two_properties_shorthand(
"inset-inline-start",
"inset-inline-end",
"specified::LengthPercentageOrAuto::parse",
engines="gecko servo-2013 servo-2020",
engines="gecko servo",
spec="https://drafts.csswg.org/css-logical/#propdef-inset-inline"
)}