[Web Animations] Turn Web Animations with CSS integration on for test runners
[WebKit-https.git] / LayoutTests / transitions / transition-display-property.html
1 <style>
2 test { transition:0.1s; display:block; height:100px; border: 2px solid green; }
3 .animate { display:inline-block; height:10px; width:10px; }
4 </style>
5 <test></test>
6 <script>
7 var test = document.querySelector("test");
8
9 if (window.testRunner) {
10     testRunner.waitUntilDone();
11     test.ontransitionend = () => testRunner.notifyDone();
12 }
13 test.offsetWidth;
14 test.className = "animate";
15 </script>