<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>CSS: 2 simple negative tests of HTML-specific :not()</title>
  <style type="text/css">

    /* setup */
    *|* { color: green; margin: 0; padding: 0; }

    /* tests */
    .testA:not(.testA) { color: red; } /* A */
    .testB:not(.testB) { color: red; } /* B */

  </style>
 </head>
 <body>
  <div class="testA">This should be green.</div>
  <div class="testB">This should be green.</div>
 </body>
</html>
