Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / cubic-bezier-with-multiple-calcs-crash.html
blobe7f12610c06cfb641ac58cc9ab951eef5ad14198
1 <!DOCTYPE html>
2 <html>
3 <style>
4 * {
5 transition-timing-function: cubic-bezier(0, 0, calc(0.5), calc(1.0));
7 </style>
8 </head>
9 <body>
10 <p>This tests that calc() values in cubic-bezier functions are read correctly.</p>
11 <p id="result"></p>
12 </body>
13 <script>
14 if (window.testRunner)
15 testRunner.dumpAsText();
17 var body = document.getElementsByTagName("body")[0];
18 if (window.getComputedStyle(body)["transitionTimingFunction"] == "cubic-bezier(0, 0, 0.5, 1)")
19 document.getElementById("result").innerText = "PASS";
20 else
21 document.getElementById("result").innerText = "FAIL";
22 </script>
23 </html>