Bug 1646811 - Enable `order` in layout-2020.
authorSimon Sapin <simon.sapin@exyr.org>
Thu, 18 Jun 2020 18:11:47 +0000
changeset 536344 1743d20e0d029ea47bb57884c678afae4c15b953
parent 536343 d7a1aeb69518a871f120d0d7e728df9be528e30c
child 536345 400228984077938439d5e7520341ca3a44e732ea
push id37520
push userdluca@mozilla.com
push dateFri, 19 Jun 2020 04:04:08 +0000
treeherdermozilla-central@d1a4f9157858 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1646811
milestone79.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1646811 - Enable `order` in layout-2020. Depends on D80231 Differential Revision: https://phabricator.services.mozilla.com/D80232
servo/components/style/properties/longhands/position.mako.rs
--- a/servo/components/style/properties/longhands/position.mako.rs
+++ b/servo/components/style/properties/longhands/position.mako.rs
@@ -261,17 +261,18 @@ macro_rules! impl_align_conversions {
     impl_align_conversions!(crate::values::specified::align::SelfAlignment);
 % endif
 
 // https://drafts.csswg.org/css-flexbox/#propdef-order
 ${helpers.predefined_type(
     "order",
     "Integer",
     "0",
-    engines="gecko servo-2013",
+    engines="gecko servo-2013 servo-2020",
+    servo_2020_pref="layout.flexbox.enabled",
     extra_prefixes="webkit",
     animation_value_type="ComputedValue",
     spec="https://drafts.csswg.org/css-flexbox/#order-property",
     servo_restyle_damage="reflow",
 )}
 
 ${helpers.predefined_type(
     "flex-basis",