<html>
<head>
    <script>
    if (window.testRunner)
        testRunner.dumpAsText();
    </script>
</head>
<body style='margin: 0px'>
<div style='background: red; height: 100000px; width: 100000px;'>
    <img src='resources/green_rectangle.pdf' width="100000px">
    This test should not crash.
</div>
</body>
</html>