Hi, I'm interested in the display-list dumps. From this dump I can accurately visualize the page structure because the frames are sorted by z-order and it contains data about frame position and dimension.
However, the display-list only contains the frames within the browser viewport. I'm trying to force Firefox to also include out of viewport frames. I'm essentially trying to force Firefox to render the whole page, all the time. Not just the parts visible in the viewport. It's a bit like what CanvasRenderingContext2D::DrawWindow() is capable of under the hood. https://dxr.mozilla.org/mozilla-central/source/dom/canvas/CanvasRenderingContext2D.cpp#4883 This function can render also parts of the page beyond the viewport. I'm trying to make this the default behavior. I've tried increasing the dimensions of aDirtyRegion when calling nsLayoutUtils::PaintFrame() from nsPresShell.cpp. https://dxr.mozilla.org/mozilla-central/source/layout/base/nsPresShell.cpp#6351 That didn't seem to make a difference. I also think nsIFrame::BuildDisplayListForStackingContext() could be related somehow: https://dxr.mozilla.org/mozilla-central/source/layout/generic/nsFrame.cpp#2143 I'm sure it's possible and probably very easy if I'd know where to look. Thanks, Jip _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

