c71-fwd-parsing-000

Forward-Compatible Parsing

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: Forward-Compatible Parsing</title>
 5   <meta name="flags" content="invalid">
 6   <link rel="help" href="http://www.w3.org/TR/REC-CSS1#forward-compatible-parsing">
 7   <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html">
 8   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
 9   <style type="text/css">
10    p.one {color: green; rotation: 70deg;}
11    p.oneb {color: green;}
12    p.oneb {color: invalidValue;}
13    div.twopc { background: white url(support/swatch-red.png); color: green; }
14    p.two {background-color: inherit;}
15    p.eight {COLOR: GREEN;}
16    p.twentya {rotation-code: "}"; color: green;} 
17    p.twentyb {rotation-code: "\"}\""; color: green;}
18    p.twentyonea {rotation-code: '}'; color: green;} 
19    p.twentyoneb {rotation-code: '\'}\''; color: green;}
20    p.twentytwo {
21     type-display: @threedee {rotation-code: '}';};
22     color: green;
23     }
24   </style>
25   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#parsing-errors" title="4.2 Rules for handling parsing errors">
26  </head>
27  <body>
28   <p class="one">
29    This line should be green.
30   </p>
31   <p class="oneb">
32    This line should be green.
33   </p>
34   <div class="twopc"><p class="two">
35    This line should be green.
36   </p></div>
37   <p class="eight">
38    This line should be green.
39   </p>
40   <p class="twentya">
41    This line should be green.
42   </p>
43   <p class="twentyb">
44    This line should be green.
45   </p>
46   <p class="twentyonea">
47    This line should be green.
48   </p>
49   <p class="twentyoneb">
50    This line should be green.
51   </p>
52   <p class="twentytwo">
53    This line should be green.
54   </p>
55  </body>
56 </html>