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');
18 container
.style
.opacity
= 1;
19 var player
= element
.animate(keyframes
, 10);
22 player
.currentTime
= 5;
23 container
.style
.opacity
= 0.25;
24 assert_equals(getComputedStyle(element
).opacity
, '0.375');
25 }, 'Opacity responsive to inherited opacity changes');