Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / rendering-contexts.html
blob1ecc6dfc709c5bf0bcd48a5669fcc4ce6bc47a54
1 <!DOCTYPE HTML>
2 <!--
3 This test simply checks that when we have multiple 3d rendering contexts, that
4 they get separate and unique id's in the layer tree dump.
5 -->
6 <html>
7 <head>
8 <style>
9 .composited {
10 transform: translateZ(0);
11 width: 100px;
12 height: 100px;
13 background-color: green;
16 #grandparent {
17 -webkit-transform-style: preserve-3d;
20 #child {
21 -webkit-transform-style: preserve-3d;
24 #console {
25 position: absolute;
26 left: 4000px;
28 </style>
29 <script>
30 if (window.testRunner)
31 testRunner.dumpAsText();
34 function dumpLayerTree() {
35 if (window.internals)
36 document.getElementById("console").innerHTML = window.internals.layerTreeAsText(document);
39 window.onload = dumpLayerTree;
40 </script>
41 </head>
42 <body>
43 <div class="composited" id="grandparent">
44 <div class="composited" id="parent">
45 <div class="composited" id="child">
46 </div>
47 </div>
48 </div>
49 <pre id="console"></pre>
50 </body>
51 </html>