mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: make contain-intrinsic-size *animatable*
Differential Revision: https://phabricator.services.mozilla.com/D151231
This commit is contained in:
parent
af058e6332
commit
461850d5e6
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -88,6 +88,8 @@ impl<L> ToAnimatedZero for VerticalAlign<L> {
|
|||
PartialEq,
|
||||
SpecifiedValueInfo,
|
||||
ToComputedValue,
|
||||
ToAnimatedValue,
|
||||
ToAnimatedZero,
|
||||
ToResolvedValue,
|
||||
ToShmem,
|
||||
)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue