"Capture node screenshot" works badly inside `overflow: scroll` elements
Reported by
sophieb...@fb.com,
May 11 2018
|
|||
Issue descriptionUserAgent: 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:
,
May 12 2018
,
Dec 4
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 |
|||
Comment 1 by phyowaic...@gmail.com
, May 11 20181.3 MB
1.3 MB Download