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 500532 cd10f03f66401805ad95d71319acd3ec8fe95dca
parent 500531 bad2ba4312cc3f385cd018527649c2c8065bcd40
child 500533 e7aff1bbcd20a54914a046ead912bcf21cf86e76
push id1864
push userffxbld-merge
push dateMon, 03 Dec 2018 15:51:40 +0000
treeherdermozilla-release@f040763d99ad [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewershiro
bugs1472917
milestone64.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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)' ] },