| Index: LayoutTests/web-animations-api/animations-responsive-translate.html
|
| diff --git a/LayoutTests/web-animations-api/animations-responsive-transform.html b/LayoutTests/web-animations-api/animations-responsive-translate.html
|
| similarity index 65%
|
| copy from LayoutTests/web-animations-api/animations-responsive-transform.html
|
| copy to LayoutTests/web-animations-api/animations-responsive-translate.html
|
| index 940b756d14a785265478eceeba5a0530f38aa106..1e4a7eb45cda4a3fe1333eb641eb3d6043c804f1 100644
|
| --- a/LayoutTests/web-animations-api/animations-responsive-transform.html
|
| +++ b/LayoutTests/web-animations-api/animations-responsive-translate.html
|
| @@ -12,11 +12,11 @@ var container = document.getElementById('container');
|
|
|
| test(function() {
|
| container.style.fontSize = '10px';
|
| - var player = element.animate([{transform: 'translateX(10em)'}, {transform: 'translateX(20em)'}], 10);
|
| + var player = element.animate([{translate: '1em 2em'}, {translate: '10em 20em'}], 10);
|
| player.pause();
|
| player.currentTime = 2;
|
| container.style.fontSize = '20px';
|
| - assert_equals(getComputedStyle(element).transform, 'matrix(1, 0, 0, 1, 240, 0)');
|
| -}, 'Transform responsive to font size changes');
|
| + assert_equals(getComputedStyle(element).translate, '56px 112px');
|
| +}, 'Translate responsive to font size changes');
|
|
|
| </script>
|
|
|