Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / squashing / squash-three-layers.html
blob3c88f6bcee5305704288d546bedebb0e75bb0a77
1 <!DOCTYPE html>
2 <head>
3 <style>
4 .composited {
5 transform: translatez(0);
8 .box {
9 width: 100px;
10 height: 100px;
13 .behind {
14 position: absolute;
15 z-index: 1;
16 top: 100px;
17 left: 100px;
18 background-color: blue;
21 .middle {
22 position: absolute;
23 z-index: 1;
24 top: 40px;
25 left: 40px;
26 background-color: lime;
29 .middle2 {
30 position: absolute;
31 z-index: 1;
32 top: 130px;
33 left: 60px;
34 background-color: magenta;
37 .top {
38 position: absolute;
39 z-index: 1;
40 top: 70px;
41 left: 120px;
42 background-color: cyan;
45 div:hover {
46 background-color: green;
49 </style>
50 <script>
51 if (window.testRunner)
52 testRunner.dumpAsText();
54 function runTest()
56 if (!window.internals) {
57 alert('This test requires window.internals')
58 return;
61 document.body.textContent = window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS);
62 document.body.style.whiteSpace = 'pre';
64 </script>
65 </head>
66 <body onload="runTest()">
67 <div class="composited box behind"></div>
68 <div class="box middle"></div>
69 <div class="box middle2"></div>
70 <div class="box top"></div>
71 </body>