summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-overflow/overflow-clip-margin-009-ref.html
blob: efbf8985e56728c6f1a962fac8da8209d5a112af (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 can be inherited even if it has no effect on specified element</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;
  overflow-clip-margin: 20px;
  overflow: clip;
}
.child {
  width: 200px;
  height: 200px;
  background: lightblue;
}
</style>
<div class=container>
  <div class=child></div>
</div>