c11-import-000

Basic Containment

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: Basic Containment</title>
 5   <link rel="help" href="http://www.w3.org/TR/REC-CSS1#containment-in-html">
 6   <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html">
 7   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
 8   <style type="text/css">
 9    @import url(support/a-green.css);
10    @import "support/b-green.css";
11    .c { color: green; }
12    @import url(support/c-red.css);
13    <!-- .d { color: green; } -->
14   </style>
15   <link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#at-import" title="6.3 The @import rule">
16   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#comments" title="4.1.9 Comments">
17   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#uri" title="4.3.4 URLs and URIs">
18  </head>
19  <body>
20   <p class="a">This line should be green.</p>
21   <p class="b">This line should be green.</p>
22   <p class="c">This line should be green.</p>
23   <p class="d">This line should be green.</p>
24  </body>
25 </html>