| <!-- This test will check if the isolation flag is properly computed when we append a subtree having blending elements and the root of this subtree creates a stacking context. --> |
| <link rel="stylesheet" href="resources/blending-style.css"> |
| /* This forces render layers, avoiding normal flow only issues */ |
| background-color: #ff00ff; |
| background-color: #ffff44; |
| <div class="isolating lime box"> |
| <div id="target" class="yellow box" style="left: 50px;"></div> |
| <script type="text/javascript"> |
| window.testRunner.waitUntilDone(); |
| var blendingElement = document.createElement("div"); |
| blendingElement.className = "leaf box difference"; |
| var toAppend = document.createElement("div"); |
| toAppend.appendChild(blendingElement); |
| toAppend.className = "isolating box append-root"; |
| var target = document.getElementById("target"); |
| target.appendChild(toAppend); |
| window.testRunner.notifyDone(); |
| window.setTimeout("change()", 10); |