summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/compositing/geometry/require-own-backing-recalc-order-expected.html
blob: 2046cb4dfd31adf00ce43f548b59fe7d168e3b37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!DOCTYPE html>
<style>
#clipping-repaint-container {
    transform: translateZ(0);
    overflow: hidden;
    position: absolute;
    left: 49px;
    top: 49px;
    width: 348px;
    height: 348px;
    border: black 1px solid;
}

#non-repaint-container-compositing-layer {
    -webkit-perspective: 1px;
    position: absolute;
    left: 49px;
    top: 49px;
    width: 248px;
    height: 248px;
    border: red 1px solid;
}

#painting-layer {
    position: absolute;
    left: 49px;
    top: 49px;
    width: 148px;
    height: 148px;
    border: green 1px solid;
}

#compositing-child1 {
    transform: translateZ(-1px);
    position: absolute;
    left: 48px;
    top: 48px;
    width: 48px;
    height: 48px;
    border: blue 2px solid;
}

#compositing-child2 {
    transform: translateZ(0);
    position: absolute;
    left: 49px;
    top: 49px;
    width: 48px;
    height: 48px;
    border: blue 1px solid;
}
</style>

<div id="clipping-repaint-container">
    <div id="non-repaint-container-compositing-layer">
        <div id="painting-layer">
            <div id="compositing-child1">
            </div>
            <div id="compositing-child2">
            </div>
        </div>
    </div>
</div>