Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / squashing / squash-onto-nephew.html
blob5da7d9f86de9929912f093e3e0b9199515527566
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: 15px;
25 left: 15px;
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 .container {
46 position: absolute;
47 z-index: 1;
48 top: 25px;
49 left: 25px;
50 width: 300px;
51 height: 300px;
52 background-color: gray;
55 div:hover {
56 background-color: green;
59 </style>
60 <script>
61 if (window.testRunner)
62 testRunner.dumpAsText();
64 function runTest()
66 if (!window.internals) {
67 alert('This test requires window.internals')
68 return;
71 document.body.textContent = window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS);
72 document.body.style.whiteSpace = 'pre';
74 </script>
75 </head>
76 <body onload="runTest()">
77 <div class="container">
78 <div class="composited box behind"></div>
79 <div class="box middle"></div>
80 </div>
81 <div class="box middle2"></div>
82 <div class="box top"></div>
83 </body>