1 <!doctype html><!-- webkit-test-runner [ enableWebAnimationsCSSIntegration=true ] -->
5 -webkit-transition: height 1000s;
9 <div id="test">Testing...</div>
11 if (window.testRunner) {
12 testRunner.dumpAsText();
13 testRunner.waitUntilDone();
16 function finish(result) {
17 document.body.textContent = result;
18 if (window.testRunner) {
19 testRunner.notifyDone();
24 if (test.clientHeight != 0) {
25 return finish('FAIL -- expected initial height of 0px');
28 test.style.height = 'auto';
29 if (test.clientHeight == 0) {
30 return finish('FAIL -- transtion should not apply from 0px to auto');
33 return finish('PASS');