<!-- This test needs to be in quirks mode -->
<body>
  <div>
    <table style="color: green">
      <tr><td>This should be green</td></tr>
    </table>
  </div>
</body>