Bug 1311257 - Add an FFI function that returns an AnimationValue for a given nsCSSPropertyID from computed values. r=heycam

When we compose style for a given nsCSSPropertyID in the case where
we have no specified values in target keyframe, we use this AnimationValue
for composition as if it's specified.

MozReview-Commit-ID: 2CTLIGgeLIO

--HG--
extra : rebase_source : 3be5bdaf3d226ff004bb0af0f832e5af88f15b6d
This commit is contained in:
Hiroyuki Ikezoe 2017-04-06 10:34:50 +09:00
Родитель 3f28d7ec76
Коммит 88423b4e0b
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -133,6 +133,10 @@ SERVO_BINDING_FUNC(Servo_AnimationValueMap_Push, void,
RawServoAnimationValueMapBorrowed,
nsCSSPropertyID property,
RawServoAnimationValueBorrowed value)
SERVO_BINDING_FUNC(Servo_ComputedValues_ExtractAnimationValue,
RawServoAnimationValueStrong,
ServoComputedValuesBorrowed computed_values,
nsCSSPropertyID property)
// AnimationValues handling
SERVO_BINDING_FUNC(Servo_AnimationValues_Interpolate,