Skip to content

Commit

Permalink
Updated transform-interpolation-computed-value.html with missing cases
Browse files Browse the repository at this point in the history
Bug: 1181086
Change-Id: I155c8c6d707899d2260b60bcaea912b631bc0b44
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2909362
Reviewed-by: David Baron <dbaron@chromium.org>
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Commit-Queue: Olga Gerchikov <gerchiko@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#886075}
  • Loading branch information
ogerchikov authored and chromium-wpt-export-bot committed May 24, 2021
1 parent 19c8f75 commit 3d3e869
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@
interpolation_test('translateX(50px)', 'translateZ(50px)', 'translate3d(25px, 0px, 25px)');
interpolation_test('translateZ(50px)', 'translateX(50px)', 'translate3d(25px, 0px, 25px)');
interpolation_test('translateZ(-50px)','translateZ(50px)', 'translateZ(0px)');
interpolation_test('translate(0%)', 'translate(50%)', 'translate(25%)');
interpolation_test('translate(50%)', 'translate(100%, 50%)', 'translate(75%, 25%)');
interpolation_test('translate3d(0,0,-50px)','translateZ(50px)', 'translate3d(0px, 0px, 0px)');

interpolation_test('rotate(30deg)', 'rotate(90deg)', 'rotate(60deg)');
Expand All @@ -60,6 +62,7 @@
interpolation_test('rotate(0deg)', 'rotateX(90deg)', 'rotate3d(1, 0, 0, 45deg)');

interpolation_test('scale(1)', 'scale(2)', 'scale(1.5)');
interpolation_test('scale(1, 3)', 'scale(2)', 'scale(1.5, 2.5)');
interpolation_test('scaleX(1)', 'scaleX(2)', 'scaleX(1.5)');
interpolation_test('scaleY(1)', 'scaleY(2)', 'scaleY(1.5)');
interpolation_test('scaleZ(1)', 'scaleZ(2)', 'scaleZ(1.5)');
Expand Down

0 comments on commit 3d3e869

Please sign in to comment.