summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-overflow/clip-006.html
blob: 08f755ad75c452fade0381b8ba8f44dffbf0e797 (plain)
1
2
3
4
5
6
7
8
9
<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-overflow/#valdef-overflow-clip">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<p>Test passes if there is a filled green square.</p>
<div style="width: 100px; height: 100px; overflow-x: auto;">
  <div style="overflow-x: clip;">
    <div style="width: 200px; height: 100px; background: green;"></div>
  </div>
</div>