Closed
Bug 1011311
Opened 11 years ago
Closed 11 years ago
Simplify availableFreeSpace check in ResolveFlexibleLengths() to assume its sign can't disagree with the type of flexing
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla32
People
(Reporter: dholbert, Assigned: dholbert)
References
Details
Attachments
(1 file)
|
2.09 KB,
patch
|
MatsPalmgren_bugz
:
review+
|
Details | Diff | Splinter Review |
Quoting & expanding on bug 1005660 comment 4:
I'm 95% sure that bug 1005660's fix will mean that we don't need the "if the sign of free space matches the type of flexing that we're doing" check[1] anymore. If the free space is nonzero, I think we can now assume that it *must* match our type of flexing. It can't be negative if we're growing, for example (or else we would have chosen to shrink instead of grow, or frozen a flex item that's trivially violating its max-width, up-front).
Filing this bug to cover this change.
[1] http://mxr.mozilla.org/mozilla-central/source/layout/generic/nsFlexContainerFrame.cpp?rev=b37e7eabd9ef&mark=1705-1708#1705
| Assignee | ||
Comment 1•11 years ago
|
||
Posted to www-style to propose that this change in the spec:
http://lists.w3.org/Archives/Public/www-style/2014May/0169.html
| Assignee | ||
Comment 2•11 years ago
|
||
Attachment #8423542 -
Flags: review?(matspal)
| Assignee | ||
Comment 3•11 years ago
|
||
Try run with patches for this bug & bug 1005660:
https://tbpl.mozilla.org/?tree=Try&rev=b28d1276946c
Comment 4•11 years ago
|
||
Comment on attachment 8423542 [details] [diff] [review]
fix v1
r=mats
Attachment #8423542 -
Flags: review?(matspal) → review+
| Assignee | ||
Comment 5•11 years ago
|
||
Flags: in-testsuite-
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
You need to log in
before you can comment on or make changes to this bug.
Description
•