Bug 1472917 - Fix a couple of typos in transform interpolation tests; r=hiro
authorBrian Birtles <birtles@gmail.com>
Fri, 19 Oct 2018 04:40:54 +0000
changeset 490428 cd10f03f66401805ad95d71319acd3ec8fe95dca
parent 490427 bad2ba4312cc3f385cd018527649c2c8065bcd40
child 490429 e7aff1bbcd20a54914a046ead912bcf21cf86e76
push id247
push userfmarier@mozilla.com
push dateSat, 27 Oct 2018 01:06:44 +0000
reviewershiro
bugs1472917
milestone64.0a1
Bug 1472917 - Fix a couple of typos in transform interpolation tests; r=hiro Depends on D9182 Differential Revision: https://phabricator.services.mozilla.com/D9183
dom/animation/test/style/test_interpolation-from-interpolatematrix-to-none.html
testing/web-platform/tests/web-animations/animation-model/animation-types/property-types.js
--- 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)' ] },