Closed Bug 728291 Opened 12 years ago Closed 12 years ago

Tables of fixed width do not clear fixed-width floated elements when the combined width is larger than the fixed-width container

Categories

(Core :: General, defect)

10 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 478834

People

(Reporter: tjfortier, Unassigned)

References

()

Details

(Keywords: css1, Whiteboard: http://jsfiddle.net/ugTxs/3/)

User Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.1) Gecko/20100101 Firefox/10.0.1
Build ID: 20120208060813

Steps to reproduce:

I created a header and a fixed width table inside of a fixed width div, such that the combined width of the header and the table was larger than that of the containing div.

Windows XP
Firefox 10.0.1


Actual results:

The table was pushed right as if to wrap around the float, however the table was no longer entirely within the container. This occurred regardless of if the header was assigned a width or not, so long as its calculated width and that of the table exceeded the width of the container.

Header without specified width: http://jsfiddle.net/ugTxs/4/
Header with specified width: http://jsfiddle.net/ugTxs/3/


Expected results:

The table should have been forced to clear the float and move down to the next line in order to remain within the bounds of the parent container.
Keywords: css1
Whiteboard: http://jsfiddle.net/ugTxs/3/
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.