summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/add-child-in-empty-layer-ref.html
blob: 38ab96aaf35f60fcb1a36e4da7f78cca8d5036bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<link rel="help" href="https://www.w3.org/TR/css-transforms-2/">
<style>
.empty-layer {
  transform: rotateY(30deg) rotateX(-30deg);
  width: 100px;
  height: 100px;
}
.inserted {
  width: 50px;
  height: 50px;
  background-color: red;
}
</style>
<!--
  Force to create composited layer with empty then inserts a child the layer.
-->
<div id="empty-layer" class="empty-layer">
  <div id="inserted" class="inserted"></div>
</div>