Searched refs:parseTransform (Results 1 – 2 of 2) sorted by relevance
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/js/ |
D | transform-handler.js | 3 assert.deepEqual(parseTransform('skew(10deg) skew(12deg,45deg) skewX(0) skewY(1.5rad)'), [ 12 assert.deepEqual(parseTransform('scale(-2) scale(3,-4) scaleX(5) scaleY(-1) scaleZ(-3)'), [ 19 assert.deepEqual(parseTransform('scale3d(-2, 0, 7)'), 24 assert.deepEqual(parseTransform('rotate(10deg) rotateX(0) rotateY(1.5rad) rotateZ(50grad)'), [ 33 …assert.deepEqual(parseTransform('translate(20%, 30px) translate(30em, 40%) translate(50vw) transla… 39 assert.deepEqual(parseTransform('translateX(10px) translateX(20%) translateX(0)'), [ 44 assert.deepEqual(parseTransform('translateY(10px) translateY(20%) translateY(0)'), [ 49 assert.deepEqual(parseTransform('translateZ(10px) translateZ(0)'), [ 53 …assert.deepEqual(parseTransform('translate3d(10px, 20px, 30px) translate3d(0, 40%, 0) translate3d(… 61 assert.isUndefined(parseTransform('translate(10px')); [all …]
|
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/ |
D | transform-handler.js | 59 function parseTransform(string) { function 257 scope.addPropertiesHandler(parseTransform, mergeTransforms, ['transform']); 260 testing.parseTransform = parseTransform;
|