Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / images / animated-gif-with-offsets.html
blob26db05503c3f79d4736088cbaff5f50fb148ede4
1 <body>
2 <p>Layout test for
3 <a href="http://bugs.webkit.org/show_bug.cgi?id=11760">11760</a>. If it
4 doesn't crash, we're good.
5 <img src="resources/animated-gif-with-offsets.gif">
6 </body>
7 <script>
9 // Delay 50ms for each frame.
10 function delay() {
11 var startTime = new Date().getTime();
12 while (new Date().getTime() - startTime < 50);
15 var count = 3;
17 function displayOneFrame() {
18 delay();
19 if (--count >= 0)
20 testRunner.layoutAndPaintAsyncThen(displayOneFrame);
21 else
22 testRunner.notifyDone();
25 if (window.testRunner) {
26 testRunner.waitUntilDone();
27 testRunner.dumpAsText();
28 setTimeout(displayOneFrame, 50);
31 </script>