mirror of
https://github.com/servo/servo.git
synced 2025-08-23 22:35:33 +01:00
Update web-platform-tests to revision 9d5d9aa80785d9726ed0a5eaab1a8d144fd4b560
This commit is contained in:
parent
1343c7de50
commit
560e025ce7
68 changed files with 2084 additions and 260 deletions
|
@ -1068,6 +1068,23 @@ const transformListType = {
|
|||
{ time: 500, expected: [ 1, 1, 1, 1, 100, 100 ] },
|
||||
{ time: 1000, expected: [ 1, 1, 1, 1, 100, 100 ] }]);
|
||||
}, `${property}: non-invertible matrices in mismatched transform lists`);
|
||||
|
||||
test(t => {
|
||||
const idlName = propertyToIDL(property);
|
||||
const target = createTestElement(t, setup);
|
||||
const animation = target.animate(
|
||||
{
|
||||
[idlName]: ['perspective(0)', 'perspective(10px)'],
|
||||
},
|
||||
1000
|
||||
);
|
||||
testAnimationSampleMatrices(animation, idlName,
|
||||
[{ time: 500, expected: [ 1, 0, 0, 0,
|
||||
0, 1, 0, 0,
|
||||
0, 0, 1, -0.05,
|
||||
0, 0, 0, 1 ] }]);
|
||||
}, `${property}: perspective`);
|
||||
|
||||
},
|
||||
|
||||
testAddition: function(property, setup) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue