| This test verifies that a software layer will be promoted to a composited layer |
| if its nested drop shadow intersects a composited layer's nested drop shadow. |
| <!-- If the test passes, the light green drop shadow should appear over the the gray drop shadow where they intersect. --> |
| -webkit-filter: drop-shadow(25px 25px 0 lightgreen); |
| -webkit-filter: drop-shadow(50px 50px 0 lightblue); |
| -webkit-filter: drop-shadow(-25px -25px 0 gray); |
| -webkit-transform: translate3d(0, 0, 0); |
| -webkit-filter: drop-shadow(-50px -50px 0 lightblue); |
| <div id="composited-parent"> |
| <div id="composited-child"></div> |
| <div id="software-parent"> |
| <div id="software-child"></div> |
| document.getElementById("console").appendChild(document.createTextNode(window.internals.layerTreeAsText(document))); |