Computing animated style should not require renderers
[WebKit-https.git] / LayoutTests / transitions / transition-display-property-2.html
1 <style>
2 test {
3     transition: 5s;
4     display: block;
5     height: 100px;
6     border: 2px solid green;
7     transition-timing-function: steps(2, start);
8 }
9 .animate { display:inline-block; height:10px; width:10px; }
10 </style>
11 <test></test>
12 <script>
13 if (window.testRunner) {
14     testRunner.waitUntilDone();
15     requestAnimationFrame(() => {
16         testRunner.notifyDone();
17     });
18 }
19 const test = document.querySelector("test");
20 test.offsetWidth;
21 test.className = "animate";
22 </script>