Open Bug 1639778 Opened 5 years ago Updated 5 years ago

"Paged Mode" on the layout debugger doesn't show iframes at all

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

People

(Reporter: hiro, Unassigned)

Details

STR;

  1. Open https://hsivonen.fi/fission-host.html in the layout debugger and toggle to Paged Mode.

The reason why it doesn't work is (as far as I searched history) that we historically don't use nsFrameLoader for iframes in printing documents since bug 487667. The documents in frames are supposed to be cloned via Document::CreateStaticClone(), wheares in the Paged Mode, we don't use CreateStaticClone at all. (This made me realize that rendering iframes is another case which doesn't work with our current pagination reftest but will work with the incoming wpt printing stuff.)

Anyways, in the Fission era, it seems we should use nsFrameLoader for iframes in printing documents?

Yep, I noticed it after I commented.

You need to log in before you can comment on or make changes to this bug.