summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-overflow/overflow-clip-margin-008-ref.html
blob: 3af9e4e951d9d35eafc72fd7593be20a7c94dbde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!doctype html>
<html class="reftest">
<meta charset="utf-8">
<title>Overflow-clip-margin has no effect with overflow:scroll and paint containment (ref)</title>
<link rel="help" href="https://www.w3.org/TR/css-overflow-3/#propdef-overflow-clip-margin">
<link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org">
<style>
.container {
  width: 100px;
  height: 100px;
  contain: paint;
  overflow: scroll;
}
.child {
  width: 200px;
  height: 200px;
  background: lightblue;
}
</style>
<div class=container>
  <div class=child></div>
</div>