1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: Parsing invalid declarations in at-rules where valid declaration precedes an invalid rule</title>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#parsing-errors">
7 <meta name="flags" content="invalid">
8 <meta name="assert" content="Invalid declarations at the end of at-rules are ignored while the remaining preceding valid declarations are applied.">
9 <style type="text/css">
10 /**/
11 @media screen
12 {
13 div
14 {
15 color: green;
16 }
17 div&p
18 {
19 red: isbad;
20 }
21 }
22 /**/
23 </style>
24 </head>
25 <body>
26 <p>Test passes if the "Filler Text" below is green.</p>
27 <div>Filler Text</div>
28 </body>
29 </html>