<html>
    <head>
        <script src="../resources/common-losing-renderer-on-click.js"></script>
        <style>
            #test { width: 100px; }
        </style>
    </head>
    <body onload="testLosingRendererOnClick()">
        This tests that we don't crash when the renderer goes away during event handling.<br>
        <input type="number" id="test" onclick="event.target.style.display='none'">
    </body>
</html>
