<csstest def="Indirect adjacent combinator" module="W3C Selectors" modulename="css3-modsel" number="46b" rev="1.1" date="12-november-2001" xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.example.org/css3tests">
<author>Daniel Glazman</author>
<author>Ian Hickson</author>
<cssrules>.green { background-color : lime ! important }
div.stub > p ~ p { background-color : red }</cssrules>
<code>
<div class="stub" xmlns="http://www.w3.org/1999/xhtml">
<p>This paragraph should be unstyled.</p>
<p class="green">But this one should have a green background</p>
<p class="green">And this one should also have a green background</p>
<address>This address is only here to fill some space between two paragraphs</address>
<p class="green">This paragraph should have a green background</p>
</div>
</code>
</csstest>