Chromium Code Reviews| Index: LayoutTests/animations/composited-animation-style-update.html |
| diff --git a/LayoutTests/animations/composited-animation-style-update.html b/LayoutTests/animations/composited-animation-style-update.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..fc1f74ef9d55c81313b867d358da60c8b36a4608 |
| --- /dev/null |
| +++ b/LayoutTests/animations/composited-animation-style-update.html |
| @@ -0,0 +1,30 @@ |
| +<style> |
|
esprehn
2015/06/04 06:35:01
<!DOCTYPE html>
alancutter (OOO until 2018)
2015/06/04 06:45:56
Done.
|
| +div { |
| + position: absolute; |
| + width: 100px; |
| + height: 100px; |
| +} |
| + |
| +#expectation { |
| + font-size: 50px; |
| + background: red; |
| + transform: translate(1em, 1em); |
| +} |
| + |
| +#target { |
| + font-size: 1px; |
| + background: green; |
| +} |
| +</style> |
| +<div id="expectation"></div> |
| +<div id="target"></div> |
| +<script> |
| +target.style.fontSize = "50px"; |
| +target.animate([ |
| + {transform: "translate(1em, 1em)"}, |
| + {transform: "translate(1em, 1em)"}, |
| +], { |
| + duration: 1000, |
| + iterations: Infinity, |
| +}); |
| +</script> |