12 document
.getElementById('iframe').contentDocument
.body
.offsetWidth
; // See wkbug.com/41999
13 if (window
.testRunner
) {
14 testRunner
.dumpAsText();
15 document
.getElementById('layertree').innerText
= window
.internals
.layerTreeAsText(document
);
18 window
.addEventListener("load", doTest
, false);
19 if (window
.internals
) {
20 internals
.settings
.setPreferCompositingToLCDTextEnabled(true);
25 <!-- this should not generate a layer and the layer tree should be empty -->
26 <iframe id=
"iframe" src=
"resources/subframe-small.html"></iframe>
27 <pre id=
"layertree"></pre>