[Webkit-unassigned] [Bug 175665] New: Automation: takeScreenshot should use the visible content rect not the document rect

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 17 02:54:41 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=175665

            Bug ID: 175665
           Summary: Automation: takeScreenshot should use the visible
                    content rect not the document rect
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cgarcia at igalia.com

https://w3c.github.io/webdriver/webdriver-spec.html#dfn-draw-a-bounding-box-from-the-framebuffer

We should take the document rectangle and draw it with the current viewport width and height. If I understand the spec correctly we should use the document rectangle coordinates, but that's not what chromium and firefox do, they take the screenshot of the visible area.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170817/ea8542d0/attachment.html>


More information about the webkit-unassigned mailing list