Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / transitions / transition-end-event-rendering.html
blob010a0730cd12673de4e654d37d9d974f14d9f7bd
1 <!DOCTYPE html>
3 <html>
4 <head>
5 <style>
6 body {
7 margin: 0;
10 #container {
11 position: relative;
12 width: 400px;
13 height: 230px;
14 border: 1px solid black;
17 .box {
18 position: relative;
19 width: 100px;
20 height: 100px;
21 margin: 10px 0;
22 background-color: green;
25 #container.moved .software {
26 left: 300px;
29 #container.moved .hardware {
30 transform: translateX(300px);
33 .software {
34 -webkit-transition: left 300ms linear;
37 .hardware {
38 -webkit-transition: transform 1s linear;
39 transform: translateX(0);
42 </style>
43 <script src="../animations/resources/animation-test-helpers.js"></script>
44 <script>
46 function testEnded()
48 if (window.testRunner)
49 testRunner.notifyDone();
52 function startTest()
54 if (window.testRunner)
55 testRunner.waitUntilDone();
56 document.getElementById('tester').addEventListener('webkitTransitionEnd', testEnded, false);
57 document.getElementById('container').className = 'moved';
60 window.addEventListener('load', startTest, false);
61 </script>
62 </head>
63 <body>
65 <div id="container">
66 <!-- <div class="software box"></div> -->
67 <div id="tester" class="hardware box"></div>
68 </div>
70 <div id="result">
71 </div>
73 </body>
74 </html>