Auto merge of #14490 - stshine:replaced-size, r=emilio

layout: Unify size calculation of replaced elements

<!-- Please describe your changes on the following line: -->

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

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- 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/14490)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-12-12 03:25:03 -08:00 committed by GitHub
commit 1993b6e812
20 changed files with 399 additions and 667 deletions

View file

@ -1,3 +0,0 @@
[block-replaced-height-004.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[block-replaced-height-005.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[block-replaced-height-007.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[c43-rpl-bbx-002.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[c44-ln-box-003.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[float-replaced-height-004.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[float-replaced-height-005.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[float-replaced-height-007.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[inline-block-replaced-height-004.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[inline-block-replaced-height-005.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[inline-block-replaced-height-007.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[max-height-percentage-003.htm]
type: reftest
expected: FAIL