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:
JoelEinbinder
2017-10-12 17:53:59 -07:00
committed by Andrey Lushnikov
parent 1c528308a8
commit 8f430fb23d
4 changed files with 39 additions and 10 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB