| <style type="text/css" media="screen"> |
| -webkit-transform: translateZ(0); |
| <script type="text/javascript" charset="utf-8"> |
| testRunner.waitUntilDone(); |
| // For some reason this delay is required for AppKit to not short-circuit the display. |
| window.setTimeout(function() { |
| document.getElementById('box').className = 'composited'; |
| testRunner.displayAndTrackRepaints(); |
| document.getElementById('layers').innerHTML = window.internals.layerTreeAsText(document); |
| window.addEventListener('load', doTest, false); |
| <!-- Tests that when the main document becomes composited, all iframes containing |
| any composited content become composited --> |
| <iframe src="resources/intermediate-frame.html"></iframe> |
| <iframe src="resources/intermediate-frame.html"></iframe> |
| <pre id="layers">Layer tree appears here in DRT.</pre> |