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 upDisable incremental reflow for multicol and their descendants. #8763
Conversation
highfive
commented
Dec 1, 2015
|
I'm not sure I understand why reconstructing the flows helps here; flow construction isn't sensitive to the width and height of each column, so you'll end up with exactly the same flow tree that you started with if, for example, the viewport is resized. What am I missing? On a side-note, this PR doesn't build as-is. |
|
Why not just set |
|
|
Oops, forgot to commit my latest changes. Done now. @eefriedman the plan is to implement CSS fragmentation by having one flow for each fragment, keeping a tree structure. So one flow from flow construction can be broken up into multiple flows during layout. Without this change (or something like it), fragments would sometimes have to be pieced back together, or content moved from on fragment to another. Always going from unfragmented to fragmented is easier. @pcwalton I didn’t know about |
|
Hmm... okay, that makes some sense. That said, we probably don't want this to kick in if, for example, the color of a link changes. |
|
Right, we can skip layout entirely for style changes that only affect painting. That’s not specific to fragmentation. |
|
Is restyle damage propagated down the tree? By the time |
|
Pushed another commit to sequentialize |
|
|
15dacf8
to
15167f6
|
|
|
Closing in favor of #9170. |
Add CSS Multicolumn support with block fragmentation  Includes/supersedes #8763. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9170) <!-- Reviewable:end -->
Add CSS Multicolumn support with block fragmentation  Includes/supersedes #8763. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9170) <!-- Reviewable:end -->
Add CSS Multicolumn support with block fragmentation  Includes/supersedes #8763. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9170) <!-- Reviewable:end -->
Add CSS Multicolumn support with block fragmentation  Includes/supersedes #8763. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9170) <!-- Reviewable:end -->
Add CSS Multicolumn support with block fragmentation  Includes/supersedes #8763. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9170) <!-- Reviewable:end -->
Add CSS Multicolumn support with block fragmentation  Includes/supersedes #8763. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9170) <!-- Reviewable:end -->
SimonSapin commentedDec 1, 2015
Fragmentation with dynamic updates is hard.
r? @pcwalton