CSS 3 Module <== Test # ==>
W3C Selectors 115 of 131 of the static tests category
Testing Date Revision
Syntax and parsing of unknown psuedo-classes and pseudo-elements (ID #161) 20-november-2001 1.0

This line should have a green background.

UAs may render the following element as a pop up menu. If so, please ensure the menu is unstyled (or green).

This line should have a green background.
  p, p *, p ~ * { background: lime; }

  /* let's try some pseudos that are not valid CSS but are likely to
  be implemented as extensions in some UAs. These should not be
  recognised, as UAs implementing such extensions should use the
  :-vnd-ident syntax. */

  :canvas { background: red; }
  :viewport { background: red; }
  :window { background: red; }
  :menu { background: red; }
  :table { background: red; }
  :select { background: red; }
  ::canvas { background: red; }
  ::viewport { background: red; }
  ::window { background: red; }
  ::menu { background: red; }
  ::table { background: red; }
  ::select { background: red; }
 <p>This line should have a green background.</p>
 <p>
  UAs may render the following element as a pop up menu. If so, please ensure the menu is unstyled (or green).
  <select size="1">
   <option>This should</option>
   <option>have a green</option>
   <option>background.</option>
  </select>
 </p>
 <table><tr><td>This line should have a green background.</td></tr></table>