blob: bc87b59f31c7f620adf3c8fc406e284971281952 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>CSS 2.1 Test Suite: Forward-Compatible Parsing</title>
<style type="text/css">
body { color: green; }
h1 + p.three {color: red;}
p.four + h1 {color: red;}
p.five {background-color: "red";}
@three-dee {
@background-lighting {
azimuth: 30deg;
elevation: 190deg;
}
p.seven { color: red }
}
ol:wait {color:red;}
p.ten:first-child {color: red;}
ul:lang(fr) {color:red;}
blockquote[href] {color: red;}
acronym[href="foo"] {color: red;}
address[href~="foo"] {color: red;}
span[lang|="fr"] {color: #f00;}
@media tty {
h1 {color: red;}
p.sixteen {color: red;}
}
@three-dee {
p.seventeen {color: red }
}
// UL.nineteenb,
p.nineteenb {color: red;}
p.twentythree {text-indent: 0.5in;}
color: red
p.twentyfour {color: red;}
</style>
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#parsing-errors" title="4.2 Rules for handling parsing errors">
</head>
<body>
<p class="three">
This line should be green.
</p>
<p class="four">
This line should be green.
</p>
<p class="five">
This line should be green.
</p>
<p class="seven"> This line should be green. </p>
<ol>
<li> This line should be green. </li>
</ol>
<p class="ten"> This line should be green. </p>
<ul>
<li> This line should be green. </li>
</ul>
<blockquote>
<p> This line should be green. </p>
</blockquote>
<p>
<acronym> This line should be green. </acronym>
</p>
<address>
This line should be green.
</address>
<p>
<span>This line should be green.</span>
</p>
<p class="sixteen">
This line should be green.
</p>
<p class="seventeen">
This line should be green.
</p>
<p class="nineteenb">
This line should be green.
</p>
<p class="twentythree">
This line should be green.
</p>
<p class="twentyfour">
This line should be green.
</p>
</body>
</html>