grouping-001

Selectors: Grouping: Invalid grouping

WeasyPrint

This browser

Flags
invalid
Assertion
Browsers should ignore an invalid grouping

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: Selectors: Grouping: Invalid grouping</title>
 5   <link rel="author" title="Gabriele Romanato" href="mailto:gabriele.romanato@gmail.com">
 6   <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#grouping">
 7   <meta name="flags" content="invalid">
 8   <meta name="assert" content="Browsers should ignore an invalid grouping">
 9 <style type="text/css">
10 * {font-weight: bold}
11 p, div, h4 {color: green} 
12 p, div, h4, {color: red}
13 </style>
14  </head>
15  <body>
16 <p>This text should be green.</p>
17 <div>This text should be green.</div>
18 <h4>This text should be green.</h4>
19  </body>
20 </html>