Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / transitions / zero-duration-without-units.html
blobfd246737635acb28953f02649962b3bff93a69b1
1 <!DOCTYPE html>
3 <html>
4 <head>
5 <style>
6 #box {
7 height: 50px;
8 width: 100px;
9 background-color: blue;
10 transition-property: top;
11 transition-duration: 1s;
12 transition-duration: 0;
14 </style>
15 <script>
16 if (window.testRunner)
17 testRunner.dumpAsText();
19 function test()
21 var box = document.getElementById('box');
22 var dur = window.getComputedStyle(box).transitionDuration;
23 document.getElementById('result').innerHTML = "Duration was " + dur + " (should be 1s): " + (dur == "1s" ? "PASS" : "FAIL");
25 window.addEventListener('load', test, false)
26 </script>
27 </head>
28 <body>
30 <div id="box">
31 </div>
32 <div id="result">
33 </div>
34 </body>
35 </html>