4 Tests error recovery in @-rules.
8 <style>@foo #; #test1{display: none}
</style>
11 <style>@foo {#} #test2{display: none}
</style>
12 <div id=
"test2"></div>
14 <style>@media #; #test3{display: none}
</style>
15 <div id=
"test3"></div>
17 <style>@media {#} #test4{display: none}
</style>
18 <div id=
"test4"></div>
20 <style>@supports #; #test5{display: none}
</style>
21 <div id=
"test5"></div>
23 <style>@supports (display: block) {#} #test6{display: none}
</style>
24 <div id=
"test6"></div>
26 <style>@-webkit-keyframes #; #test7{display: none}
</style>
27 <div id=
"test7"></div>
29 <style>@-webkit-keyframes x {#} #test8{display: none}
</style>
30 <div id=
"test8"></div>
32 <style>@page #; #test9{display: none}
</style>
33 <div id=
"test9"></div>
35 <style>@page x {#} #test10{display: none}
</style>
36 <div id=
"test10"></div>
38 <style>@-webkit-viewport #; #test11{display: none}
</style>
39 <div id=
"test11"></div>
41 <style>@-webkit-viewport {#} #test12{display: none}
</style>
42 <div id=
"test12"></div>
44 <style>@-webkit-region #; #test13{display: none}
</style>
45 <div id=
"test13"></div>
47 <style>@-webkit-region x {#} #test14{display: none}
</style>
48 <div id=
"test14"></div>
50 <style>@font-face #; #test15{display: none}
</style>
51 <div id=
"test15"></div>
53 <style>@font-face x {#} #test16{display: none}
</style>
54 <div id=
"test16"></div>
56 <style>@top-left #; #test17{display: none}
</style>
57 <div id=
"test17"></div>
59 <style>@top-left x {#} #test18{display: none}
</style>
60 <div id=
"test18"></div>
62 <style>@-webkit-filter #; #test19{display: none}
</style>
63 <div id=
"test19"></div>
65 <style>@-webkit-filter x {#} #test20{display: none}
</style>
66 <div id=
"test20"></div>
68 <style>@import url(
"") {} #test21{display: none}
</style>
69 <div id=
"test21"></div>
71 <style>@namespace url(
"") {} #test22{display: none}
</style>
72 <div id=
"test22"></div>
74 <style>@-webkit-region x{div::-moz-{}} #test23{display: none}
</style>
75 <div id=
"test23"></div>
77 <style>@-webkit-region x{@{}} #test24{display: none}
</style>
78 <div id=
"test24"></div>
80 <style>@media all {@keyframes;} #test25{display: none}
</style>
81 <div id=
"test25"></div>
83 <style>@media all {@page;} #test26{display: none}
</style>
84 <div id=
"test26"></div>
86 <style>@media all {@font-face;} #test27{display: none}
</style>
87 <div id=
"test27"></div>
89 <style>@media all {@supports;} #test28{display: none}
</style>
90 <div id=
"test28"></div>
92 <style>@media all {@viewport;} #test29{display: none}
</style>
93 <div id=
"test29"></div>
95 <style>@media all {@-webkit-filter;} #test30{display: none}
</style>
96 <div id=
"test30"></div>
98 <style>@media all {@xxx;} #test31{display: none}
</style>
99 <div id=
"test31"></div>
101 <style>@-webkit-region x {@keyframes;} #test32{display: none}
</style>
102 <div id=
"test32"></div>
104 <style>@-webkit-region x {@page;} #test33{display: none}
</style>
105 <div id=
"test33"></div>
107 <style>@-webkit-region x {@font-face;} #test34{display: none}
</style>
108 <div id=
"test34"></div>
110 <style>@-webkit-region x {@supports;} #test35{display: none}
</style>
111 <div id=
"test35"></div>
113 <style>@-webkit-region x {@viewport;} #test36{display: none}
</style>
114 <div id=
"test36"></div>
116 <style>@-webkit-region x {@-webkit-filter;} #test37{display: none}
</style>
117 <div id=
"test37"></div>
119 <style>@-webkit-region x {@xxx;} #test38{display: none}
</style>
120 <div id=
"test38"></div>
122 <style>@media all {@keyframes} #test39{display: none}
</style>
123 <div id=
"test39"></div>
125 <style>@media all {@page*} #test40{display: none}
</style>
126 <div id=
"test40"></div>
128 <style>@media all {@font-face x (;)} #test41{display: none}
</style>
129 <div id=
"test41"></div>
131 <style>@media all {@supports not (display: none)} #test42{display: none}
</style>
132 <div id=
"test42"></div>
134 <style>@media all {@viewport ?} #test43{display: none}
</style>
135 <div id=
"test43"></div>
137 <style>@media all {x {} @-webkit-filter} #test44{display: none}
</style>
138 <div id=
"test44"></div>
140 <style>@media all {@xxx} #test45{display: none}
</style>
141 <div id=
"test45"></div>
143 <style>@-webkit-region x {@keyframes} #test46{display: none}
</style>
144 <div id=
"test46"></div>
146 <style>@-webkit-region x {@page*} #test47{display: none}
</style>
147 <div id=
"test47"></div>
149 <style>@-webkit-region x {@font-face x(;)} #test48{display: none}
</style>
150 <div id=
"test48"></div>
152 <style>@-webkit-region x {@supports not (display: none)} #test49{display: none}
</style>
153 <div id=
"test49"></div>
155 <style>@-webkit-region x {@viewport ?} #test50{display: none}
</style>
156 <div id=
"test50"></div>
158 <style>@-webkit-region x {x {} @-webkit-filter} #test51{display: none}
</style>
159 <div id=
"test51"></div>
161 <style>@-webkit-region x {@xxx} #test52{display: none}
</style>
162 <div id=
"test52"></div>
164 <style>@media all {@media all} #test53{display: none}
</style>
165 <div id=
"test53"></div>
167 <style>@media all {@media all;} #test54{display: none}
</style>
168 <div id=
"test54"></div>
170 <style>@media all {@import} #test59{display: none}
</style>
171 <div id=
"test59"></div>
173 <style>@media all {@import;} #test60{display: none}
</style>
174 <div id=
"test60"></div>
176 <style>@media all {@import url(
"")} #test61{display: none}
</style>
177 <div id=
"test61"></div>
179 <style>@media all {@import url(
"");} #test62{display: none}
</style>
180 <div id=
"test62"></div>
184 <script type=
"text/javascript">
185 if (window
.testRunner
)
186 testRunner
.dumpAsText();
188 var tests
= document
.querySelectorAll("[id^=test]");
189 for (var i
= 0; i
< tests
.length
; i
++)
190 tests
[i
].textContent
= "Test " + tests
[i
].id
+ " failed.";