Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upBlockify elements in a flex container #12361
Conversation
|
@bors-servo: try |
Blockify elements in a flex container <!-- Please describe your changes on the following line: --> The is one of my pull requests that implement basic flexible box layout. As the spec stated in https://drafts.csswg.org/css-flexbox/#flex-items , A inline-level child of a flex container should be converted to its block equivalent, according to CSS2.1 § 9.7. --- <!-- 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 - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because flexbox is not actually implemented yet. <!-- 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/12361) <!-- Reviewable:end -->
|
|
|
I'm confused about why these two tests now time out with these changes... |
|
Not very sure. One of the possibility is that currently flex flow is not treat as block in float calculation while in these two tests these containers as declared as floats, and with this patch servo had a hard time resolving block sizes. Once other patches are landed the time out should disappear. |
|
@bors-servo retry |
Blockify elements in a flex container <!-- Please describe your changes on the following line: --> The is one of my pull requests that implement basic flexible box layout. As the spec stated in https://drafts.csswg.org/css-flexbox/#flex-items , A inline-level child of a flex container should be converted to its block equivalent, according to CSS2.1 § 9.7. --- <!-- 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 - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because flexbox is not actually implemented yet. <!-- 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/12361) <!-- Reviewable:end -->
|
|
highfive
commented
Jul 11, 2016
|
|
@jdm The time out disappeared as expected |
A inline-level child of a flex container should be converted to its block equivalent. according to CSS2.1 § 9.7.
|
(tracking #12453) |
|
@bors-servo: r+ |
|
|
Blockify elements in a flex container <!-- Please describe your changes on the following line: --> The is one of my pull requests that implement basic flexible box layout. As the spec stated in https://drafts.csswg.org/css-flexbox/#flex-items , A inline-level child of a flex container should be converted to its block equivalent, according to CSS2.1 § 9.7. --- <!-- 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 - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because flexbox is not actually implemented yet. <!-- 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/12361) <!-- Reviewable:end -->
|
|
stshine commentedJul 9, 2016
•
edited
The is one of my pull requests that implement basic flexible box layout.
As the spec stated in https://drafts.csswg.org/css-flexbox/#flex-items ,
A inline-level child of a flex container should be converted to its block equivalent, according to CSS2.1 § 9.7.
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is