b0b22199f9
Currently, `elementHandle.screenshot` passes bounding box into the `page.captureScreenshot` method. This is wrong since `captureScreenshot` accepts viewport, not bounding box. This patch uses layout metrics to convert bounding box into viewport. Fixes #1315. |
||
---|---|---|
.. | ||
assets | ||
golden | ||
server | ||
diffstyle.css | ||
frame-utils.js | ||
golden-utils.js | ||
test.js |