style: Add support for parsing the contain-intrinsic-size property from the CSS-sizing specification

Differential Revision: https://phabricator.services.mozilla.com/D151001
This commit is contained in:
Ziran Sun 2022-07-06 11:47:51 +00:00 committed by Martin Robinson
parent b0693b2f4d
commit 6fec9d6f8c
7 changed files with 101 additions and 3 deletions

View file

@ -861,3 +861,12 @@ ${helpers.two_properties_shorthand(
engines="gecko servo",
spec="https://drafts.csswg.org/css-logical/#propdef-inset-inline"
)}
${helpers.two_properties_shorthand(
"contain-intrinsic-size",
"contain-intrinsic-width",
"contain-intrinsic-height",
engines="gecko",
gecko_pref="layout.css.contain-intrinsic-size.enabled",
spec="https://drafts.csswg.org/css-sizing-4/#intrinsic-size-override",
)}