<?xml-stylesheet href="../../../style/xhtml-full.css" type="text/css"?>
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>Nondeterministic matching of descendant and child combinators</title>
  <meta name="author" content="Daniel Glazman"/>
  <link rel="stylesheet" type="text/css" href="../../../style/xhtml-full.css"/> <!-- yes this means compliant UAs get to import this twice -->
  <style type="text/css"><![CDATA[p { color: red; }
blockquote > div p { color: green; }
]]></style>
  <link rel="first" href="css3-modsel-1.xml" title="Groups of selectors"/>
  <link rel="prev" href="css3-modsel-85.xml" title="NEGATED :contains() pseudo-class"/>
  <link rel="next" href="css3-modsel-87.xml" title="Nondeterministic matching of direct and indirect adjacent combinators"/>
  <link rel="last" href="css3-modsel-183.xml" title="Syntax and parsing of class selectors"/>
  <link rel="up" href="./index.html"/>
  <link rel="top" href="../../../index.html"/>
 </head>
 <body>
  <table class="testDescription">
   <tr>
    <th class="b">CSS 3 Module</th> <!-- XXX hard coded to say CSS 3 -->
    <th class="c" colspan="2">
     <a href="css3-modsel-85.xml" title="NEGATED :contains() pseudo-class">&lt;==</a>
     Test #
     <a href="css3-modsel-87.xml" title="Nondeterministic matching of direct and indirect adjacent combinators">==&gt;</a>
    </th>
   </tr>
   <tr>
    <td class="b">W3C Selectors</td>
    <td class="c" colspan="2">108 of 272 of the static tests category</td>
   </tr>
   <tr>
    <th class="b">Testing</th>
    <th class="a">Date</th>
    <th class="a">Revision</th>
   </tr>
   <tr>
    <td class="b">Nondeterministic matching of descendant and child combinators (ID #86)</td>
    <td class="a">2001-07-11</td>
    <td class="a">1.0</td>
   </tr>
  </table>
  <p class="WARNING">NOTE: The UA must support namespaces for this test.</p>
  <div class="testSource">
   <div class="testText">
<html:blockquote xmlns="http://www.example.org/css3tests">
<html:div>
<html:div>
<html:p>This text should be green.</html:p>
</html:div>
</html:div>
</html:blockquote>
</div>
   <pre class="rules">p { color: red; }
blockquote &gt; div p { color: green; }
</pre>
   <pre class="rules">
&lt;html:blockquote xmlns=&quot;http://www.example.org/css3tests&quot;&gt;
&lt;html:div&gt;
&lt;html:div&gt;
&lt;html:p&gt;This text should be green.&lt;/html:p&gt;
&lt;/html:div&gt;
&lt;/html:div&gt;
&lt;/html:blockquote&gt;
</pre>
  </div>
 </body>
</html>