Closed
Bug 6097
Opened 26 years ago
Closed 25 years ago
{float} floated block elements fail to flow (M5)
Categories
(Core :: Layout, defect, P3)
Core
Layout
Tracking
()
M17
People
(Reporter: justin, Assigned: buster)
Details
(Whiteboard: [TESTCASE])
Attachments
(1 file)
(deleted),
text/html
|
Details |
I have a
<TABLE STYLE="float: right">...</TABLE>
<TABLE STYLE="background: white"><TABLE>...</TABLE>
When the page is too narrow, the second table should drop below the first
by the block layout rules from the HTML spec. IE > 4 has managed this, but
netscape hasn't, but at least the white background ensured that the contents
of the second (more important) table were readable. Mozilla M5, however still
fails to re-place the table, but now puts the background behind the first table
Updated•26 years ago
|
Status: NEW → ASSIGNED
Comment 1•26 years ago
|
||
Created a test case.
<html>
<body>
<TABLE border STYLE="float: right">
<tr><td>foo</td></tr>
</TABLE>
<TABLE border STYLE="background: white">
<tr><td>bar</td></tr>
</TABLE>
</body>
</html>
Comment 3•26 years ago
|
||
Note. For the test case to be useful, add the following before the body:
<style type="text/css">
TABLE { font-size: 5em; }
</style>
Otherwise, the tables are so small that you cannot shrink the window far enough
to see them overlap (as they, unfortunately, do).
Comment 4•26 years ago
|
||
Updated•26 years ago
|
Assignee: karnaze → troy
Status: ASSIGNED → NEW
Comment 5•26 years ago
|
||
Troy, if this is not yours, please shed some light on what I need to do. The
attachment works around bug 11337. Please ignore another bug which crops up when
the floating table's desired width is not equal to its max element width.
Summary: floated block elements fail to flow (M5) → {float} floated block elements fail to flow (M5)
Target Milestone: M11 → M13
The table that follows the floater is not being pushed down below the
floater...Probably because the GetAvailableSize is done before the table is
reflowed and we don't compensate for the table not fitting.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Same underlying issue as 5277
*** This bug has been marked as a duplicate of 5277 ***
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 8•25 years ago
|
||
Marking as verified duplicate of 5277.
You need to log in
before you can comment on or make changes to this bug.
Description
•