mirror of
https://github.com/servo/servo.git
synced 2025-10-17 00:39:15 +01:00
14 lines
818 B
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>
|