mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update web-platform-tests to revision 59cec4f843d5c86d5d2e99d636e465e09807cafb
This commit is contained in:
parent
e823d1623b
commit
b64dc1ed97
69 changed files with 607 additions and 198 deletions
|
@ -618,14 +618,14 @@ test(t => {
|
|||
|
||||
test(t => {
|
||||
const div = addDiv(t);
|
||||
div.style.animation = 'anim-custom-property-in-keyframe 100s';
|
||||
div.style.animation = 'anim-custom-property-in-keyframe 100s steps(2, start)';
|
||||
|
||||
const frames = getKeyframes(div);
|
||||
|
||||
const expected = [
|
||||
{ offset: 0, computedOffset: 0, easing: "ease", composite: "auto",
|
||||
{ offset: 0, computedOffset: 0, easing: "steps(2, start)", composite: "auto",
|
||||
color: "rgb(0, 0, 0)" },
|
||||
{ offset: 1, computedOffset: 1, easing: "ease", composite: "auto",
|
||||
{ offset: 1, computedOffset: 1, easing: "steps(2, start)", composite: "auto",
|
||||
color: "rgb(0, 255, 0)" },
|
||||
];
|
||||
assert_frame_lists_equal(frames, expected);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue