| You should see the text 'after' in the inner box, no mangled pixels. |
| <div id="parent1" style="position:absolute; width:300px; height:300px; overflow:hidden; border: solid 1px yellow"> |
| <div id="parent2" style="position:absolute; width:300px; height:300px; overflow:hidden; border: solid 1px red"> |
| <div style="position:absolute; width:100px; height:100px; left:100px; top:100px; border:solid 1px green; overflow:hidden"> |
| <div id="target" style="width:50px; height:50px">before</div> |
| <div style="width:1000px; height:1000px;"></div> |
| parent1 = document.getElementById('parent1'); |
| parent2 = document.getElementById('parent2'); |
| testRunner.waitUntilDone(); |
| window.setTimeout(function() { |
| document.getElementById('target').innerText = 'after' |