CSS 3 Module <== Test # ==>
W3C Selectors 143 of 181
Testing Date Revision
Contextual :contains (ID #163) 2001-11-21 1.0

NOTE: User interaction is required for this test.

TEST

TEST

TEST

TEST

While you hover over any of the four instances of the word TEST above, this paragraph should turn green.

  .float { float: right; }
  :hover ~ :contains('green') { background: green; }
  <p class="float">TEST</p>
  <p>TEST</p>
  <p><strong>TEST</strong></p>
  <table><tr><td>TEST</td></tr></table>
  <p>While you hover over any of the four instances of the word TEST above, this paragraph should turn green.</p>