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

14 lines
826 B
XML

<csstest def="Nondeterministic matching of direct and indirect adjacent combinators" module="W3C Selectors" modulename="css3-modsel" number="87" rev="1.2" date="3-march-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>