Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / transitions / transition-end-event-multiple-01.html
blobf02d82c318f0f645732aa1bd9a1d2db393cf5261
1 <html>
2 <head>
3 <style>
4 .box {
5 position: relative;
6 left: 0;
7 height: 100px;
8 width: 100px;
9 margin: 10px;
10 background-color: blue;
11 -webkit-transition-property: width, left, background-color, height, top;
12 -webkit-transition-duration: 0.5s;
14 </style>
15 <script src="transition-end-event-helpers.js"></script>
16 <script type="text/javascript">
18 var expectedEndEvents = [
19 // [property-name, element-id, elapsed-time, listen]
20 ["background-color", "box1", 0.5, false],
21 ["height", "box1", 0.5, false],
22 ["left", "box1", 0.5, false],
23 ["width", "box1", 0.5, false],
26 function setupTest()
28 var box = document.getElementById("box1");
29 box.addEventListener("webkitTransitionEnd", recordTransitionEndEvent, false);
30 box.style.width = "150px";
31 box.style.left = '200px';
32 box.style.backgroundColor = 'red';
33 box.style.height = '80px';
36 runTransitionTest(expectedEndEvents, setupTest);
37 </script>
38 </head>
39 <body>
41 <p>Initiating a 500ms transition on the left, background-color, width and height properties of box1.</p>
43 <div id="container">
44 <div id="box1" class="box"></div>
45 </div>
47 <div id="result"></div>
49 </body>
50 </html>