Closed
Bug 969147
Opened 11 years ago
Closed 11 years ago
Compute flex line cross-sizes earlier on, so we can split paginated flex containers sooner
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla30
People
(Reporter: dholbert, Assigned: dholbert)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
6.75 KB,
patch
|
MatsPalmgren_bugz
:
review+
|
Details | Diff | Splinter Review |
Filing this bug on a bit of flexbox-layout refactoring, to help with bug 939897.
Right now, we compute the cross-sizes of all the flex items (potentially reflowing every single one), and then we compute the sizes of their flex lines, and then we're in a position to be able to (eventually) see which flex lines fit & which flex lines don't.
Instead, we should compute the sizes of the flex lines as-we-go, so we can split sooner and avoid needless reflows of flex items that aren't going to fit anyway.
Assignee | ||
Comment 1•11 years ago
|
||
This does two things:
(a) Computes the size of each flex line as early as possible (right after we finish sizing its flex items).
(b) Sums the sizes of our flex lines more proactively. (so that in bug 939897, we can compare this running total against the available height or width, and trigger a break when it surpasses it)
Attachment #8371926 -
Flags: review?(matspal)
Updated•11 years ago
|
Attachment #8371926 -
Flags: review?(matspal) → review+
Assignee | ||
Comment 2•11 years ago
|
||
Flags: in-testsuite-
Comment 3•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in
before you can comment on or make changes to this bug.
Description
•