mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
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:
parent
b0693b2f4d
commit
6fec9d6f8c
7 changed files with 101 additions and 3 deletions
|
@ -463,3 +463,18 @@ ${helpers.predefined_type(
|
|||
gecko_pref="layout.css.aspect-ratio.enabled",
|
||||
servo_restyle_damage="reflow",
|
||||
)}
|
||||
|
||||
% for (size, logical) in ALL_SIZES:
|
||||
// FIXME: Bug 1778296, "contain-intrinsic-*" properties should be animatable.
|
||||
${helpers.predefined_type(
|
||||
"contain-intrinsic-" + size,
|
||||
"ContainIntrinsicSize",
|
||||
"computed::ContainIntrinsicSize::None",
|
||||
engines="gecko",
|
||||
logical_group="contain-intrinsic-size",
|
||||
logical=logical,
|
||||
gecko_pref="layout.css.contain-intrinsic-size.enabled",
|
||||
spec="https://drafts.csswg.org/css-sizing-4/#intrinsic-size-override",
|
||||
animation_value_type="none",
|
||||
)}
|
||||
% endfor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue