Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / animations / import-crash.html
blob4e49681e04122548b7fb1eaf68b37d5602d74f50
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
4 <html lang="en">
5 <head>
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
7 <title>Test that @import rule importing keyframes does not crash</title>
8 <style type="text/css"> @import "resources/keyframes.css"; </style>
9 <style type="text/css" media="screen">
10 #box {
11 position: absolute;
12 left: 0;
13 top: 100px;
14 height: 100px;
15 width: 100px;
16 background-color: blue;
17 -webkit-animation-duration: 1s;
18 -webkit-animation-timing-function: linear;
19 -webkit-animation-name: anim;
21 </style>
22 <script type="text/javascript" charset="utf-8">
23 if (window.testRunner)
24 testRunner.dumpAsText();
25 </script>
26 </head>
27 <body>
28 <p>This test simply loads a sheet using @import that contains keyframes, to see if https://bugs.webkit.org/show_bug.cgi?id=20855
29 is fixed.
30 <p>It passes if it does not crash.
31 </body>
32 </html>