Bug 1472917 - Fix a couple of typos in transform interpolation tests; r=hiro
Depends on D9182
Differential Revision:
https://phabricator.services.mozilla.com/D9183
--- a/dom/animation/test/style/test_interpolation-from-interpolatematrix-to-none.html
+++ b/dom/animation/test/style/test_interpolation-from-interpolatematrix-to-none.html
@@ -32,12 +32,12 @@ test(function(t) {
Math.sin(Math.PI / 8) + ',' +
-Math.sin(Math.PI / 8) + ',' +
Math.cos(Math.PI / 8) + ',' +
'25, 0)';
assert_matrix_equals(getComputedStyle(target).transform,
interpolated_matrix,
'the expected matrix from interpolatematrix(' +
'translateX(100px), rotate(90deg), 0.5) to none at 50%');
-}, 'Test interpolation from interpolatmatrix to none at 50%');
+}, 'Test interpolation from interpolatematrix to none at 50%');
</script>
</html>
--- a/testing/web-platform/tests/web-animations/animation-model/animation-types/property-types.js
+++ b/testing/web-platform/tests/web-animations/animation-model/animation-types/property-types.js
@@ -1468,17 +1468,17 @@ const transformListType = {
100 * Math.cos(Math.PI / 2),
100 * Math.sin(Math.PI / 2) ] },
{ time: 1000, expected: [ Math.cos(Math.PI / 2),
Math.sin(Math.PI / 2),
-Math.sin(Math.PI / 2),
Math.cos(Math.PI / 2),
100 * Math.cos(Math.PI / 2),
100 * Math.sin(Math.PI / 2) ] }]);
- }, `${property}: rotate on roate and translate`);
+ }, `${property}: rotate on rotate and translate`);
test(t => {
const idlName = propertyToIDL(property);
const target = createTestElement(t, setup);
target.style[idlName] = 'matrix(0, 1, -1, 0, 0, 0)';
const animation = // Same matrices as above.
target.animate({ [idlName]: [ 'matrix(1, 0, 0, 1, 100, 0)',
'matrix(1, 0, 0, 1, 200, 0)' ] },