New issue
Advanced search Search tips

Issue 842372 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Closed: Dec 4
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

"Capture node screenshot" works badly inside `overflow: scroll` elements

Reported by sophieb...@fb.com, May 11 2018

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36

Steps to reproduce the problem:
1. Use devtools to inspect any element inside a scrolling container (ex: in a web chat app) that is large enough to get visually truncated by the container
2. Cmd-Shift-P, choose "Capture node screenshot"

What is the expected behavior?
Screenshot contains the full contents of the node.

What went wrong?
Screenshot is sized according to the full bounds of the node but only contains the parts of the node that are visually on screen already.

You need to manually manipulate the scrolling container to be tall enough in order to capture the full height of the node in a screenshot.

Did this work before? N/A 

Chrome version: 66.0.3359.170  Channel: stable
OS Version: OS X 10.13.4
Flash Version:
 
GoogleSoftwareUpdate-1.2.10.105.dmg
1.3 MB Download

Comment 2 by alph@chromium.org, May 12 2018

Owner: dgozman@chromium.org
Status: Assigned (was: Unconfirmed)
Status: WontFix (was: Assigned)
This is indeed a bug: we capture screenshot by reading back from the display buffer equivalent, so invisible parts are missing. Unfortunately, I don't think we have a good way to address it with our current architecture.

Sign in to add a comment