Auto merge of #18175 - stshine:no-floats-in-flexbox, r=mbrubeck

layout: Stop call normal block size assignment for flex container

No need to call the `assign_block_size_block_base()` method of normal block in flex.rs since it is implemented for CSS2.

<!-- 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: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #14813 (github issue number if applicable).

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

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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/18175)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-08-29 19:15:59 -05:00 committed by GitHub
commit 7e363d60bb
16 changed files with 29 additions and 50 deletions

View file

@ -1,3 +0,0 @@
[flexbox-margin-auto-horiz-002.htm]
type: reftest
expected: FAIL

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,3 +0,0 @@
[flexbox_stf-table-row-group.htm]
type: reftest
expected: FAIL

View file

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

View file

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

View file

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