chromium/third_party/blink/web_tests/http/tests/subresource_filter/ad-highlight-frame-larger-than-viewport.html

<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body {
    overflow:hidden;
    margin: 0;
}
</style>
<script src="resources/ad-iframe-writer.js"></script>
</head>
<body>
<script type="text/javascript">
if (window.testRunner) {
  testRunner.setHighlightAds();
}

ad_frame = createAdFrame();
ad_frame.style.borderWidth = 0;
ad_frame.width = 100;
ad_frame.height = 1000;
// Scroll down to verify that the overlay is drawn correctly for the portion of the
// frame that is larger than the viewport.
window.scrollTo(0, 400);
// Finish the test once the ad frame is loaded.
ad_frame.onload = function () {
  if (window.testRunner)
    testRunner.notifyDone();
}
ad_frame.src = "about:blank";

if (window.testRunner)
  testRunner.waitUntilDone();
</script>
</body>
</html>