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 upImplement flexbox reordering #10178
Implement flexbox reordering #10178
Conversation
highfive
commented
Mar 24, 2016
|
Heads up! This PR modifies the following files:
|
|
@bors-servo: try |
Implement flexbox reordering Add style property for `order` and implement reordering by this property in flex flow. Based on previous work by @zentner-kyle. Fixes: #9957 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10178) <!-- Reviewable:end -->
|
#9117 attempted to also correctly implement Review status: 0 of 4 files reviewed at latest revision, 2 unresolved discussions. components/layout/flex.rs, line 72 [r1] (raw file): components/layout/flex.rs, line 81 [r1] (raw file): Comments from the review on Reviewable.io |
|
Nobody else is working on FlexFlow. Step away! |
|
Sweet! Thanks! |
|
|
|
Review status: 0 of 4 files reviewed at latest revision, 3 unresolved discussions, some commit checks failed. components/layout/flex.rs, line 76 [r1] (raw file): Comments from the review on Reviewable.io |
|
@bors-servo try |
|
|
|
@bors-servo try |
Implement flexbox reordering Add style property for `order` and implement reordering by this property in flex flow. Based on previous work by @zentner-kyle. Fixes: #9957 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10178) <!-- Reviewable:end -->
|
|
|
|
Woohoo! More passing tests! |
|
Since the flex items of a container need to be iterated for multiple times by order, IMO a collection of FlexItemInfo is really needed to decrease sorting overheads and furthermore retain states between passes. |
|
|
|
|
|
r? @SimonSapin |
|
|
|
r=me modulo your Reviewed 2 of 4 files at r1, 5 of 5 files at r4, 1 of 2 files at r5, 2 of 2 files at r10. components/layout/flex.rs, line 76 [r1] (raw file): components/layout/flex.rs, line 81 [r1] (raw file): components/style/properties.mako.rs, line 4928 [r10] (raw file): Comments from Reviewable |
Add style property for order and implement reordering by this property in flex flow. Based on previous work by @zentner-kyle.
|
Review status: 8 of 10 files reviewed at latest revision, 5 unresolved discussions. components/layout/flex.rs, line 76 [r1] (raw file): components/layout/flex.rs, line 81 [r1] (raw file): components/style/properties.mako.rs, line 4928 [r10] (raw file): Comments from Reviewable |
|
@bors-servo r=SimonSapin |
|
|
|
Reviewed 2 of 2 files at r11. components/layout/flex.rs, line 81 [r1] (raw file): Comments from Reviewable |
Implement flexbox reordering Add style property for `order` and implement reordering by this property in flex flow. Based on previous work by @zentner-kyle. Fixes: #9957 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10178) <!-- Reviewable:end -->
|
|
dlrobertson commentedMar 24, 2016
Add style property for
orderand implement reordering by this propertyin flex flow. Based on previous work by @zentner-kyle.
Fixes: #9957
This change is