mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
fix(ElementHandle.boundingBox): account for margin, padding, and border in element.boxModel (#1017)
This patch starts relying on border quad to compute element's bounding box. Fixes #1010
This commit is contained in:
committed by
Andrey Lushnikov
parent
1c528308a8
commit
8f430fb23d
BIN
test/golden/screenshot-element-padding-border.png
Normal file
BIN
test/golden/screenshot-element-padding-border.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 272 B |
BIN
test/golden/screenshot-element-rotate.png
Normal file
BIN
test/golden/screenshot-element-rotate.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
Reference in New Issue
Block a user