2008-11-04 Anders Carlsson <andersca@apple.com>
[webkit/qt.git] / LayoutTests / css2.1 / t050803-c14-classes-00-e.html
blob4f8921a0a87194b276fd6a07fa9a442596ee934a
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3 <head>
4 <title>CSS 2.1 Test Suite: Class as selector</title>
5 <style type="text/css">
6 body { color: red; }
7 div { color: green; }
9 .one { color: green; }
10 .1 { color: red; }
11 .a1 {color: green;}
12 p.two { color: green; }
13 p.three { color: red; }
14 </style>
15 <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#class-html" title="5.8.3 Class selectors">
16 </head>
17 <body>
18 <p class="one"> This sentence should be green. </p>
19 <div> <p class="1"> This sentence should be green. </p> </div>
20 <p class="a1"> This sentence should be green. </p>
21 <p class="two"> This sentence should be green. </p>
22 <div> <pre class="three">This sentence should be green.</pre> </div>
23 <div> <ul> <li class="three">This sentence should be green. </li> </ul> </div>
24 </body>
25 </html>