Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / animations / animations-csstext.html
blob203bbf937f76340892fe87a77af0ac82615087d0
1 <!doctype html>
2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4 <script>
5 test(function(){
6 var div = document.createElement('div');
7 div.style.animationName = 'anim';
8 assert_equals(div.style.cssText, 'animation-name: anim;');
9 div.style.animation = 'hello 2s';
10 assert_equals(div.style.cssText, 'animation: hello 2s;');
11 }, 'cssText serializes animation properties sanely');
12 </script>