Closed
Bug 196919
Opened 22 years ago
Closed 22 years ago
mLastFloaterY doesn't enforce that float can't be above earlier float
Categories
(Core :: Layout: Floats, defect, P1)
Core
Layout: Floats
Tracking
()
RESOLVED
FIXED
mozilla1.4alpha
People
(Reporter: dbaron, Assigned: dbaron)
References
Details
(Whiteboard: [patch])
Attachments
(2 files, 1 obsolete file)
(deleted),
text/html
|
Details | |
(deleted),
patch
|
roc
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
nsBlockReflowState::mLastFloaterY isn't sufficient to enforce that a float can't
be above an earlier float. I'll attach a testcase to show this. It needs to be
on the space manager.
Assignee | ||
Comment 1•22 years ago
|
||
Assignee | ||
Comment 2•22 years ago
|
||
This fixes this bug and bug 177331.
Assignee | ||
Updated•22 years ago
|
Assignee | ||
Updated•22 years ago
|
Whiteboard: [patch]
Assignee | ||
Updated•22 years ago
|
Attachment #116876 -
Flags: superreview?(roc+moz)
Attachment #116876 -
Flags: review?(roc+moz)
Assignee | ||
Comment 3•22 years ago
|
||
Note that this patch also includes the patch for bug 115153, simply because I
haven't checked it in yet.
Comment on attachment 116876 [details] [diff] [review]
patch
I dislike #if 0. Is there a good reason to leave this in?
Attachment #116876 -
Flags: superreview?(roc+moz)
Attachment #116876 -
Flags: superreview+
Attachment #116876 -
Flags: review?(roc+moz)
Attachment #116876 -
Flags: review+
Assignee | ||
Comment 5•22 years ago
|
||
I'm not really sure. nsSpaceManager was originally written to be rather
general, and I've already polluted it with a good bit of
block-specific/float-specific stuff, but I think it really needs to go more in
that direction (see bug 191448) and, furthermore, that we're unlikely to need
the code for anything other than floats. So I guess I'm inclined to just remove
it if you like that idea as well. (cc:ing kin if he wants to chime in as well.)
I can't think of anything that we're going to need "space management" for beyond
floats, at least for the forseeable future. (I can imagine at some point we
might want support for positioned elements that siblings flow around, but you
can't even do that in CSS3 ... right?)
Even if we could forsee a potential broader use, it's probably better to get
floats working well and then figure out how to extend the code later.
Assignee | ||
Comment 7•22 years ago
|
||
Attachment #116876 -
Attachment is obsolete: true
Attachment #116883 -
Flags: superreview+
Attachment #116883 -
Flags: review+
Assignee | ||
Comment 8•22 years ago
|
||
Ran the regression tests. Saw only noise. Will add attachment 116872 [details] to the
block/bugs regression tests.
Assignee | ||
Comment 9•22 years ago
|
||
Fix checked in to trunk, 2003-03-11 15:56 PST.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•