Fix Animations, Remove Compostior Animations.

This patch (re)hooks up animations so they start and removes the infrastructure required by blink to synchronize the compositor and main threads.

R=ojan@chromium.org

Review URL: https://codereview.chromium.org/772673002
This commit is contained in:
Rafael Weinstein 2014-12-02 14:37:55 -08:00
parent 25f8a50ffe
commit 253d078c89

View File

@ -0,0 +1,18 @@
<sky>
<div id="test">
Hello, Sky
</div>
<script>
window.addEventListener('load', function() {
var div = document.getElementById('test');
div.animate([
{ backgroundColor: 'red', opacity: 1 },
{ backgroundColor: 'green', opacity: 0}],
{
duration: 1000,
iterations: 2
});
});
</script>
</sky>