Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css3 / selectors3 / html / css3-modsel-44.html
blob31191137b2bccca07b9bce0875549800fed9194d
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3 <head>
4 <title>Child combinator</title>
5 <style type="text/css">.white { background-color: transparent ! important; }
6 .red { background-color: red; }
7 div > p.test { background-color: lime; }</style>
8 <link rel="first" href="css3-modsel-1.html" title="Groups of selectors">
9 <link rel="prev" href="css3-modsel-43b.html" title="Descendant combinator">
10 <link rel="next" href="css3-modsel-44b.html" title="Child combinator">
11 <link rel="last" href="css3-modsel-d4.html" title="Dynamic updating of :first-child and :last-child">
12 <link rel="up" href="./index.html">
13 <link rel="top" href="../../index.html">
14 </head>
15 <body>
16 <div>
17 <p class="red test">This paragraph should have a green background</p>
18 <div>
19 <p class="red test">This paragraph should have a green background</p>
20 </div>
21 </div>
22 <table>
23 <tbody>
24 <tr>
25 <td>
26 <p class="white test">This paragraph should be unstyled.</p>
27 </td>
28 </tr>
29 </tbody>
30 </table>
31 </body>
32 </html>