mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Update web-platform-tests to revision 10168e9a5d44efbc6e7d416d1d454eb9c9f1396c
This commit is contained in:
parent
c88dc51d03
commit
0e1caebaf4
791 changed files with 23381 additions and 5501 deletions
|
@ -12,14 +12,18 @@
|
|||
// ------------------------------
|
||||
|
||||
const gGoodKeyframeCompositeValueTests = [
|
||||
'replace', 'add', 'accumulate', undefined
|
||||
'replace', 'add', 'accumulate', null
|
||||
];
|
||||
|
||||
const gBadKeyframeCompositeValueTests = [
|
||||
'unrecognised', 'replace ', 'Replace'
|
||||
];
|
||||
|
||||
const gGoodOptionsCompositeValueTests = [
|
||||
'replace', 'add', 'accumulate'
|
||||
];
|
||||
|
||||
const gBadCompositeValueTests = [
|
||||
const gBadOptionsCompositeValueTests = [
|
||||
'unrecognised', 'replace ', 'Replace', null
|
||||
];
|
||||
|
||||
|
@ -50,9 +54,7 @@ const keyframe = (offset, props, easing='linear', composite) => {
|
|||
// Object.assign instead.
|
||||
const result = {};
|
||||
Object.assign(result, offset, props, { easing });
|
||||
if (composite) {
|
||||
result.composite = composite;
|
||||
}
|
||||
result.composite = composite || null;
|
||||
return result;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue