5 This test verifies that a software layer will be promoted to a composited layer
6 if its nested drop shadow intersects a composited layer's nested drop shadow.
8 <!-- If the test passes, the light green drop shadow should appear over the the gray drop shadow where they intersect. -->
11 background-color: green;
12 -webkit-filter: drop-shadow(25px 25px 0 lightgreen);
21 background-color: blue;
22 -webkit-filter: drop-shadow(50px 50px 0 lightblue);
31 background-color: black;
32 -webkit-filter: drop-shadow(-25px -25px 0 gray);
39 transform: translate3d(0, 0, 0);
42 background-color: blue;
43 -webkit-filter: drop-shadow(-50px -50px 0 lightblue);
54 <div id="composited-parent">
55 <div id="composited-child"></div>
57 <div id="software-parent">
58 <div id="software-child"></div>
60 <pre id="console"></pre>
62 if (window.testRunner) {
63 testRunner.dumpAsText();
64 document.getElementById("console").appendChild(document.createTextNode(window.internals.layerTreeAsText(document)));