Chromium Code Reviews| Index: LayoutTests/animations/insert-composited-animation.html |
| diff --git a/LayoutTests/animations/composited-animation-style-update.html b/LayoutTests/animations/insert-composited-animation.html |
| similarity index 51% |
| copy from LayoutTests/animations/composited-animation-style-update.html |
| copy to LayoutTests/animations/insert-composited-animation.html |
| index 25f7a923af013aeecb4e8b7b9c1ee1015db12239..51690f846a662d01238f6f83ca8efb269d7b9c54 100644 |
| --- a/LayoutTests/animations/composited-animation-style-update.html |
| +++ b/LayoutTests/animations/insert-composited-animation.html |
| @@ -7,25 +7,20 @@ div { |
| } |
| #expectation { |
| - font-size: 50px; |
| background: red; |
| - transform: translate(1em, 1em); |
| -} |
| - |
| -#target { |
| - font-size: 1px; |
| - background: green; |
| + transform: translate(50px, 50px); |
|
shans
2015/06/22 11:51:39
Need a test to ensure connected divs with 'em' tra
alancutter (OOO until 2018)
2015/06/23 03:47:04
Done.
|
| } |
| </style> |
| <div id="expectation"></div> |
| -<div id="target"></div> |
| <script> |
| -target.style.fontSize = "50px"; |
| +var target = document.createElement('div'); |
| +target.style.background = 'green'; |
| target.animate([ |
| - {transform: "translate(1em, 1em)"}, |
| - {transform: "translate(1em, 1em)"}, |
| + {transform: "translate(50px, 50px)"}, |
| + {transform: "translate(50px, 50px)"}, |
| ], { |
| duration: 1000, |
| iterations: Infinity, |
| }); |
| +document.body.appendChild(target); |
| </script> |