Skip to content
Permalink
Browse files

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
  • Loading branch information...
hiikezoe authored and emilio committed Feb 26, 2019
1 parent 197065f commit 52db71c0bf6d6e5bb65273b9add31a19f7658ed2
Showing with 1 addition and 1 deletion.
  1. +1 −1 components/style/properties/longhands/padding.mako.rs
@@ -39,6 +39,6 @@
logical=side[1],
logical_group="scroll-padding",
spec="https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-%s" % side[0],
animation_value_type="ComputedValue",
animation_value_type="NonNegativeLengthPercentageOrAuto",
)}
% endfor

0 comments on commit 52db71c

Please sign in to comment.
You can’t perform that action at this time.