Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blockify elements in a flex container #12361

Merged
merged 1 commit into from Jul 18, 2016
Merged

Conversation

@stshine
Copy link
Contributor

stshine commented Jul 9, 2016

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 -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #__ (github issue number if applicable).
  • There are tests for these changes OR
  • These changes do not require tests because flexbox is not actually implemented yet.

This change is Reviewable

@Manishearth
Copy link
Member

Manishearth commented Jul 9, 2016

@stshine stshine force-pushed the stshine:blockify-flex-item branch from eebf0ab to 8a8b583 Jul 9, 2016
@jdm
Copy link
Member

jdm commented Jul 9, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Jul 9, 2016

Trying commit 8a8b583 with merge 09bd5c8...

bors-servo added a commit that referenced this pull request Jul 9, 2016
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 -->
@bors-servo
Copy link
Contributor

bors-servo commented Jul 9, 2016

@jdm
Copy link
Member

jdm commented Jul 9, 2016

I'm confused about why these two tests now time out with these changes...

@stshine
Copy link
Contributor Author

stshine commented Jul 10, 2016

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.

@stshine stshine mentioned this pull request Jul 10, 2016
3 of 5 tasks complete
@KiChjang
Copy link
Member

KiChjang commented Jul 11, 2016

@bors-servo retry

@bors-servo
Copy link
Contributor

bors-servo commented Jul 11, 2016

Trying commit 8a8b583 with merge 6788ca2...

bors-servo added a commit that referenced this pull request Jul 11, 2016
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 -->
@bors-servo
Copy link
Contributor

bors-servo commented Jul 11, 2016

💔 Test failed - mac-rel-css

@highfive
Copy link

highfive commented Jul 11, 2016

  ▶ FAIL [expected TIMEOUT] /css-flexbox-1_dev/html/flexbox-basic-iframe-vert-001.htm
  └   → /css-flexbox-1_dev/html/flexbox-basic-iframe-vert-001.htm 0ad27416fbc9a606dc1c4de836e4272724ff5a10
/css-flexbox-1_dev/html/reference/flexbox-basic-iframe-vert-001-ref.htm af2d7954e5d126468158ba09e0f738625e620a57
Testing 0ad27416fbc9a606dc1c4de836e4272724ff5a10 == af2d7954e5d126468158ba09e0f738625e620a57

  ▶ FAIL [expected TIMEOUT] /css-flexbox-1_dev/html/flexbox-basic-textarea-vert-001.htm
  └   → /css-flexbox-1_dev/html/flexbox-basic-textarea-vert-001.htm 05950dbb0578c405d2a8000292c26bd270eea3c5
/css-flexbox-1_dev/html/reference/flexbox-basic-textarea-vert-001-ref.htm 2c7ae598ea1c08da7490a17f0a4f22d77b58719d
Testing 05950dbb0578c405d2a8000292c26bd270eea3c5 == 2c7ae598ea1c08da7490a17f0a4f22d77b58719d
@stshine
Copy link
Contributor Author

stshine 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.
@stshine stshine force-pushed the stshine:blockify-flex-item branch from 8a8b583 to 6d07565 Jul 11, 2016
@shinglyu
Copy link
Member

shinglyu commented Jul 15, 2016

(tracking #12453)

@pcwalton
Copy link
Contributor

pcwalton commented Jul 18, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Jul 18, 2016

📌 Commit 6d07565 has been approved by pcwalton

@bors-servo
Copy link
Contributor

bors-servo commented Jul 18, 2016

Testing commit 6d07565 with merge d28f2b8...

bors-servo added a commit that referenced this pull request Jul 18, 2016
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 -->
@bors-servo
Copy link
Contributor

bors-servo commented Jul 18, 2016

@bors-servo bors-servo merged commit 6d07565 into servo:master Jul 18, 2016
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@stshine stshine deleted the stshine:blockify-flex-item branch Aug 26, 2016
@stshine stshine restored the stshine:blockify-flex-item branch Aug 26, 2016
@stshine stshine deleted the stshine:blockify-flex-item branch Nov 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

8 participants
You can’t perform that action at this time.