summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-overflow/overflow-clip-cant-scroll-ref.html
blob: d52fa0e9574cdbdb067106bccfd2014b9559b921 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!doctype html>
<meta charset="utf-8">
<title>Overflow: clip can not be scrolled</title>
<link rel="help" href="https://www.w3.org/TR/css-overflow-3/#valdef-overflow-clip">
<link rel="author" title="Scott Violet" href="mailto:sky@chromium.org">
<style>
  .child {
    width: 100px;
    height: 100px;
    background-color: green;
  }
</style>
<p>You should see two green squares (no red).
<div class="child"></div>
<div class="child"></div>