- From: <bugzilla@jessica.w3.org>
- Date: Tue, 13 May 2014 21:16:46 +0000
- To: public-browser-tools-testing@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25694 Bug ID: 25694 Summary: 16.2 section isn't needed as it's possible to take screenshot of "html"/"body" Product: Browser Test/Tools WG Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: P2 Component: WebDriver Assignee: public-browser-tools-testing@w3.org Reporter: botalov.andrey@gmail.com QA Contact: public-browser-tools-testing@w3.org CC: mike@w3.org 16.1 section provides a way to take screenshot of any WebElement, not just current window. Thus a user can take screenshot of "body", "html" or some other element with fairly large client rectangle (much more than innerWidth/innerHeight). So the same principles that should be applied for taking screenshot of window should be also applied to taking screenshot of WebElement. So the relevant info about infinite scrolling, nested frames, etc. should be moved to 16.3 section and 16.2 section can be removed. Also spec tells: > Implementations of the remote end should capture the entire Document, even if this would require a user to scroll the browser window However, it's not clear from 16 section how entire document/WebElement can be captured if parallax scrolling is used by the website. I mean site like e.g.: http://islreview.com/ Also I think that when takeScreenshot is applied to element not currently in the view, then remote end MUST scroll element into view to get a better screenshot (it would be helpful if parallax scrolling is used by the website so it would be good to do for all WebElements). -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Tuesday, 13 May 2014 21:16:47 UTC