servo/tests
bors-servo 9d32b9cc35 Auto merge of #16317 - eloycoto:issue6799, r=emilio
Fix #6799: set stacking_context_position correctly on fragment_border_iterator

Hey,

First of all, this is my first PR to Servo project and I'm learning Rust, so sorry if you see something that it's not correct. I did that as best as I know.

This PR fix the issue #6799; I tried all the corner cases that I can think about it and always get the right result and the same as other browsers.

Related to the build:

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #6799

In the other hand, I added the test in the cssom folder, is where getBoundingClientRect  is defined, so I think that is the best place.

I'm sure that the line 122 can be better, but I didn't find a way to transform a Point2D from f32 to px in a easy way.

I'm here to listen to your recommendations and fix any issue.
Thanks!

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16317)
<!-- Reviewable:end -->
2017-05-30 11:28:26 -05:00
..
compiletest Rewrite the ban-type lint in Python 2017-02-25 15:56:06 +01:00
dromaeo
heartbeats Update heartbeats-simple to 0.4; Include recently added profiler categories in heartbeat logging 2017-02-20 17:17:54 -06:00
html Implement Gamepad API 2017-04-12 15:43:14 +02:00
jquery
power
unit Auto merge of #17071 - servo:derive-all-the-things, r=emilio 2017-05-30 05:11:28 -05:00
wpt Auto merge of #16317 - eloycoto:issue6799, r=emilio 2017-05-30 11:28:26 -05:00