<!DOCTYPE html>
<meta charset="utf-8">

<p>This test verifies grid layout painting when the item has overflowing contents.</p>
<p>This test passes if it matches the reference. You should see green and not red.</p>

<iframe height="100px" width="200px" srcdoc="
  <style>
    body {
      background: green;
    }
  </style>
">
</iframe>

<iframe height="100px" width="200px" srcdoc="
  <style>
    body {
      background: green;
    }
  </style>
">
</iframe>
