blob: 43a20de023f60f3182cf3084ac2e65b3e8833d97 [file] [log] [blame]
simon.fraser@apple.com99ff95d2010-12-17 21:22:47 +00001<!DOCTYPE html>
2
3<html>
4<head>
simon.fraser@apple.com4803cdd2011-04-26 03:25:14 +00005 <style>
simon.fraser@apple.com99ff95d2010-12-17 21:22:47 +00006 #box {
7 display: inline-block;
8 width: 100px;
9 height: 100px;
10 margin: 10px;
11 background-color: blue;
12 -webkit-transition: -webkit-transform 10s;
13 }
14
15 #box.rotated {
16 -webkit-transform: rotate(45deg);
17 }
18 </style>
simon.fraser@apple.com4803cdd2011-04-26 03:25:14 +000019 <script>
rniwa@webkit.orgcc082ecd2012-06-16 03:42:58 +000020 if (window.testRunner) {
21 testRunner.dumpAsText();
22 testRunner.waitUntilDone();
simon.fraser@apple.com99ff95d2010-12-17 21:22:47 +000023 }
24 function loaded()
25 {
26 var box = document.getElementById('box');
27 box.className = 'rotated box';
28 window.location = 'resources/interrupted-accelerated-transition-final.html';
29 }
30 window.addEventListener('load', loaded, false);
31 </script>
32</head>
33<!-- The unload handler keeps this page out of the page cache. -->
tonyg@chromium.orgc97c8f82010-12-18 05:20:41 +000034<body onunload="void(0)">
simon.fraser@apple.com99ff95d2010-12-17 21:22:47 +000035 <div id="box"></div>
36</body>
37</html>