style: Add a chrome-only -moz-box-layout: legacy | flex, and use that to implement flexbox emulation

Differential Revision: https://phabricator.services.mozilla.com/D154153
This commit is contained in:
Emilio Cobos Álvarez 2022-08-10 19:46:37 +00:00 committed by Martin Robinson
parent 4947dd027d
commit 648a6c14cf

View file

@ -45,6 +45,16 @@ ${helpers.single_keyword(
servo_restyle_damage="rebuild_and_reflow",
)}
${helpers.single_keyword(
"-moz-box-layout",
"legacy flex",
engines="gecko",
gecko_enum_prefix="StyleMozBoxLayout",
animation_value_type="none",
enabled_in="chrome",
spec="None (internal)",
)}
${helpers.single_keyword(
"text-orientation",
"mixed upright sideways",