2 <script src=
"../resources/testharness.js"></script>
3 <script src=
"../resources/testharnessreport.js"></script>
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');