From 11a544efffc4b72b5b67d22dd62da5acd484bb1c Mon Sep 17 00:00:00 2001 From: Nico Burns Date: Mon, 18 Mar 2024 14:23:40 +1300 Subject: [PATCH] Support start and end values for align- and justify-content properties --- style/properties/longhands/position.mako.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/style/properties/longhands/position.mako.rs b/style/properties/longhands/position.mako.rs index 5ea9d0343..16d74d5aa 100644 --- a/style/properties/longhands/position.mako.rs +++ b/style/properties/longhands/position.mako.rs @@ -100,7 +100,7 @@ ${helpers.single_keyword( // FIXME: Update Servo to support the same Syntax as Gecko. ${helpers.single_keyword( "justify-content", - "flex-start stretch flex-end center space-between space-around space-evenly", + "start flex-start stretch end flex-end center space-between space-around space-evenly", engines="servo", servo_pref="layout.flexbox.enabled", extra_prefixes="webkit", @@ -140,7 +140,7 @@ ${helpers.single_keyword( // FIXME: Update Servo to support the same Syntax as Gecko. ${helpers.single_keyword( "align-content", - "stretch flex-start flex-end center space-between space-around space-evenly", + "stretch start flex-start end flex-end center space-between space-around space-evenly", engines="servo", servo_pref="layout.flexbox.enabled", extra_prefixes="webkit",