NEW63282
layoutTestController.layerTreeAsText output in WK1 differs for iframes
https://bugs.webkit.org/show_bug.cgi?id=63282
Summary layoutTestController.layerTreeAsText output in WK1 differs for iframes
Adrienne Walker
Reported 2011-06-23 13:42:36 PDT
In trying to fix bug 60741, I wrote some tests of compositing in an iframe. The iframe source page contains a compositing trigger, e.g. tranformZ(0). The containing page has no compositing trigger. The contents of the iframe get composited properly, but layoutTestController.layerTreeAsText returns nothing unless there is a compositing trigger on the containing page as well. This can be reproduced by adding these three attached files to LayoutTests/compositing and running run-webkit-tests. Chromium prints out the expected results, but Safari prints nothing.
Attachments
Patch (5.80 KB, patch)
2011-06-23 13:46 PDT, Adrienne Walker
no flags
Adrienne Walker
Comment 1 2011-06-23 13:46:28 PDT
Simon Fraser (smfr)
Comment 2 2012-09-18 18:21:22 PDT
layoutTestController.layerTreeAsText prints out the entire tree. WK1 can make an iframe composited without the enclosing frame being composited. Wk2 always promotes enclosing frames to be composited, hence the difference.
Note You need to log in before you can comment on or make changes to this bug.