Refactoring: Pull all fullscreen code out of Document and into its own helper class
[WebKit-https.git] / LayoutTests / transitions / rounded-rect-becomes-non-renderable-while-transitioning.html
1 <!DOCTYPE html>
2 <head>
3 <title>This tests that rounded rect stays renderable during while animating size.</title>
4 <style>
5   #thumb {
6     background-color: red;
7     border: solid 1px transparent;
8     border-radius: 50%;
9     width: 100px;
10     height: 100px;
11     -webkit-transition: width 500ms, height 500ms;
12 }
13 </style>
14 <script>
15     if (window.testRunner) {
16         window.testRunner.waitUntilDone();
17         window.testRunner.dumpAsText();
18       }
19
20     function transitionFinished() {
21         if (window.testRunner)
22             window.testRunner.notifyDone();
23     }
24
25     function start() {
26       var thumb = document.getElementById("thumb");
27       thumb.addEventListener("webkitTransitionEnd", transitionFinished, true);
28       thumb.style.width = "10px";
29       thumb.style.height = "10px";
30     }
31     
32 </script>
33 </head>
34 <body onload=start()>
35   <p>Test passes if it does not assert in debug builds.</p>
36   <div id=thumb></div>
37 </body>