summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/composited-under-rotateY-180deg-clip-perspective.html
blob: 71b2fd1cb4facf8f4a1d1f6ba6a684792b7d4ba5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<title>CSS Test (Transforms): composited under rotateY(180deg) with overflow clip under perspective</title>
<link rel="help" href="http://www.w3.org/TR/css-transforms-2">
<meta name="assert" content="This tests that a composited element with default
  backface-visibility is visible under rotateY(180deg) with overflow clip under
  perspective.">
<link rel="match" href="composited-under-rotateY-180deg-clip-perspective-ref.html">
<div style="perspective: 1px">
  <div style="transform: rotateY(180deg); overflow: hidden; width: 100px">
    <div style="width: 100px; height: 100px; background: green; will-change: transform"></div>
  </div>
  <div style="transform: rotateY(180deg); overflow: hidden; width: 100px;
    height: 100px; background: red; backface-visibility: hidden"></div>
  </div>
</div>