Closed Bug 6097 Opened 26 years ago Closed 25 years ago

{float} floated block elements fail to flow (M5)

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

VERIFIED DUPLICATE of bug 5277

People

(Reporter: justin, Assigned: buster)

Details

(Whiteboard: [TESTCASE])

Attachments

(1 file)

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
Assignee: rickg → karnaze
Status: NEW → ASSIGNED
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>
Marked with [TESTCASE].
Whiteboard: [TESTCASE]
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).
Attached file testcase to work around other bugs (deleted) —
Assignee: karnaze → troy
Status: ASSIGNED → NEW
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.
Assignee: troy → kipp
Status: NEW → ASSIGNED
Target Milestone: M11
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.
Target Milestone: M13 → M15
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Same underlying issue as 5277 *** This bug has been marked as a duplicate of 5277 ***
Status: RESOLVED → VERIFIED
Marking as verified duplicate of 5277.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: