mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
style: Explicitly specify animation_value_type for scroll-padding.
Otherwise the Trait for clamping negative animation value isn't generated thus negative animating results are exposed in computed values. Differential Revision: https://phabricator.services.mozilla.com/D21153
This commit is contained in:
parent
197065f6bc
commit
52db71c0bf
1 changed files with 1 additions and 1 deletions
|
@ -39,6 +39,6 @@
|
||||||
logical=side[1],
|
logical=side[1],
|
||||||
logical_group="scroll-padding",
|
logical_group="scroll-padding",
|
||||||
spec="https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-%s" % side[0],
|
spec="https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-%s" % side[0],
|
||||||
animation_value_type="ComputedValue",
|
animation_value_type="NonNegativeLengthPercentageOrAuto",
|
||||||
)}
|
)}
|
||||||
% endfor
|
% endfor
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue