Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / animation / request-animation-frame-callback-id.html
blob67e9b204aeb6d2d21b0d8f266de58cef9bf78d64
1 <script>
2 if (window.testRunner) {
3 window.testRunner.dumpAsText();
4 window.testRunner.waitUntilDone();
7 function runTest() {
8 var id = window.requestAnimationFrame(function () {});
9 var results = document.getElementById("results");
11 if (id > 0)
12 results.innerText = "PASSED: Callback id was > 0";
13 else
14 results.innerText = "FAILED: Callback id was <= 0";
16 if (window.testRunner)
17 window.testRunner.notifyDone();
20 window.addEventListener("load", runTest, false);
21 </script>
22 <div id="results"></div>