<!doctype HTML>
<!-- Tests that a non-self-painting layer that overrides visibility paints correctly. -->
<div style="position: relative; visibility: hidden;">
  <object style="visibility: visible; background: green" type="application/nonexistent" width="400" height="300">
  </object>
</div>