4 ms·
"we can lay out every block in parallel" I wouldn't be so optimistic, especially with flexboxes and grids. display:grid; grid-columns: 1fr max-con
by c-smile 10y ago
"we can lay out every block in parallel"
I wouldn't be so optimistic, especially with flexboxes and grids.
display:grid;
grid-columns: 1fr max-content 1fr minmax(min-content, 1fr);
The above requires intrinsic min/max width calculations (full layouts de facto) before you can even start doing layout of cells in parallel.
The same is about our old good friend <table> by the way where each cell is BFC.
- pcwalton 10y agoIntrinsic inline-sizes have been handled just fine in Servo from day one with a parallel bottom-up traversal. This is well-known; the technique goes back to the Meyerovich paper.