5 <title>Scale without initial value.
</title>
6 <style type=
"text/css" media=
"screen">
10 border:
1px solid #EEE;
18 -webkit-box-sizing: border-box;
19 border:
1px solid black;
26 background-color: green;
28 -webkit-transition: -webkit-transform
1s linear;
40 <script src=
"../../animations/resources/animation-test-helpers.js" type=
"text/javascript" charset=
"utf-8"></script>
41 <script type=
"text/javascript" charset=
"utf-8">
43 const expectedValues = [
44 // [time, element-id, property, expected-value, tolerance]
45 [
0.5, 'inner1', '-webkit-transform
.0',
1.5,
0.1],
46 [
0.5, 'inner2', '-webkit-transform
.0',
1.5,
0.1],
51 var boxes = document.querySelectorAll('.box');
52 boxes[
0].className = 'box final';
53 boxes[
1].className = 'box final';
55 runTransitionTest(expectedValues, setupTest, undefined, true /* pixel test */);
59 <p>In the pixel result, the green boxes should be coincident with the black outline.
</p>
60 <div class=
"box" id=
"box1">
61 <div class=
"indicator"></div>
62 <div class=
"inner" id=
"inner1"></div>
65 <div class=
"box" id=
"box2">
66 <div class=
"indicator"></div>
67 <div class=
"inner" id=
"inner2"></div>
70 <div id=
"result"></div>