"Paged Mode" on the layout debugger doesn't show iframes at all
Categories
(Core :: Layout, defect, P3)
Tracking
()
People
(Reporter: hiro, Unassigned)
Details
STR;
- 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?
Comment 1•5 years ago
|
||
We do use frameloaders for static clones.
https://searchfox.org/mozilla-central/rev/df4c90d4b8c92c99f76334acfe4813c573c12661/dom/base/nsFrameLoader.cpp#2743
| Reporter | ||
Comment 2•5 years ago
|
||
Yep, I noticed it after I commented.
Description
•