summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/transform-clip-001.html
blob: 0bdfd631ba1de3aa7ce841a8f10fc4ebc7136c84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS transforms and clipping</title>
<link rel=author href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel=author href="https://mozilla.org" title="Mozilla">
<link rel=help href="https://bugzilla.mozilla.org/show_bug.cgi?id=1799216">
<link rel=help href="https://drafts.csswg.org/css-transforms/">
<link rel=match href="transform-clip-001-ref.html">
<style>
  body { margin: 0 }
</style>
<div style="overflow: clip; width: 200px; height: 200px; transform: translate(10px, 10px)">
  <div style="overflow: clip; pointer-events: none; width: 200px; height: 200px; transform: translate(0px, -190px)">
    <div style="background: blue; width: 200px; height: 200px; transform: translate(0px, 190px);"></div>
  </div>
</div>