3 <style type="text/css" media="screen">
27 if (window.layoutTestController) {
28 layoutTestController.waitUntilDone();
29 layoutTestController.dumpAsText();
34 // For some reason this delay is required for AppKit to not short-circuit the display which is required
35 // for overlap testing to kick in.
36 window.setTimeout(function() {
37 if (window.layoutTestController) {
38 layoutTestController.display();
39 document.getElementById('layers').innerHTML = layoutTestController.layerTreeAsText();
40 layoutTestController.notifyDone();
45 window.addEventListener('load', doTest, false);
50 <iframe src="resources/composited-subframe.html"></iframe>
51 <!-- this iframe should become composited because it overlaps the other iframe -->
52 <iframe id="overlap" src="resources/subframe.html"></iframe>
54 <pre id="layers">Layer tree appears here in DRT.</pre>