aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen/parser/tests/test_sanity.py
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-05-30 11:28:26 -0500
committerGitHub <noreply@github.com>2017-05-30 11:28:26 -0500
commit9d32b9cc35377f5d74197514435199e407c096fa (patch)
tree6d730850801bb89e0d408a1bda710a726a322c18 /components/script/dom/bindings/codegen/parser/tests/test_sanity.py
parentfe7d039416ea93f9a5a120cda9a6114ec1438c3e (diff)
parent33a46597ed0b5a6baec3444320dd3423f89a2294 (diff)
downloadservo-9d32b9cc35377f5d74197514435199e407c096fa.tar.gz
servo-9d32b9cc35377f5d74197514435199e407c096fa.zip
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 -->
Diffstat (limited to 'components/script/dom/bindings/codegen/parser/tests/test_sanity.py')
0 files changed, 0 insertions, 0 deletions