10 background-color: gray;
16 -webkit-transition: opacity
1s linear;
24 <script src=
"../animations/resources/animation-test-helpers.js"></script>
25 <script type=
"text/javascript">
27 const expectedValues
= [
28 // [time, element-id, property, expected-value, tolerance]
29 [0.5, 'box', 'opacity', 0.5, 0.1],
34 document
.getElementById('box').className
= 'box final';
37 runTransitionTest(expectedValues
, setupTest
);
42 <!-- Test that a transition runs on an element with a 'content' property. -->
43 <div id=
"box" class=
"box"></div>
45 <div id=
"result"></div>