servo/tests/wpt/web-platform-tests/css/css3-selectors/css3-modsel-90.xml

14 lines
818 B
XML

<csstest def="Simple combination of direct and indirect adjacent combinators" module="W3C Selectors" modulename="css3-modsel" number="90" rev="1.3" date="29-may-2004" 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>p { color: red; }
blockquote ~ div + p { color: green; }</cssrules>
<code>
<blockquote xmlns="http://www.w3.org/1999/xhtml"><div>This text should be unstyled.</div></blockquote>
<div xmlns="http://www.w3.org/1999/xhtml">This text should be unstyled.</div>
<div xmlns="http://www.w3.org/1999/xhtml">This text should be unstyled.</div>
<p xmlns="http://www.w3.org/1999/xhtml">This text should be green.</p>
</code>
</csstest>