CSS 3 Module <== Test # ==>
W3C Selectors 52 of 140 of the static tests category
Testing Date Revision
Child combinator (ID #44b) 05-november-2001 1.1

This paragraph should be unstyled.

This paragraph should be unstyled.

This paragraph should have a green background.

.white { background-color: transparent ! important; }
.green { background-color: lime; }
div > p.test { background-color: red; }
 <div>
  <p class="white test">This paragraph should be unstyled.</p>
  <div>
   <p class="white test">This paragraph should be unstyled.</p>
  </div>
 </div>
 <table>
  <tbody>
   <tr>
    <td>
     <p class="green test">This paragraph should have a green background.</p>
    </td>
   </tr>
  </tbody>
 </table>