Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / webkit-keyframes-errors.html
blob833bdb009ad8b4dae91471ee23e09392238b592f
1 <html>
2 <body>
3 <p>Test for Blink bug <a href="https://code.google.com/p/chromium/issues/detail?id=228870">228870</a>: CSS parser incorrectly handles invalid @-webkit-keyframes key values</p>
4 <style>
5 @-webkit-keyframes foo {
6 0 {foo: bar;}
9 #test1 {
10 display: none;
12 </style>
14 <style>
15 @-webkit-keyframes foo {
16 0, 100% {foo: bar;}
19 #test2 {
20 display: none;
22 </style>
24 <style>
25 @-webkit-keyframes foo {
26 10%, none {foo: bar;}
29 #test3 {
30 display: none;
32 </style>
34 <style>
35 @-webkit-keyframes foo {
36 -10%, from {foo: bar;}
39 #test4 {
40 display: none;
42 </style>
44 <style>
45 @-webkit-keyframes foo {
46 0 {foo: bar;} from
49 #test5 {
50 display: none;
52 </style>
54 <style>
55 @-webkit-keyframes foo {
56 {foo: bar;}
59 #test6 {
60 display: none;
62 </style>
64 <style>
65 @-webkit-keyframes foo {
66 10%
69 #test7 {
70 display: none;
72 </style>
74 <style>
75 @-webkit-keyframes foo {
76 from (}) {}
77 #(}) {}
80 #test8 {
81 display: none;
83 </style>
85 <div id="test1">Test 1 failed (INTEGER single key)</div>
86 <div id="test2">Test 2 failed (INTEGER in a key list)</div>
87 <div id="test3">Test 3 failed (unknown IDENT in a key list)</div>
88 <div id="test4">Test 4 failed (out-of-range percentage key value in a key list)</div>
89 <div id="test5">Test 5 failed (key list with no block)</div>
90 <div id="test6">Test 6 failed (no key list)</div>
91 <div id="test7">Test 7 failed (no declaration block)</div>
92 <div id="test8">Test 8 failed (handling invalid perentheses block)</div>
93 </body>
94 <script type="text/javascript">
95 if (window.testRunner)
96 testRunner.dumpAsText();
97 </script>
98 </html>