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 upstyle: Remove TNode::set_can_be_fragmented and TNode::can_be_fragmented. #18893
Conversation
highfive
commented
Oct 16, 2017
|
Heads up! This PR modifies the following files:
|
highfive
commented
Oct 16, 2017
|
r? @SimonSapin |
|
@bors-servo try |
style: Remove TNode::set_can_be_fragmented and TNode::can_be_fragmented. Replace them instead by a computed value flag, the same way as the IS_IN_DISPLAY_NONE_SUBTREE flag works.
|
@bors-servo try
|
style: Remove TNode::set_can_be_fragmented and TNode::can_be_fragmented. Replace them instead by a computed value flag, the same way as the IS_IN_DISPLAY_NONE_SUBTREE flag works. <!-- 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/18893) <!-- Reviewable:end -->
|
|
|
|
@bors-servo retry |
style: Remove TNode::set_can_be_fragmented and TNode::can_be_fragmented. Replace them instead by a computed value flag, the same way as the IS_IN_DISPLAY_NONE_SUBTREE flag works. <!-- 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/18893) <!-- Reviewable:end -->
|
@bors-servo r+ Reviewed 14 of 14 files at r1. Comments from Reviewable |
|
|
|
@bors-servo p=1 |
style: Remove TNode::set_can_be_fragmented and TNode::can_be_fragmented. Replace them instead by a computed value flag, the same way as the IS_IN_DISPLAY_NONE_SUBTREE flag works. <!-- 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/18893) <!-- Reviewable:end -->
|
|
|
@bors-servo try |
style: Remove TNode::set_can_be_fragmented and TNode::can_be_fragmented. Replace them instead by a computed value flag, the same way as the IS_IN_DISPLAY_NONE_SUBTREE flag works. <!-- 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/18893) <!-- Reviewable:end -->
|
|
|
@bors-servo retry |
style: Remove TNode::set_can_be_fragmented and TNode::can_be_fragmented. Replace them instead by a computed value flag, the same way as the IS_IN_DISPLAY_NONE_SUBTREE flag works. <!-- 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/18893) <!-- Reviewable:end -->
|
|
This consistently fails. |
|
@SimonSapin I can't repro that test failure, and I'm pretty confident that if it was passing before it was just by chance. In any case, this is the right thing to do, as of right now Servo doesn't propagate the can_be_fragmented bit in any sort of right way, and this patch fixes it. Mind if I land it with that test marked as failing? |
|
It indeed sounds likely that flexbox+multicol doesn’t actually work well together today. Making as failing sounds fine. |
If it was passing before this patch, it was just by chance, and I can't repro the failure.
|
@bors-servo r=SimonSapin |
|
|
style: Remove TNode::set_can_be_fragmented and TNode::can_be_fragmented. Replace them instead by a computed value flag, the same way as the IS_IN_DISPLAY_NONE_SUBTREE flag works. <!-- 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/18893) <!-- Reviewable:end -->
|
|
emilio commentedOct 16, 2017
•
edited by SimonSapin
Replace them instead by a computed value flag, the same way as the
IS_IN_DISPLAY_NONE_SUBTREE flag works.
This change is