mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +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:
|
% for (size, logical) in ALL_SIZES:
|
||||||
// FIXME: Bug 1778296, "contain-intrinsic-*" properties should be animatable.
|
|
||||||
${helpers.predefined_type(
|
${helpers.predefined_type(
|
||||||
"contain-intrinsic-" + size,
|
"contain-intrinsic-" + size,
|
||||||
"ContainIntrinsicSize",
|
"ContainIntrinsicSize",
|
||||||
|
@ -475,6 +474,6 @@ ${helpers.predefined_type(
|
||||||
logical=logical,
|
logical=logical,
|
||||||
gecko_pref="layout.css.contain-intrinsic-size.enabled",
|
gecko_pref="layout.css.contain-intrinsic-size.enabled",
|
||||||
spec="https://drafts.csswg.org/css-sizing-4/#intrinsic-size-override",
|
spec="https://drafts.csswg.org/css-sizing-4/#intrinsic-size-override",
|
||||||
animation_value_type="none",
|
animation_value_type="NonNegativeLength",
|
||||||
)}
|
)}
|
||||||
% endfor
|
% endfor
|
||||||
|
|
|
@ -88,6 +88,8 @@ impl<L> ToAnimatedZero for VerticalAlign<L> {
|
||||||
PartialEq,
|
PartialEq,
|
||||||
SpecifiedValueInfo,
|
SpecifiedValueInfo,
|
||||||
ToComputedValue,
|
ToComputedValue,
|
||||||
|
ToAnimatedValue,
|
||||||
|
ToAnimatedZero,
|
||||||
ToResolvedValue,
|
ToResolvedValue,
|
||||||
ToShmem,
|
ToShmem,
|
||||||
)]
|
)]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue