style: make contain-intrinsic-size *animatable*

Differential Revision: https://phabricator.services.mozilla.com/D151231
This commit is contained in:
Ziran Sun 2022-07-11 08:37:44 +00:00 committed by Martin Robinson
parent af058e6332
commit 461850d5e6
2 changed files with 3 additions and 2 deletions

View file

@ -465,7 +465,6 @@ ${helpers.predefined_type(
)}
% for (size, logical) in ALL_SIZES:
// FIXME: Bug 1778296, "contain-intrinsic-*" properties should be animatable.
${helpers.predefined_type(
"contain-intrinsic-" + size,
"ContainIntrinsicSize",
@ -475,6 +474,6 @@ ${helpers.predefined_type(
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",
animation_value_type="NonNegativeLength",
)}
% endfor

View file

@ -88,6 +88,8 @@ impl<L> ToAnimatedZero for VerticalAlign<L> {
PartialEq,
SpecifiedValueInfo,
ToComputedValue,
ToAnimatedValue,
ToAnimatedZero,
ToResolvedValue,
ToShmem,
)]