<!DOCTYPE html>
<html>
  <!-- Test: if output has no custom error, it should not be affected by :valid
             pseudo-class. -->
  <link rel='stylesheet' type='text/css' href='style.css'>
  <body>
    <output class='notinvalid'>foo</output>
  </body>
</html>