selectors-002

CSS Selectors (basic tests)

WeasyPrint

This browser

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: CSS Selectors (basic tests)</title>
 5   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
 6   <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/selectors/002.html" type="text/html">
 7   <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#type-selectors">
 8   <style type="text/css">
 9    * { color: white ! important; background: green ! important; }
10    p { color: yellow; background: red; }
11   </style>
12  </head>
13  <body>
14   <p>This page should be green with no red present.</p>
15  </body>
16 </html>