| testRunner.waitUntilDone(); |
| window.setTimeout(function() { |
| var testFrame = document.getElementById('pluginFrame'); |
| testFrame.style.position = 'absolute'; |
| testFrame.style.padding = '10%'; |
| // Need to wait for compositing layers to be updated. |
| window.setTimeout(function() { |
| <p>PASS, if changing the iFrame's position attribute, while its content mandates layer composition, does not crash the browser.</p> |
| <iframe onload='runTest();' id='pluginFrame' src="resources/embed-tag-with-composition.html"></iframe> |