1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
6 <style type=
"text/css" media=
"screen">
12 background-color: blue;
14 -webkit-transition: opacity
1s linear;
22 <script src=
"../../animations/resources/animation-test-helpers.js" type=
"text/javascript" charset=
"utf-8"></script>
23 <script type=
"text/javascript" charset=
"utf-8">
25 const expectedValues = [
26 // [time, element-id, property, expected-value, tolerance]
27 [
0.5, 'box', 'opacity',
0.5,
0.1],
32 document.getElementById('box').className = 'faded';
35 runTransitionTest(expectedValues, setupTest);
40 <div id=
"result"></div>