<script>
if (window.testRunner)
    testRunner.displayAndTrackRepaints();
</script>
This tests that the scrollbar and resize corner are not visible on an element that has visibility:hidden.
<div style="overflow: auto; width: 50px; height: 70px; resize: both; visibility: hidden">
You
should
not
see
this
text
</div>
