| <style type="text/css" media="screen"> |
| testRunner.waitUntilDone(); |
| // For some reason this delay is required for AppKit to not short-circuit the display which is required |
| // for overlap testing to kick in. |
| window.setTimeout(function() { |
| document.getElementById('layers').innerHTML = testRunner.layerTreeAsText(); |
| window.addEventListener('load', doTest, false); |
| <iframe src="resources/composited-subframe.html"></iframe> |
| <!-- this iframe should become composited because it overlaps the other iframe --> |
| <iframe id="overlap" src="resources/subframe.html"></iframe> |
| <pre id="layers">Layer tree appears here in DRT.</pre> |