Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css3 / selectors3 / html / css3-modsel-46.html
blob2f7d25a9bef3865e59d0c2a77d3ce6c90ec819d9
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3 <head>
4 <title>Indirect adjacent combinator</title>
5 <style type="text/css">.red { background-color : red }
6 div.stub > p ~ p { background-color : lime }</style>
7 <link rel="first" href="css3-modsel-1.html" title="Groups of selectors">
8 <link rel="prev" href="css3-modsel-45c.html" title="Direct adjacent combinator and classes">
9 <link rel="next" href="css3-modsel-46b.html" title="Indirect adjacent combinator">
10 <link rel="last" href="css3-modsel-d4.html" title="Dynamic updating of :first-child and :last-child">
11 <link rel="up" href="./index.html">
12 <link rel="top" href="../../index.html">
13 </head>
14 <body>
15 <div class="stub">
16 <p>This paragraph should be unstyled.</p>
17 <p class="red">But this one should have a green background</p>
18 <p class="red">And this one should also have a green background</p>
19 <address>This address is only here to fill some space between two paragraphs</address>
20 <p class="red">This paragraph should have a green background</p>
21 </div>
22 </body>
23 </html>