at-rules-000

At-rules

WeasyPrint

This browser

Flags
invalid

Source

 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: At-rules</title>
 5   <link rel="author" title="L. David Baron" href="http://dbaron.org/">
 6   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#at-rules">
 7   <meta name="flags" content="invalid">
 8   <style type="text/css">
 9 
10   p { color: red; }
11 
12   @foo{}
13 
14   p { color: green; }
15 
16   </style>
17  </head>
18  <body>
19 
20  <p>This should be green.</p>
21 
22  </body>
23 </html>