Bug 323419
| Summary: | [WebDriver][BiDi] Support the document origin and clip rectangles in browsingContext.captureScreenshot | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Timothy Olusanya <seunxplicit> |
| Component: | WebDriver | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | bburg, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 288325 | ||
Timothy Olusanya
browsingContext.captureScreenshot (being added in PR #72949 under bug 288325) validates the origin and clip parameters but always captures the viewport. Remaining work: capture the scrollable document for origin="document"; apply box clip rectangles (including rejecting an empty intersection with the origin rectangle as "unable to capture screen"); apply element clip rectangles once shared references resolve. WPT: capture_screenshot/origin.py::test_origin and capture_screenshot/clip.py.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/187190320>