DescriptionWeb Animations API: Sort keyframes by offset
EffectInput::convert() was not sorting keyframe offsets properly.
This change updates the conversion code to match spec behaviour [1].
Keyframes that are not loosely sorted and have keyframes with missing
offsets will now throw an InvalidModificationError DOMException.
Null offsets are now properly ignored instead of being interpreted as 0.
Original patch by ericwilligers [2].
This patch uses ScriptValue instead of v8::Value.
[1] https://dvcs.w3.org/hg/FXTF/diff/b5b53c344189/web-animations/index.html
[2] https://codereview.chromium.org/251463003/
BUG=363569
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172864
Patch Set 1 #
Total comments: 4
Patch Set 2 : isnan #
Messages
Total messages: 6 (0 generated)
|