| <!DOCTYPE HTML> |
| <link rel="stylesheet" href="resources/blending-style.css"> |
| |
| <!-- This test checks that an element with overflow hidden, not being a self painting layer, will be able to dynamically isolate blending descendants. --> |
| <p>Test passes if you see a green rectangle.</p> |
| <div class="isolating clipping box"> |
| <div id="target" class="lime hbar"></div> |
| </div> |
| |
| <script type="text/javascript"> |
| if (window.testRunner) |
| window.testRunner.waitUntilDone(); |
| |
| window.addEventListener('load', function() { |
| var target = document.getElementById("target"); |
| target.className = "lime hbar difference"; |
| |
| if (window.testRunner) |
| window.testRunner.notifyDone(); |
| }, false); |
| </script> |