diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-02-25 05:49:03 +0530 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2016-02-25 05:49:03 +0530 |
commit | e5f3c5b6d1f09f1d86e63b1d37ab3d02f19a3be3 (patch) | |
tree | a43e3872f15f30743632f2778640fbeaae35f254 /components/script/dom/htmlelement.rs | |
parent | 9d47b344d9d0cf6faa3430bb32bdb4ba3eb11cf7 (diff) | |
parent | cad31157085fe1d2b8a222fb369625867b963179 (diff) | |
download | servo-e5f3c5b6d1f09f1d86e63b1d37ab3d02f19a3be3.tar.gz servo-e5f3c5b6d1f09f1d86e63b1d37ab3d02f19a3be3.zip |
Auto merge of #9708 - danlrobertson:i8623, r=KiChjang
Implement GetElementRect webdriver command: #8623
Implement the webdriver Get Element Rect command. Originally I wrote out the algorithm for [Step 7](https://w3c.github.io/webdriver/webdriver-spec.html#dfn-calculate-the-absolute-position) and then I found `GetBoundingClientRect`, and i thought it was probably best to use it instead.
As always, feedback is very welcomed!
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9708)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/htmlelement.rs')
0 files changed, 0 insertions, 0 deletions