Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Side by Side Diff: sky/tests/animation/basic-imperative.sky

Issue 760183003: Enable/Unprefix Animations & Transitions, add basic tests (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: patch for landing Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <sky>
2 <import src="../resources/chai.sky" />
3 <import src="../resources/mocha.sky" />
4 <div id="example">Hello, Sky</div>
5 <script>
6 var example = document.getElementById('example');
7
8 describe('Element.animate opacity', function() {
9 it('should amimate from 0 to 1', function() {
10 example.animate([{ opacity: 0 }, { opacity: 1}], 2000);
11 internals.pauseAnimations(.5);
12 assert.equal(.25, getComputedStyle(example).opacity);
13 });
14 });
15 </script>
16 </sky>
OLDNEW
« no previous file with comments | « sky/tests/animation/basic-declarative-expected.txt ('k') | sky/tests/animation/basic-imperative-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698