grouping-000

Selectors: Grouping

WeasyPrint

This browser

Assertion
Browsers should apply the rule to all elements grouped

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</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="">
 8   <meta name="assert" content="Browsers should apply the rule to all elements grouped">
 9 <style type="text/css">
10 p, div, h4 {color: green; font-weight: bold}
11 </style>
12  </head>
13  <body>
14 <p>This text should be green.</p>
15 <div>This text should be green.</div>
16 <h4>This text should be green.</h4>
17  </body>
18 </html>