Auto merge of #12873 - shinglyu:abs-margin-patch, r=notriddle,emilio

Fix absolute-flow's auto positioning

<!-- Please describe your changes on the following line: -->
If an absolute positioned flow has no top, bottom, left, right property, its hypothetical box position should be the margin-end of its previous sibling, not the border-end.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #12676 (github issue number if applicable).

<!-- Either: -->
- [x] There are tests for these changes

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- 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/12873)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-08-15 08:19:04 -05:00 committed by GitHub
commit d687f77fef
97 changed files with 8 additions and 287 deletions

View file

@ -1,3 +0,0 @@
[perspective-origin-001.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[perspective-origin-002.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[perspective-origin-003.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[perspective-origin-004.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[perspective-origin-005.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[perspective-origin-006.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[scalex.htm]
type: reftest
expected: FAIL