2 <script src=
"../resources/testharness.js"></script>
3 <script src=
"../resources/testharnessreport.js"></script>
5 <div id='element'
></div>
9 var container
= document
.getElementById('container');
10 var element
= document
.getElementById('element');
13 container
.style
.fontSize
= '10px';
16 {strokeDasharray
: '10em 10em'},
17 {strokeDasharray
: '10em 10em'}
19 var player
= element
.animate(keyframes
, 10);
21 player
.currentTime
= 5;
23 var strokeDasharray
= getComputedStyle(element
).strokeDasharray
;
24 container
.style
.fontSize
= '20px';
25 assert_not_equals(getComputedStyle(element
).strokeDasharray
, strokeDasharray
);
26 }, 'strokeDasharray responsive to style changes');