Open Bug 1070515 Opened 11 years ago Updated 3 years ago

Fixed elements in fullpage screenshot

Categories

(DevTools :: Shared Components, defect)

defect

Tracking

(Not tracked)

People

(Reporter: sjw+bugzilla, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

If you take a fullpage screenshot on a page, that uses elements with "position: fixed", it will render them relative to the current viewport instead to the full page.
Attached image derstandard.at.png
Bug 961832 tries to fix this, but only fixes it for elements which are in a fixed position from the top or the left. In the case on derstandard.at, they have a footer fixed to the bottom of the viewport. Would it be possible to change the window’s viewport temporarily to expand to the full height of the page, just like bug 961832 scrolls to the top and back again?
It's very hard to detect the full size of a page. See also discussion in bug 80713 to have an auto-height option for iframes.
See Also: → 1237163
Product: Firefox → DevTools
The mentioned URL has been updated and no longer exhibits the behaviour the reporter mentioned (not surprising!). Need to find a reduced test case to verify this is still the case, or we close the bug otherwise.
Component: Graphic Commandline and Toolbar → Shared Components

Problem still reproduces. Visit for example https://www.nytimes.com/, scroll a bit and take a screenshot using :screenshot --fullpage.

Screenshot attached.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: